Docsity

Automatic Room Light Controller with Bidirectional Visitor Counter(PROJECT), Study Guides, Projects, Research of Electrical and Electronics Engineering

Toggle sidebar
bg1
“AUTOMATIC ROOM LIGHT CONTROLLER
WITH BIDIRECTIONAL VISITOR
ABSTRACT
The fear of theft and burglary always annoys many people. When lock and
keys become less safe, one can seek the help of electronic security systems. Such
a portable security system is described here.
This electronic setup auto activated whenever the intruder enters to the
unauthorized no entry area. It auto activate the landline number and redial the last
dialed number from the conventional telephone. All we need is to do minor
changes to activate this telephone as it works as to become auto dialer circuit.
Thus whenever the intruder enters to the area, it activates the sensor circuit
of either sound activation or infrared light beam obstruction circuit, the redial
circuit become active and give a ring tone to the receiving end. It may be a mobile
phone or any landline phone or even police control room.
1
“AUTOMATIC ROOM LIGHT CONTROLLER WITH BIDIRECTIONAL VISITOR COUNTER”
pf3
pf4
pf5
pf8
pf9
pfa
pfd
pfe
pff
pf12
pf13
pf14
pf15
pf16
pf17
pf18
pf19
pf1a
pf1b
pf1c
pf1d
pf1e
pf1f
pf20
pf21
pf22
pf23
pf24
pf25
pf26
pf27
pf28

Partial preview of the text

Download Automatic Room Light Controller with Bidirectional Visitor Counter(PROJECT) and more Study Guides, Projects, Research Electrical and Electronics Engineering in PDF only on Docsity!

“AUTOMATIC ROOM LIGHT CONTROLLER

WITH BIDIRECTIONAL VISITOR

ABSTRACT

The fear of theft and burglary always annoys many people. When lock and keys become less safe, one can seek the help of electronic security systems. Such a portable security system is described here. This electronic setup auto activated whenever the intruder enters to the unauthorized no entry area. It auto activate the landline number and redial the last dialed number from the conventional telephone. All we need is to do minor changes to activate this telephone as it works as to become auto dialer circuit. Thus whenever the intruder enters to the area, it activates the sensor circuit of either sound activation or infrared light beam obstruction circuit, the redial circuit become active and give a ring tone to the receiving end. It may be a mobile phone or any landline phone or even police control room. 1

INDEX

 CHAPTERCONTENTPAGE NO.

1. INTRODUCTION ………………………………………….. 6

1.1 Project Definition 1.2 Project Overview

2. BLOCKDIAGRAM AND ITS DESCRIPTION…………… 9 2.1Block Diagram Description:- 3. SCHEMATIC DIAGRAM & CIRCUIT DESCRIPTION……… 13 3.1. Transmission Circuit 3..2. R e c e i v e r C i r c u i t

4. LIST OF COMPONENTS………………………………….. 18

4.1. List of Components

5. DESCRIPTION OF COMPONENTS…………………………... 20

5.1 Description of Components

6. PROJECT FLOW CHART…………………………………… 27

7. PROJECT PROGRAM………………………………………. 30

8. FUTURE EXPANSION……………………………………. 38

9. APPLICATION, ADVANTAGES &DISADVANTAGES….. 40

2

 Introduction Of Project :-

1.1 Project Definition :-

Project title is

“Automatic Room Light Controller With Bidirectional Visitor Counter ”. The objective of this project is to make a controller based model to count number of persons visiting particular room and accordingly light up the room. Here we can use sensor and can know present number of persons. In today’s world, there is a continuous need for automatic appliances. With the increase in standard of living, there is a sense of urgency for developing circuits that would ease the complexity of life. Also if at all one wants to know the number of people present in room soaps not to have congestion, this circuit proves to be helpful. This project "automatic room light controller with visitor counter using microcontroller" is a reliable circuit that takes over the task of persons/visitor in the room very accurately. When somebody enters into the room will be switched ON and when any one. The light in room will be only switched OFF until all the persons in the room go out. The total number of person inside the room also displayed on the seven segment displays. The microcontroller does the above job. it receives the signals from the sencers, and this signal is operated under the control of software which is stored in rom. Micron roller AT89S52 continuously monitor the infrared receivers, when any object pass through the IR rays falling on the receivers are obstructed this obstruction is sensed by the microcontroller.  1.2Project Overview:- This Project ―Automatic Room Light Controller with Visitor Counter using Microcontroller 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 4

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. The total number of persons inside the room is also displayed on the seven segment displays. The microcontroller does the above job. It receives the signals from the sensors, and this signal is operated under the control of software which is stored in ROM. MicrocontrollerAT89S52 continuously monitor 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. 5

 2.1 Blockdiagram:-

