Skip to content

Water level controller using LPC2138 microcontroller with level sensors and also with feature to set maximum water level in percentage.

License

Notifications You must be signed in to change notification settings

k-m-arun-kumar-5/water-level-controller

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

24 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Description :

overhead water level controller using level sensors.

Design

Monitor water level in a overhead tank by using water level sensors at positioned at represent 0%, 20%, 40%, 60%, 80% & 100% water filled level in overhead tank. Mode of operation is selected by a SPST(single pole single throw switch)(MODE_SW). FUNC_SW is a push button switch. Water level in overhead controller is processed by LPC2138, in our case, RESET_SW is a push button switch, to reset the Water level controller (in our case, LPC2138). If mode of operation is automatic, then if total water level in overhead tank is below a minimum preset water filled level (in %), then water pump is automatically turned ON. Either if mode of operation is Manual or Automatic, if total water level in overhead water tank is above 99%, then water pump is automatically turned OFF. If mode of operation is Manual, then water pump can be manually turned ON or OFF, by using a FUNC_SW. If mode of operation is Manual and if water pump is ON, then by pressing FUNC_SW, water pump is turned OFF, and if water pump is turned OFF and total water level in overhead tank is below 80%, then by pressing FUNC_SW, water pump is turned ON. If mode of operation is automatic, then if preset minimum water filled level in overhead tank is <= 20% and Water pump is turned OFF, then for each FUNC_SW press, then preset minimum of total water filled level in overhead tank (in %) is increased by 1% of total water level filled in overhead tank, till the preset minimum of total water filled level in overhead tank < 80%. If preset minimum of total water filled level in overhead tank (in %) > 80% and then for press of FUNC_SW, then preset minimum of total water filled level in overhead tank is set to 20% and for each FUNC_SW press, then preset minimum water filled level in the overhead water tank is increased by 1% of water level filled in overhead tank. When the water pump is turned ON, then water filled level in overhead tank (in %) must reach a next water level filled sensor by a within preset timeout, to detect and prevent water pump from dry run. Eg. If water pump is turned ON and if total of water filled level >= 20% and < 40%, then total water filled level in overhead tank should reach 40%, before a preset timeout for water level filled between next sensor is reached. If water pump is turned ON and when total of water filled level in overhead tank (in %) == 40%, then timer is automatically reset and timer runs for preset timeout for total of water filled level to reach next sensor. If timer timeouts for preset timeout for water filled level to reach next sensor with one method to detect and prevent water pump from dry run, then water pump is automatically turned OFF. Whenever setting in preset water level and preset water level setting is automatically locked due to preset timeout or whenever change in operation mode, whenever water pump is triggered on or off state or due to press of RESET_SW.

CAUTION:

Schematics and simulation is done by Proteus CAD. NOT EXPERIMENTED IN REAL TIME ENVIRONMENT.

Purpose :

In all my respective repositories, I just shared my works that I worked as the learning path and practiced, with designed, developed, implemented, simulated and tested, including some projects, assignments, documentations and all other related files and some programming that might not being implement, not being completed, lacks some features or have some bugs. Purpose of all my repositories, if used, can be used for EDUCATIONAL PURPOSE ONLY. It can be used as the open source and freeware. Kindly read the LICENSE.txt for license, terms and conditions about the use of source codes, binaries, documentation and all other files, located in all my repositories.

About

Water level controller using LPC2138 microcontroller with level sensors and also with feature to set maximum water level in percentage.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published