Академический Документы
Профессиональный Документы
Культура Документы
SUBMITTED BY
KARTHIK MADANGOPAL
NIVEDITHA KONDA
ABHIJEET JADHAV
GUIDED BY
MR BADODEKAR
2009-2010
ACKNOWLEDGEMENT
It is indeed a matter of great pleasure and proud privilege to present this project of
We would also like to thank our principal ‘Mr. D. G. BORSE’ for providing us
ample laboratory facilities and rendering help whenever required.
Last but not the least we wish to thank the non-teaching staff and our friends who
have helped us all the time in one way or the other for completion of this project.
PREFACE
We have great pleasure in presenting our project
“MICROCONTROLLER BASED ROOM LIGHT CONTROL ”. As it was the
first mini project by us, we did face some difficulties but it was a great learning
experience for us. We had the theory in our earlier two years of engineering but in
third year we could apply it.
For easy understanding of our project we have begun the report with the detailed
introduction of the infrared light. Also report contains circuit diagram and
explanation of security system and autoswitch and finally datasheets.
INDEX
1. INTRODUCTION
2. PROBLEM DEFINITION
3. BLOCK DIAGRAM
4. CIRCUIT DESCRIPTION
5. EXPLANATION
6. PCB LAYOUT
7. SOFTWARE IMPLEMENTATION
8. APPLICATIONS
9. FUTURE SCOPE
10. BIBILOGRAPHY
INTRODUCTION
of time. In the olden days man used kerosene lamps and hand-held fans
technology, which has enabled man to simplify many jobs. After the
invention of electricity came the electric lamp and the electric fan.
the room. In our project we have written program for up & down
persons present in a room is equal to zero then all lights & fan will get
incremented by one.
decremented by one.
should remain switched ON and should only be switched OFF when all
MICRO CONTROLLER:
The 8051 is the original member of the MCS-51 family, and is the
Features of 8051:
1. It is a 8-bit CPU.
PSEN:
MEMORY:
ports (P0 and P2) provide the memory addressing. This reduces the
The Port 3 output buffers can sink/source four TTL inputs. When 1s are
written to Port 3 pins they are pulled high by the internal pull-ups and
can be used as inputs. As inputs, Port 3 pins that are externally being
listed below:
Port 3 also receives some control signals for Flash programming and
verification.
RESET CIRCUIT
initialized.
RELAY DRIVER
driver circuit. With the help of this driver circuit current level is very
used for current limiting in order to protect the transistor. This current
Relays are used as a switch. There are two types of relays namely
cabinet mount & PCB mount. Cabinet mount is very much bigger in
to PCB mount.
position before the voltage is applied. Once the voltage is applied the
relay.
IR SENSOR
Why Infrared?
portable use, plus several receiver models, some suitable for use with
hearing aids.
How it works:-
emitter (sometimes both combined in one unit), and the receiver. The
transmitter imparts the audio signal onto a subcarrier signal which the
emitter will convert into infrared light. The receiver decodes the
The critical elements of the Infrared link are the optical components:
selected for maximum life. They will last years longer than
conventional IR-LEDS.
channel wide band systems and 2.3 MHz and 2.8 MHz for two channel
Court Houses. Each room can be equipped with one SME IR Court
We are using two IR. Sensors for detecting interrupts of human when he enters into
the room or exit from room. The sequence is important to decide in or out entry.
This is decided with the help of software.
memory can reprogram many time. Thus for development process 8051
is used.
can also use as common I/O line. Microcontroller port 0 is having open
each port pin. So we are using SIL (Serial n line package) resistor.
Which is eight resistor banks and one pin is common which we have to
instrument compact.
circuit, clock is generated with the help of crystal; we can use 3 MHZ
supply is switched on reset pin will get positive pulse, IC will get reset
and program will get initialized. For manual reset push button switch is
on IR sensor it will offer low resistance, and base will get ground so
transistor will get OFF and collector voltage will become high.
high; base current will flow through base biasing resistor of 2K2 and
transistor will get ON. And when O/P is low transistor will be OFF and
contact.
room.
room become zero relay will get OFF and hence the light will turn
OFF.
APPLICATIONS
products.
Cost is less.
More reliable.
DISADVANTAGES
entering or leaving the room. But when any object is brought into the
as they will be counted as one single person, thus giving false results.
takes over the task of controlling the room lights as well as counting
somebody enters into the room then the counter is incremented by one
and the light in the room will be switched ON and when anyone leaves
the room then the counter is decremented by one. The light will be only
switched OFF until all persons in the room go out. The total number of
persons inside the room is also displayed on the seven segment display.
BIBLOGRAPHY