7

2.2Block Diagram Description:- The basic block diagram of the bidirectional visitor counter with automatic light controller is shown in the above figure. Mainly this block diagram consists of the following essential blocks.

  1. Power Supply
  2. Entry and Exit sensor circuit
  3. AT 89S52 micro-controller
  4. Relay driver circuit

1. Power Supply:-

Here we used +12V and +5V dc power supply. The main function of this block is to provide the required amount of voltage to essential circuits. +12voltage is given. +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.

2. Enter and Exit Circuits:-

This is one of the main parts of our project. 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.

3. 89S52 Microcontroller:-

It is a low-power, high performance CMOS 8-bit microcontroller with8KB of Flash Programmable and Erasable Read Only Memory (PEROM). THE device is manufactured using Atmel’s high-density nonvolatile memory technology and is compatible with the MCS-51TMinstruction set and pin out. Theon-chip Flash allows the program memory to be reprogrammed in-system or by a conventional nonvolatile memory programmer. By combining a versatile 8-bitCPU with Flash on a monolithic hip, the Atmel AT89S52 is a powerful. 8

CHAPTER :- 3

SCHEMATIC DIAGRAM &CIRCUIT DESCRIPTION

10

 CIRCUIT DESCRIPTION;-

 There are two main parts of the circuits.

 3.1 .Transmission Circuit (Infrared LEDs)

 3.2. R eceiver C ircuit (Sensors)

 3.1 Transmission circuit;-

11

7's discharge transistor, which discharges C1 to ground. This circuit, in effect, produces a pulseat pin 3 whose width t is just the product of R1 and C1, i.e., t=R1C1. IR Transmission circuit is used to generate the modulated 36 kHz IR signal. The IC555 in the transmitter side is to generate 36 kHz square wave. Adjust the preset in the transmitter to get a 38 kHz signal at the o/p. Then you point it over the sensor and its o/p will go low when it senses the IR signal of 38 kHz

 3.2 Receiver circuit:-

13

The IR transmitter will emit modulated 38 kHz IR signal and at the receiver w e u s e T S O P 1 7 3 8 ( I n f r a r e d S e n s o r ). T h e o u t p u t g o e s h i g h w h e n t h e r e i s a n i n t e r r u p t i o n a n d i t r e t u r n b a c k t o l o w a f t e r t h e t i m e p e r i o d d e t e r m i n e d b y t h e capacitor and resistor in the circuit i.e. around 1 second. CL100 is to trigger the IC555 which is configured as monostable multivibrator. Input is given to the Port 1of the microcontroller. Port 0 is used for the 7-Segment display purpose. Port 2 is used for the Relay Turn On and Turn off Purpose.LTS 542 (Common Anode) is used for 7-Segment display and that time Relay will get voltage and triggered, so light will get voltage and it will turn on and when counter will be 00 14

CHAPTER: - 4

LIST OF COMPONENTS

 LIST OF COMPONENTS

  1. Microcontroller – AT89S
  2. IC – 7805
  3. Sensor – TSOP 1738 (Infrared Sensor)
  4. Transformer – 12-0-12, 500 mA
  5. Preset – 4.7K
  6. Disc capacitor – 104,33pF
  7. Reset button switch
  8. Rectifier diode – IN 16
  1. 9.Transistor – BC 547, 2N 10.7-Segment Display 17

 FEATURES:-

  1. 8 KB Reprogrammable flash.
  2. 32 Programmable I/O lines.
  3. 16 bit Timer/Counter—3.
  4. 8 Interrupt sources.
  5. Power range: 4V – 5.5V
  6. Endurance : 1000 Writes / Erase cycles
  7. Fully static operation: 0 Hz to 33 MHz
  8. Three level program memory lock
  9. Power off flag 10.Full duplex UART serial channel 11.Low power idle and power down modes 12.Interrupt recovery from power down modes 13.256 KB internal RAM
  10. Dual data pointer

 2.TSOP1738 (INFRARED SENSOR)

19

 Description:-

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.

 Features:-

  1. Photo detector and preamplifier in one package
  2. Internal filter for PCM frequency
  3. Improved shielding against electrical field disturbance
  4. TTL and CMOS compatibility
  5. Output active low
  6. Low power consumption
  7. High immunity against ambient light
  8. Continuous data transmission possible (up to 2400 bps) 

 3. 555 (TIMER IC):-

20