Maker Pro
Arduino

Water Level Sensor with ATtiny85 and Buzzer Indicator

June 07, 2022 by CIRCUITS DIY
Share
banner

In this project we are going to make "Water Level Indicator Sensor"

A water level indicator, as the name implies, is a system that signals specific levels of water or other liquid, and it is used in a variety of applications. It may be used to measure the water level in the tank of a boiler in industries, and it can also be used to check the amount of water that crops require in agriculture. In conclusion, we may adopt this fundamental circuit in several situations. The level of water is detected via water level sensors. in those circuits. Industry, chemical plants, and other liquid storage systems all use water level sensors. So, in this tutorial, we are going to make Water Level Sensor with ATtiny85 and Buzzer Indicator.

JLCPCB is the foremost PCB prototype & manufacturing company in china, providing us with the best service we have ever experienced regarding (Quality, Price Service & Time).PCB Prototype for 5$

20211203_111326-2-1280x617.jpg
#define sensorPin A3
#define buzzer 4
// Value for storing water level
int val = 0;

void setup() {
pinMode(buzzer, OUTPUT);
digitalWrite(buzzer,LOW);
}

void loop() {

  int level = analogRead(sensorPin);
  if(level>450)
  {
  digitalWrite(buzzer,HIGH); 
  }
  else
  {
  digitalWrite(buzzer,LOW);   
  }
  delay(1000);
}

Circuit Diagram

Water-Level-Sensor-Indicator-Circuit.jpg

Application and Uses

  • Devices for home automation.
  • For the regulation of oil tanks.
  • Control systems for irrigation.
  • Controlling the level of a gasoline tank, etc

Related Content

Categories

Comments


You May Also Like