Hello , Welcome back , In this tutorial we are going to show you how to make a water level indicator using arduino uno and some water sensors . There are so many tutorial on water level sensors on internet , but this method is some thing different than other . First of all let us discuss about component we need to make water level indicator and controller .
component required to make water level indicator .
- water sensors that can give output 3-5 volt when water is present -8
- Light Emitting Diodes (LEDs) -4
- arduino uno or similar
- jumper wires
- Liquid Crystal Display (LCD)
- relay with power source
- tip-122 NPN transistor
- power source
First of all let us discuss about water sensor . Since there are so many water sensors available in the market we can use any one of them that gives output 1 when that sensor is drown into water ( Since 100% pure water is good insulator , but it is hard to find water which is 100% pure so , basically water conducts electricity , , if water conducts electricity you can give 5 volt to the bottom of the water so that if water reach upper levels respective conductive pins goes to high and hence water detected ).
or alternatively you can use water sensors as shown in figure below and it will produce 4.3 volt if complete drowned to water which means 1 in digital electronics .
If you are not familier about other components please check arduino tutorials for beginners and you will learn something new before exploring other tutorial .
Okay now connect everythings as shown in circuit diagram and upload the code as shown in below and after that we will describe the code brifly .You can download the complete code , simulation file , from this link water level indication electronify
The code is very simple to understand . Since we are using 8 water sensors on PORTD so all of the pins on PORTD was initialized as output PORT , similarly LCD and other peripherals are initialized . After that input is taken from the water sensors , and if it produce output1 corresponding level is displayed on the LCD . Also motor is turned on for level 0-3 , and warning message is displayed on water level 8 .
That’s all concept behind water level controller and indicator , if you have any question about this project or have any suggestion please comment below and Please share this project if you find this helpful.