1 / 26

AUTOMATIC ROOM LIGHT CONTROLLER WITH BIDIRECTIONAL VISITOR COUNTER

AUTOMATIC ROOM LIGHT CONTROLLER WITH BIDIRECTIONAL VISITOR COUNTER . 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.

brier
Download Presentation

AUTOMATIC ROOM LIGHT CONTROLLER WITH BIDIRECTIONAL VISITOR COUNTER

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

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. Tasks: • reliable circuit that takes over the task of controlling the room lights. • as well as counting number of persons/ visitors in the room.

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

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

  6. Block diagram:

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

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

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

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

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

  12. Transmission circuit

  13. Receiver circuit

  14. Hardware Design:-

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

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

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

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

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

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

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

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

  23. Application • For counting purposes • For automatic room light control

  24. 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 • www.datasheets4u.com • www.8051.com

  25. Advantages • 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.

More Related