Saturday, 3 August 2013

on 1 comment

Water level Controller

Description:

The water level Controller is a reliable circuit, it takes over the task of indicating and Controlling the water level in the overhead water tanks. The level of the water is displayed in the LED Bar graph. The Copper probes are used to sense the water level. The probes are inserted into the water tank which is to be monitored. This water-level Controller-cum-alarm circuit is configured around the well-known 8 bit Microprocessor 8085. It continuously monitors the overhead water level and display it and it also switch Off the Motor when the tank fills and it will automatically switch On the Motor when the water level is low. The Microprocessor will also indicate the water level over the LED display. All the input and output functions are done through the Programmable Peripheral
Interface IC 8255.

Circuit Diagram:
display

Flowchart:
display1



Block Diagram:
display2


Program:

0001   0000                 PORTA    EQU    0CH
0002   0000                 PORTB    EQU    0DH
0003   0000                 REG    EQU    0FH
0004   0000             .ORG 4100H
0005   4100 3E 94           MVI A,94H
0006   4102 D3 0F           OUT REG
0007   4104 3E 00           MVI A,00H        ;Switch Off Motor
0008   4106 D3 0D           OUT PORTB
0009   4108 DB 0C       UP1:    IN PORTA        ;Read Low Sensors
0010   410A FE FC           CPI 0FCH        ;check Sensors
0011   410C CA 08 41        JZ UP1
0012   410F 4F              MOV C,A
0013   4110 06 02           MVI B,02H
0014   4112 11 0F 00    LOOP1:    LXI D,0FH        ;Delay Program
0015   4115 1B          LOOP:    DCX D
0016   4116 7B              MOV A,E
0017   4117 B2              ORA D
0018   4118 C2 15 41        JNZ LOOP
0019   411B 05              DCR B
0020   411C C2 12 41        JNZ LOOP1
0021   411F DB 0C           IN PORTA        ;Read High Sensors
0022   4121 FE FE           CPI 0FEH        ;check Sensors
0023   4123 CA 08 41        JZ UP1
0024   4126 3E FF           MVI A,0FFH        ;Switch ON Motor
0025   4128 D3 0D           OUT PORTB
0026   412A DB 0C       UP2:    IN PORTA        ;Read Sensors
0027   412C FE FC           CPI 0FCH        ;check Sensors
0028   412E C2 2A 41        JNZ UP2
0029   4131 4F              MOV C,A
0030   4132 06 02           MVI B,02H        ;Delay Program
0031   4134 11 0F 00    LOOP2:    LXI D,0FH
0032   4137 1B          LOOP3:    DCX D
0033   4138 7B              MOV A,E
0034   4139 B2              ORA D
0035   413A C2 37 41        JNZ LOOP3
0036   413D 05              DCR B
0037   413E C2 34 41        JNZ LOOP2
0038   4141 3E 00           MVI A,00H        ;Switch Off Motor
0039   4143 D3 0D           OUT PORTB
0040   4145 4F              MOV C,A            ;Delay Program
0041   4146 06 02           MVI B,02H
0042   4148 11 0F 00    LOOP5:    LXI D,0FH
0043   414B 1B          LOOP4:    DCX D
0044   414C 7B              MOV A,E
0045   414D B2              ORA D
0046   414E C2 4B 41        JNZ LOOP4
0047   4151 05              DCR B
0048   4152 C2 48 41        JNZ LOOP5
0049   4155 C3 08 41        JMP UP1
0050   4158             .END
Number of errors = 0
Please check the Power supply pins & Port number before you connect the Hardware to the Trainer Kit

1 comment:

  1. Manufactures of Automatic water level controller and Indicator in Chennai and Tamilnadu, wireless water tank level indicator and wireless water level controller in Chennai, OMR, Anna Nagar, Velachery

    ReplyDelete

AKB. Powered by Blogger.