ON "Door Bell With Lamp Feature"

Download as docx, pdf, or txt
Download as docx, pdf, or txt
You are on page 1of 6

ON DOOR BELL WITH LAMP FEATURE

This project Door Bell with Lamp Feature works such that when some presses the switch during the night , not only the bell rings but the bulb connected to it also glows. During day time when anyone presses the calling switch the bell rings and the light does not glow. The light will glow during night only .All the above systems are controlled by the 8-bit Intel Microprocessor 8085A .It monitors the bell switch until it is pressed, and if it is pressed it will check whether it is day or night and if it is day then the Bell is only switched on and if it is night the Light is also switched on with the bell

until the reset switch is pressed. The monitoring for Microprocessoris done by PPI(Programmable Peripheral Interface) IC 8255.

Mnemonics:0001 4100 0002 4100 3E 8D 0003 4102 D3 0F 0004 4104 0005 4104 3E 00 TOP: MVI A,00H ;switch off light MVI A,8DH OUT REG

0006 4106 D3 0D 0007 4108 0008 4108 DB 0E 0009 410A E6 01 0010 410C CA 08 41 0011 410F DB 0E 0012 4111 E6 80 0013 4113 C2 04 41 0014 4116 3E 10 0015 4118 D3 0D 0016 411A 0017 411A DB 0E 0018 411C E6 40 0019 411E CA 1A 41 0020 4121 C3 04 41 UP2: UP1:

OUT PORTB

IN PORTC ANI 01H JZ UP1 IN PORTC ANI 80H JNZ TOP MVI A,10H OUT PORTB

;read calling switch status

;read day or night

;jmp if day ;switch on light

IN PORTC ANI 40H JZ UP2 JMP TOP

Circuit Diagram:-

Flow Chart :-

Block Diagram:-

You might also like