Presentation is loading. Please wait.

Presentation is loading. Please wait.

AUTOMATIC ROOM LIGHT CONTROLLER WITH BIDIRECTIONAL VISITOR COUNTER

Similar presentations


Presentation on theme: "AUTOMATIC ROOM LIGHT CONTROLLER WITH BIDIRECTIONAL VISITOR COUNTER"— Presentation transcript:

1 AUTOMATIC ROOM LIGHT CONTROLLER WITH BIDIRECTIONAL VISITOR COUNTER

2 Objective: To make a controller based model to count number of persons visiting particular room and accordingly light up the room.. To know the number of people present in room so as not to have congestion. Here we can use sensor and can know present number of persons.

3

4 Tasks: reliable circuit that takes over the task of controlling the room lights. as well as counting number of persons/ visitors in the room.

5 Project overview: When somebody enters into the room then the counter is incremented by one and the light in the room will be switched ON in a sequence. and when any one leaves the room then the counter is decremented by one. The lights will be switched OFF in a sequence when the persons in the room go out. The total number of persons inside the room is also displayed on the LCD display.

6 The microcontroller receives the signals from the sensors, and this signal is operated under the control of software which is stored in ROM. Microcontroller AT89S52 continuously monitors the Infrared Receivers. When any object pass through the IR Receiver's then the IR Rays falling on the receiver are obstructed , this obstruction is sensed by the Microcontroller.

7 Block diagram:

8 Block diagram description
Power Supply Entry and Exit sensor circuit AT 89S52 micro-controller Relay driver circuit

9 Power Supply:- Here we used +12V and +5V dc power supply.
+12V is given to relay driver. To get the +5V dc power supply we have used here IC 7805, which provides the +5V dc regulated power supply.

10 Enter and Exit Circuits:-
The main intention of this block is to sense the person. For sensing the person and light we are using the light dependent register (LDR). By using this sensor and its related circuit diagram we can count the persons.

11 89S52 Microcontroller:- low-power, high performance CMOS 8-bit microcontroller with 8KB of Flash Programmable and Erasable Read Only Memory (PEROM). manufactured using nonvolatile memory technology is compatible with the MCS-51TM instruction set and pin out. The on-chip Flash allows the program memory to be reprogrammed in-system or by a conventional nonvolatile memory programmer. By combining a versatile 8-bit CPU with Flash on a monolithic hip, the Atmel AT89S52 is a powerful Microcontroller, which provides a highly flexible and cost effective solution so many embedded control applications.

12 Relay Driver Circuit:-
potential to drive the various controlled devices. transistor and the relays are used. One relay driver circuit we are using to control the light. Output signal from AT89S52 is given to the base of the transistor, which we are further energizing the particular relay. Because of this appropriate device is selected and it do its allotted function.

13 Transmission circuit

14 Receiver circuit

15 Hardware Design:-

16 List of Components: Microcontroller – AT89S52 IC – 7805
Sensor – TSOP 1738 (Infrared Sensor) Transformer – step down 220V/12V Preset – 10K Disc capacitor – Reset button switch Rectifier diode – Bridge rectifier Transistor – BC 547, CL 100 LCD display

17 Microcontroller AT89S52: 8 KB Reprogrammable flash.
32 Programmable I/O lines. 16 bit Timer/Counter—3. 8 Interrupt sources. Power range: 4V – 5.5V Endurance : 1000 Writes / Erase cycles Fully static operation: 0 Hz to 33 MHz

18 Three level program memory lock
Power off flag Full duplex UART serial channel Low power idle and power down modes Interrupt recovery from power down modes 256 KB internal RAM Dual data pointer

19 TSOP1738 (INFRARED SENSOR)
Photo detector and preamplifier in one package Internal filter for PCM frequency Improved shielding against electrical field disturbance

20 TTL and CMOS compatibility
Output active low Low power consumption High immunity against ambient light Continuous data transmission possible (up to 2400 bps) Suitable burst length .10 cycles/burst

21 LM7805 (Voltage Regulator)
Output Current up to 1A Output Voltages of 5, 6, 8, 9, 10, 12, 15, 18, 24V Thermal Overload Protection Short Circuit Protection Output Transistor Safe Operating Area Protection

22 Software design Start Infrared Signal Transmission Turn On Relay
Interrupted from Sensor1 Interrupted from Sensor 2 Counter Incremented Counter Decremented Turn On Light Counter set to 0 Relay Turn Off Turn Off Light

23 FUTURE EXPANSION 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.

24 Application For counting purposes For automatic room light control

25 Bibliography Reference Books Programming in ANSI C: E BALAGURUSAMY
The 8051microcontroller and embedded systems: MUHAMMAD ALI MAZIDI JANICE GILLISPIE MAZIDI The 8051 microcontroller: KENNETH J. AYALA Website

26 Advantages Disadvantages
Low cost Easy to use Implement in single door Disadvantages It is used only when one single person cuts the rays of the sensor hence it cannot be used when two person cross simultaneously.


Download ppt "AUTOMATIC ROOM LIGHT CONTROLLER WITH BIDIRECTIONAL VISITOR COUNTER"

Similar presentations


Ads by Google