Sei sulla pagina 1di 20

Contents:

Abstract
Block diagrams Circuit diagram

Application
Flowchart

Reference

Abstract :
This Project Automatic Room Light Controller with

Visitor Counter using Micro controller is a reliable circuit that takes over the task of controlling the room lights as well us counting number of persons/ visitors in the room very accurately. When somebody enters into the room then the counter is incremented by one and the light in the room will be switched ON and when any one leaves the room then the counter is decremented by one. The light will be only switched OFF until all the persons in the room go out.

In a nutshell
Automatic Person

sensor Counter Automatic Light and Fan Control LCD display

Circuit Diagram :
Receiver :

Circuit Diagram :
Main Circuit:

Block diagram:
LCD
Microcontroller 89c51 Relay Light

IR Sensor 2

IR Sensor 1

Start Infra Red Signal Tx Interrupt from sensor 1 yes Interrupt from sensor 2 yes Increment Entry Counter: Net=Nc+1 Interrupt from sensor 2 yes Interrupt from sensor 1 yes Decrement Entry Counter: Net=Nc-1

Relay Off

No

If Net>0 yes Relay ON

Microcontroller:89c51 Compatible with MCS-51 Products


4K Bytes of In-System

Reprogrammable Flash Memory Endurance: 1,000 Write/Erase Cycles Fully Static Operation: 0 Hz to 24 MHz Three-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 Channel Low-power Idle and Power-down Modes

IR Sensor
Comprised of two parts - an IR

emitting LED and an IR sensitive phototransistor 5VDC operating voltage 25mA supply current Optimal sensing distance: 10 cm Widely used in line following robots

L7805:Voltage Regulator
IC 7805 is a 5V Voltage Regulator
restricts the voltage output to 5V and

draws 5V regulated power supply It comes with provision to add heatsink. The maximum value for input to the voltage regulator is 35V. It can provide a constant steady voltage flow of 5V for higher voltage till the threshold limit of 35V.

LCD :

A liquid-crystal display (LCD)

is a flat panel display, electronic visual display, or video display that uses the light modulating properties of liquid crystals. A16x2LCDdisplay is a basic module and is commonly used in various devices and circuits Advantages: Economical, programmable, very compact and light etc

Max232 :
The MAX232 is an IC, that converts signals

from an RS-232 serial port to signals suitable for use in TTL compatible digital logic circuits. The drivers provide RS-232 voltage level outputs (approx. 7.5 V) from a single + 5 V supply via on-chip charge pumps and external capacitors. The receivers reduce RS-232 inputs (which may be as high as 25 V), to standard 5 V TTL levels.

Software used: Kiel C


The Keil C51 C Compiler for the 8051 microcontroller is

the most popular 8051 C compiler in the world. It allows to write 8051 microcontroller applications in C that, once compiled, have the efficiency and speed of assembly language. The C51 Compiler translates C source files into relocatable object modules which contain full symbolic information for debugging with the Vision Debugger or an in-circuit emulator.

Applications our project:


Home automation For making Energy saving systems For counting purposes For automatic room light control

Merits
Low cost Easy to use Implement in single door

Demerits
It is used only when one single person cuts the rays of the sensor hence it cannot be used when two person cross simultaneously.

Future Scope
By using this circuit and proper power supply we can implement various applications Such as fans, tube lights, etc.

By modifying this circuit and using two relays we can achieve a task of opening and closing the door.

And heres the OUTCOME.!

Potrebbero piacerti anche