Professional Documents
Culture Documents
Switching ON of water pump is made when level goes under a preset limit.
The pump is not started when water level in the tank on ground is low.
The level sensor probes for tank are interfaced to Port2 through transistors.
The probes for sensing HALF and FULL levels are placed with equal spacing one by one above
bottom positive probe.
When water increases to FULL level, current flows into Q2 transistor and makes it ON. The low
collector voltage will make P2.0 as low. This means the tank is full. When water level goes below
FULL level probe, the Q2 becomes open and collector voltage is made high. This makes P2.0
high means tank is not full.
The same is applicable for HALF sensor probe.
The pump is made ON by making P0.3 low and triggering DPDT relay.
LED D5 is used to indicate motor is ON.
LED’s D1, D2, D3 are used to indicate level of tank.
Program: