Post on 24-Dec-2015
description
AUTOMATIC ROOM LIGHT CONTROL WITH VISITOR COUNTING FOR POWER
SAVING APPLICATIONS IN SEMINAR HALLS
11W91A029511W91A028311W91A02C011W91A0261
The main aim of the project is to control the lighting in a room depending upon lighting that is present in the room Use of embedded technology makes this closed
loop feedback control system efficient and reliable
Liquid crystal display (LCD) makes the system user-friendly
AT89S52 micro controller is the heart of the circuit as it controls all the functions
INTRODUCTION
The system comprises of two IR Transmitter-
Receiver pairs, one of which is located in front of
the door outside the room & the other inside the
room LDR is placed outside the room and is used to
identify whether it is day or night time Initially the light is switched off in the room Whenever a person tries to enter into the room,
the receiver of first IR pair identifies the person Then the microcontroller opens the door by
rotating the stepper motor
After the person had entered into the room
completely, the door will be closed automatically The light is switched off even if anyone is present
inside the room during the day time Similarly, the light is switched off if no one is
there inside the room or if it is night times Thus, depending on the intensity of light the
required action is performed by the microcontroller.
LCD displays the number of persons present inside the room
Power supply
AT89S52 MICROCONTROLLER
8052 is an 8-bit processor, meaning that the CPU can work on only 8 bits of data at a time. Data larger than 8 bits has to be broken into 8-bit pieces to be processed by the CPU.
FEATURES OF AT89S52
ROM - 8K bytes RAM - 256 bytes Timer - 3 I/O pins - 32 Serial port - 1 Interrupt sources - 8
PIN DIAGRAM
1234567891011121314151617181920
4039383736353433323130292827262524232221
P1.0P1.1P1.2P1.3P1.4P1.5P1.6P1.7RST
(RXD)P3.0(TXD)P3.1
(T0)P3.4(T1)P3.5
XTAL2XTAL1
GND
(INT0)P3.2(INT1)P3.3
(RD)P3.7(WR)P3.6
VccP0.0(AD0)P0.1(AD1)P0.2(AD2)P0.3(AD3)P0.4(AD4)P0.5(AD5)P0.6(AD6)P0.7(AD7)EA/VPPALE/PROGPSENP2.7(A15)P2.6(A14)P2.5(A13)P2.4(A12)P2.3(A11)P2.2(A10)P2.1(A9)P2.0(A8)
AT89S52
RELAY
A Relay is an electrically controllable switch widely used in industrial controls, automobiles, etc…
inductor
DPDT RELAY• In this project we will be using
4 DPDT 5 pin relays to switch on the load applications
• DPDT stands for double pole double throw relay
• Relay is an electromagnetic device used to separate two circuits electrically and connect them magnetically
• They are often used to interface an electronic circuit, which works at a low voltage
N/C
COM
N/O
AC230V
BULB
IND
UC
TO
R
IRONARM
ON
OFF
Diagrammatic explanation:
Light Sensor(LDR)• A PHOTORESISTOR
OR LIGHT DEPENDENT RESISTOR(LDR) IS A RESISTOR WHOSE RESISTANCE DECREASES WITH INCREASING INCIDENT LIGHT INTENSITY.
• IT CAN ALSO BE REFERRED TO AS A PHOTOCONDUCTOR.
IR Sensor
INFRARED SENSORS ALSO HAVE IMPORTANT SCIENTIFIC, MILITARY, SECURITY
Liquid crystal display (LCD):
A liquid crystal display (LCD) is a thin, flat panel used for electronically displaying information such as text, images, and moving pictures including monitors for computers, televisions, instrument panels.
1. Ground
2. Vcc +5V
3. Contrast control
4. Register select (RS)
5. Read/Write (RD/WR)
6. Enable (EN)
7. 7 – 14 pins all are data pins D0 – D7
8. Vcc +5V }
9. Ground }
Pin Description of LCD:
For backlight purpose
ADVANTAGES:
A major advantage of a lighting control system over conventional individual switching
Switching is the ability to control any light, group of lights, or all lights in a building from a single user interface device.
Any light or device can be controlled from any location.
Reduces emission carbon footprints.A lighting scene can create dramatic changes in
atmosphere, for a residence or the stage, by a simple button press
APPLICATIONS:
Used in In landscape design
landscape lighting
fountain pumps
water spa heating
swimming pool covers
motorized gates
outdoor fireplace ignition can be remotely or automatically controlled
Hence by this project we can design a standalone automatic room light controller with auto door opening and closing to control the lighting in a room depending upon lighting that is present in the room.
CONCLUTION
THANK YOU