AUTOMATIC WATER TANK in Just 5 Steps (HOME PROJECT)
by Jokesh R in Circuits > Electronics
365 Views, 1 Favorites, 0 Comments
AUTOMATIC WATER TANK in Just 5 Steps (HOME PROJECT)
The automatic water level control devices are capable of controlling the functions of the motor and help to reduce the consumption of electricity. Thereby wastage of water and power can be reduced considerably. It also protects the motor from running dry and thus ensures durability. In the below Instructable I have done a simple tank overflow controller using Arduino as the main controller. It is a very simple project that can be made at home by anyone who has these components mentioned below.
Apparatus Required
1.Arduino or Arduino nano
2.Ultrasonic sensor
3.Relay module
4.AC to DC converter
5.Buzzer
6.Jummper wires
Measurements
1.Tank height - To import the height in code
2.Tank top to the motor (distance) - To make sure the length of wiring
3.Voltage - To make sure the main voltage does not exceed 240V
Assembling the Circuit
1.Connect the Trig(trigger) pin to PIN 13 and Eco pin to PIN 12 of the Arduino board, Gnd, and Vcc to the 5V and Gnd of the Arduino board.
2.Connect the positive lead of the buzzer or LED to PIN 11, negative lead to the ground pin of the Arduino board 3.Connect the IN pin of the relay module to PIN 10 and the remaining Gnd to Gnd and Vcc to Vcc of the Arduino board
4.Take a direct connection from 230V to the ac to dc converter, connect the dc voltage as input to the Arduino board.
5.Connect the motor negative lead directly to the negative of 230V.
6.Connect the positive lead of the 230V to the Com port of the relay module, then connect the positive lead of the motor to the NC port of the relay module.
**NOTE: Follow the above steps for pin connection, the pin connection may vary compared to the above image and also pins can be configured as per your wish, but don't forget to change in code.**
Coding in Arduino IDE
1. The below zip file contains the Arduino code
2.As per your tank height and the water level adjust the values in the code "if (distance > 10) " (where 10 is considered as the distance between the ultrasonic sensor and the water level).
3.You can also adjust the loop checking time "delay(9000)" (which avoids continuous checking and ON-OFF of the motor).
Downloads
Powering
1.Make sure the main voltage does not exceed 240V.
2.Power ON the main switch the UV sensor checks the water level initially based on the level the motor will receive ON or OFF instruction from the relay module.
**NOTE: Here I have used a old mobile charger as a substitute for AC to DC converter to power the Arduino nano board **