You are on page 1of 17

Automatic intelligent room light controller using 89C51 Micro controller with Auto door opening/closing

INTRODUCTION
The main theme of our project is to automatically controlling the light in a room by using the embedded technology by using 89c51 microcontroller with auto door opening and closing.

embedded
An embedded system is a combination of

software and hardware to perform a dedicated task.


Some of the main devices used in embedded products are Microprocessors and Microcontrollers. Microcontroller not only accepts the data as inputs but also manipulates it, interfaces the data with various devices, controls the data and thus finally gives the result.

Block diagram
LCD ENTRY SENSOR IR EXIT SENSOR

LDR

89c51

IR ULN 2003 STEPPER MOTOR 1

CRYSTAL

RESET CIRCUIT Step down T/F Bridge Rectifier

Stepper motor2

Filter Circuit

Regulator

Main components
89c51 MICROCONTROLLER STEPPER MOTOR KEIL COMPILER INFRARED RECEIVER LIGHT DEPENDENT RESISTOR LIQUID CRYSTAL DISPLAY

89c51 MICROCONTROLLER
The AT89C51 is a low-voltage, highperformance CMOS 8-bit microcomputer with 4K bytes of Flash programmable memory. The device is manufactured using Atmels high-density nonvolatile memory technology and is compatible with the industry-standard MCS-51 instruction set. Combining a versatile 8-bit CPU with Flash on a monolithic chip, the Atmel AT89C51 is a powerful microcomputer, which provides a highly flexible and cost-effective solution to many embedded control applications.

FEATURES OF 89c51
4K Bytes of Re-programmable Flash Memory. RAM is 128 bytes. 2.7V to 6V Operating Range. Fully Static Operation: 0 Hz to 24 MHz. Two-level Program Memory Lock. 128 x 8-bit Internal RAM. 32 Programmable I/O Lines. Two 16-bit Timer/Counters. Six Interrupt Sources. Programmable Serial UART Channel. Low-power Idle and Power-down Modes.

STEPPER MOTOR
A stepper motor is a widely used device that translates electrical pulses into mechanical movement. The stepper motor is used for position control in applications such as disk drives, dot matrix printers and robotics.

KEIL COMPILER
Keil compiler is a software used where the machine language code is written and compiled. After compilation, the machine source code is converted into hex code which is to be dumped into the microcontroller for further processing. Keil compiler also supports C language code.

INFRARED RECEIVER
The TSOP17.. series are miniaturized receivers for infrared remote control systems. PIN diode and preamplifier are assembled on lead frame, the epoxy package is designed as IR filter. The demodulated output signal can directly be decoded by a microprocessor. TSOP17.. is the standard IR remote control receiver series, supporting all major transmission codes.

LIGHT DEPENDENT RESISTOR


LDRs or Light Dependent Resistors are very useful especially in light/dark sensor circuits. Normally the resistance of an LDR is very high, sometimes as high as 1,000,000 ohms, but when they are illuminated with light, the resistance drops dramatically. LDR plays an important role in controlling the electrical appliances based on the intensity of light i.e., if the intensity of light is more (during daytime) the loads will be in off condition. And if the intensity of light is less (during nights), the loads will be switched on.

LIQUID CRYSTAL DISPLAY


LCD stands for Liquid Crystal Display. LCD is finding wide spread use replacing LEDs (seven segment LEDs or other multi segment LEDs).

WORKING PROCEDURE
Two IR TX RX pairs are used in this project to identify the entry or exit of the person. These two IR TX RX pairs are arranged each one on oneside of the door i.e. one at the entry of the room and other inside the room. The TX and RX are arranged face to face across the door so that the RX should get IR signal continuously.

Initially the door is closed. Whenever any person comes in front of the door, the IR RX identifies it since the IR signal gets disturbed. Then the microcontroller opens the entry door by rotating the stepper motor. After some delay, the door will be closed.

APPLICATIONS
This is used in seminar halls, rooms with automatic on and off of lighting of light Advanced technology is based on this method without manual interference More reliable and efficient Power saving is done more effciently.

CONCLUSION
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. 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

QUERIES?????

THANK YOU.!