Simple Water Level Detector Using a LM555 in Astable Mode:
by OpenL4BNorte _ Hackerspace in Outside > Water
17110 Views, 65 Favorites, 0 Comments
Simple Water Level Detector Using a LM555 in Astable Mode:
![26.jpg](/proxy/?url=https://content.instructables.com/F21/9ZO8/HLY7FDBB/F219ZO8HLY7FDBB.jpg&filename=26.jpg)
Materials:
- One LM555
- Two 330 Ohms resistors
- One red LED
- One green LED
- One 10 nF capacitor
- One 100 uF capacitor
- One 1 KOhms resistor
- One 100 Ohms resistor
- Wires for connections
- Protoboard
- 9 volts battery
- 9 volts battery connector
- Cutting pliers
- Transparent glass
- Water
Diagram Circuit
![01 - circuit.jpg](/proxy/?url=https://content.instructables.com/FB4/RCO1/HLY7FDC4/FB4RCO1HLY7FDC4.jpg&filename=01 - circuit.jpg)
1. Connect in the protoboard the following circuit:
Connect LM555
![02.jpg](/proxy/?url=https://content.instructables.com/FOZ/QLDX/HLY7FDCF/FOZQLDXHLY7FDCF.jpg&filename=02.jpg)
2. Connect LM555 terminal 1 to GND.
Connect LM555 Terminals
![03.jpg](/proxy/?url=https://content.instructables.com/FT2/73QS/HLY7FDCR/FT273QSHLY7FDCR.jpg&filename=03.jpg)
![04.jpg](/proxy/?url=https://content.instructables.com/FGY/H87F/HLY7FDCS/FGYH87FHLY7FDCS.jpg&filename=04.jpg)
3. Connect LM555 terminals 4 and 8 to the 9 volts battery positive terminal.
Connect LM555 Terminals
![05.jpg](/proxy/?url=https://content.instructables.com/FW6/TOWQ/HLY7FDD4/FW6TOWQHLY7FDD4.jpg&filename=05.jpg)
4. Connect LM555 terminals 2 and 6.
Connect
![06.jpg](/proxy/?url=https://content.instructables.com/F9N/O5ZH/HLY7FDDF/F9NO5ZHHLY7FDDF.jpg&filename=06.jpg)
5. Connect one terminal of R1 to LM555 terminal 7.
6. The other terminal of R1 should be left free for one of the open terminals connection.
6. The other terminal of R1 should be left free for one of the open terminals connection.
Connect
![07.jpg](/proxy/?url=https://content.instructables.com/FQI/QDUR/HLY7FDDO/FQIQDURHLY7FDDO.jpg&filename=07.jpg)
7. Connect R2 between LM555 terminals 6 and 7.
Connect
![08.jpg](/proxy/?url=https://content.instructables.com/FGA/4RKI/HLY7FDDX/FGA4RKIHLY7FDDX.jpg&filename=08.jpg)
8. Connect the other terminal of R2 to the possitive terminal of C1.
Connect
![09.jpg](/proxy/?url=https://content.instructables.com/FTL/DNZ0/HLY7FDE7/FTLDNZ0HLY7FDE7.jpg&filename=09.jpg)
9. Connect the negative terminal of C1 to GND.
Connect LM555 Terminal
![10.jpg](/proxy/?url=https://content.instructables.com/F28/QMZ0/HLY7FDF6/F28QMZ0HLY7FDF6.jpg&filename=10.jpg)
10. Connect LM555 terminal 5 to a 10 nF capacitor.
Free Terminal
![11.jpg](/proxy/?url=https://content.instructables.com/F7V/0X0E/HLY7FDFG/F7V0X0EHLY7FDFG.jpg&filename=11.jpg)
11. Then connect the free terminal of the 10 nF to GND.
Connect LM555
![12.jpg](/proxy/?url=https://content.instructables.com/FMZ/GOC4/HLY7FDGN/FMZGOC4HLY7FDGN.jpg&filename=12.jpg)
12. Connect LM555 terminal 3 to R4.
Connect
![13.JPG](/proxy/?url=https://content.instructables.com/FAR/VE9V/HLY7FDH5/FARVE9VHLY7FDH5.jpg&filename=13.JPG)
13. Connect the negative terminal of D2 to R4.
Connect
![14.JPG](/proxy/?url=https://content.instructables.com/F79/18Q2/HLY7FDIG/F7918Q2HLY7FDIG.jpg&filename=14.JPG)
14. Connect the positive terminal of D2 to the 9 volts battery positive terminal.
Connect
![15.JPG](/proxy/?url=https://content.instructables.com/F88/RCFH/HLY7FDIW/F88RCFHHLY7FDIW.jpg&filename=15.JPG)
15. Connect R3 to GND.
Connect the Free Terminal
![16.JPG](/proxy/?url=https://content.instructables.com/FBQ/8392/HLY7FDJE/FBQ8392HLY7FDJE.jpg&filename=16.JPG)
16. Connect the free terminal of R3 to the negative terminal of D1.
Connect D1 Positive Terminal
![17.JPG](/proxy/?url=https://content.instructables.com/F0X/9WID/HLY7FDKN/F0X9WIDHLY7FDKN.jpg&filename=17.JPG)
17. Connect D1 positive terminal to the 9 volts battery positive terminal.
Connect
![18.JPG](/proxy/?url=https://content.instructables.com/F8N/IIYC/HLY7FDKU/F8NIIYCHLY7FDKU.jpg&filename=18.JPG)
18. Connect the free R1 terminal to one of the open terminals.
Place
![19.JPG](/proxy/?url=https://content.instructables.com/FQN/TYSL/HLY7FDLB/FQNTYSLHLY7FDLB.jpg&filename=19.JPG)
19. Place the other end of the terminal with tape at a specified level of the glass.
Place the Other
![20.JPG](/proxy/?url=https://content.instructables.com/FAE/A5IB/HLY7FE2O/FAEA5IBHLY7FE2O.jpg&filename=20.JPG)
20. Place the other open terminal with tape at the bottom of the glass.
Connect the Other End
![21.JPG](/proxy/?url=https://content.instructables.com/FTK/JBCP/HLY7FE51/FTKJBCPHLY7FE51.jpg&filename=21.JPG)
21. Connect the other end of the open terminal to the positive terminal of the 9 volts battery.
Turn the Circuit On
![22.JPG](/proxy/?url=https://content.instructables.com/F5O/VLJW/HLY7FE6C/F5OVLJWHLY7FE6C.jpg&filename=22.JPG)
![23.JPG](/proxy/?url=https://content.instructables.com/FSE/VB3N/HLY7FE6X/FSEVB3NHLY7FE6X.jpg&filename=23.JPG)
22. Turn the circuit on by connecting the 9 volts battery.
The Green LED
![24.JPG](/proxy/?url=https://content.instructables.com/FU5/OSS6/HLY7FE7H/FU5OSS6HLY7FE7H.jpg&filename=24.JPG)
23. The green LED will turn on indicating the circuit/device is on.
The Red LED Will Start to Flash
![25.JPG](/proxy/?url=https://content.instructables.com/FVS/JY0F/HLY7FE84/FVSJY0FHLY7FE84.jpg&filename=25.JPG)
![26.JPG](/proxy/?url=https://content.instructables.com/F5Q/MWAV/HLY7FE8A/F5QMWAVHLY7FE8A.jpg&filename=26.JPG)
24. Pour water into the glass and, once the water level reaches the higher open terminal, the red LED will start to flash.
When the open terminals aren’t closed the red LED D2 will be off. It is intended for the open terminals to be closed with a determined water level. Once the water lever reaches the desired quantity, the water will close the open terminals (or this part of the circuit) and, as the LM555 is configured in Astable mode, the LM555 output (terminal 3) will send a continuous squared wave form into D2 which will make the red LED to flash at a determined frequency. The frecuency of the squared wave is determined by the values of R1, R2, C1 and the impedance of the water.
When the open terminals aren’t closed the red LED D2 will be off. It is intended for the open terminals to be closed with a determined water level. Once the water lever reaches the desired quantity, the water will close the open terminals (or this part of the circuit) and, as the LM555 is configured in Astable mode, the LM555 output (terminal 3) will send a continuous squared wave form into D2 which will make the red LED to flash at a determined frequency. The frecuency of the squared wave is determined by the values of R1, R2, C1 and the impedance of the water.