Professional Documents
Culture Documents
11W91A0295
11W91A0283
11W91A02C0
11W91A0261
INTRODUCTION
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
The system comprises of two IR TransmitterReceiver 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
Power supply
AT89S52 MICROCONTROLLER
FEATURES OF
AT89S52
ROM
RAM
Timer
I/O pins
Serial port
Interrupt sources -
8K bytes
256 bytes
3
32
1
8
PIN DIAGRAM
P1.0
P1.1
P1.2
P1.3
P1.4
P1.5
P1.6
P1.7
RST
(RXD)P3.0
(TXD)P3.1
(INT0)P3.2
(INT1)P3.3
(T0)P3.4
(T1)P3.5
(WR)P3.6
(RD)P3.7
XTAL2
XTAL1
GND
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
AT89S52
40
39
38
37
36
35
34
33
32
31
30
29
28
27
26
25
24
23
22
21
Vcc
P0.0(AD0)
P0.1(AD1)
P0.2(AD2)
P0.3(AD3)
P0.4(AD4)
P0.5(AD5)
P0.6(AD6)
P0.7(AD7)
EA/VPP
ALE/PROG
PSEN
P2.7(A15)
P2.6(A14)
P2.5(A13)
P2.4(A12)
P2.3(A11)
P2.2(A10)
P2.1(A9)
P2.0(A8)
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
Diagrammatic explanation:
N/C
INDUCTOR
IRON
ARM
AC
230V
COM
ON
N/O
BULB
OFF
Light Sensor(LDR)
APHOTORESISTOR
ORLIGHT
DEPENDENT
RESISTOR(LDR) IS A
RESISTOR WHOSE
RESISTANCE
DECREASES WITH
INCREASING INCIDENT
LIGHT INTENSITY.
IT CAN ALSO BE
REFERRED TO AS
APHOTOCONDUCTO
R.
IR Sensor
INFRARED SENSORS ALSO
HAVE IMPORTANT
SCIENTIFIC, MILITARY,
SECURITY
Ground
2.
Vcc +5V
3.
Contrast control
4.
5.
Read/Write (RD/WR)
6.
Enable (EN)
7.
8.
Vcc +5V }
9.
Ground
ADVANTAGES:
A major advantage of a lighting control system over
conventional individualswitching
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 emissioncarbon footprints.
A lighting scene can create dramatic changes in
atmosphere, for aresidence or thestage, by a
simple button press
APPLICATIONS:
landscape lighting
fountainpumps
water spaheating
swimming poolcovers
motorizedgates
CONCLUTION
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.
K
N
A
H
T
U
YO