Skip to main content

Water level Controller Using arduino

 


Some time when we forget to switch off the submersible pump then the upper tank water will be overflow until we get noticed. or some time in a middle of a bath the tank water get empty . and every day we need to switch  and carefully switch off the motor after the tank get filled  even we dont know how much water in the tank.

so I design this Automatic water level controller

I use Arduino nano in this project and wright a program and upload in it.

Use a ultra sonic sensor for sensing water level . i fix the sensor in the lid of water tank and connect the control box with a 4 core cable.

the control board has arduino nano and color LED 's for the water level

the red led for indicating water level below 10%

amber LED indicate water above 25%

yellow is above 50%

green is above 75 %

when the water level goes below 10% the the ultra sonic sensor sense that level and arduino code check the main voltage. if it normal   decide to switch on the pump through a relay for a second this is parallel to the start button of manual pump starter switch.

when the motor is running a long beep sound  here once and a blue LED blinking.

after the water level reach above 90% the arduino  switch a relay for a second witch switch of the manual stop button. and gives a short beep

the current water level always show in the device 

and again the water reach a level lower than 10 % the motor start again automatically.

the pump can run manually also OFF  at any time .even the this water controller is on .

NB:before use this device for the first time the tank level should be calibrated once and put the value in the Program and I updated the code.

The device work very good but the  Hot water vapor formed inside the tank make the ultrasonic sensor failure. So I remove  the normal Sensor and use a water proof utrasonic sensor and the problem solved.

future plan: i want to update this project with OLD  Display for water level indication.

and also use Solid state pump control circuit instead of relays .

also use wireless to connect sensor and the device.

Comments

Popular posts from this blog

Ring tester

 In my Electronic repair job I found normal multimeter is somewhat limited  in certain area. so special tools are needed for saving  a lot of time  Ring tester is one of this kind .helping me to check small hi Q inductors SMPS transformer, TV Deflection coils ,LOT ,line driver transformer and almost any inductor working on hi frequency.Normal multimeter can only identify a open coil ,but not a shorted windings.  I found some commercial available ring tester. but it is not available in local shops of my area.also it seems priced high. So  I decided to make a ring tester of my own. Below is the one I successfully made from the junk box components. I found it very useful. and now it is one of my best test tool collection. Two Ic's, few LED's ,one plastic container and few resistors  made this wonderful tool. If we test it with primary of SMPS transformer or LOT windings of a good one shows all its LEDs will light. depending on the inductive reactantce  the number of LED 's

Transistor numbers and codes

Most transistor markings follow one of these codes: JEDEC, JIS or Pro-Electron. For ICs, look for known numbers (e.g. 741, 4001, 7400) between the prefix and the suffix. Don't confuse it with the date code. ICs typically have two numbers: The part number and the date code. 1. Joint Electron Device Engineering Council (JEDEC) These part numbers take the form: digit, letter, sequential number, [suffix] The letter is always 'N', and the first digit is 1 for diodes, 2 for transistors, 3 for four-leaded devices, and so forth. But 4N and 5N are reserved for opto-couplers. The sequential numbers run from 100 to 9999 and indicate the approximate time the device was first made. If present, a suffix could indicate various things. For example, a 2N2222A is an enhanced version of a 2N2222. It has higher gain, frequency, and voltage ratings. Always check the data sheet. Examples: 1N914 (diode), 2N2222, 2N2222A, 2N904 (transistors). NOTE: When a metal-can version of a JEDEC tra

Short Finder

  Today i made this Test instrument using Arduino ..very very usefull in find out shorted electronic components in mainboards.. espcially when lot of ICs sharing same power. if one componet get short the whole track shows 0 resistance when testing with normal multimeter.. its difficult to find which one is the dead rat.  Normally we need to take out each suspected component from board and need to test until we got the defective one.. its tedious job and damage the board.    Another way inject current to the circuit test the heat.. its not safe.   Here is the need of this device. When we trace the power line with this probe.. it gives high pitch audio tone when the probe near the particular shorted component.. It can test micro ohm resistance beyond normal meter range Automatically shut to save battery .if we forget to switch of the tester Auto calibration range. Portable The tester voltage and current safe to testing any components . On board testable.. Happy troubleshooting