Project Overview
This Project
“Automatic Room Light Controller with Bidirectional 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 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. Microcontroller AT89S52 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.
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 so as not to have
congestion. This circuit proves to be helpful.
Block Diagram
Block 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 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. +12 voltages are 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 automatic room light control. 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 with 8KB 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-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.
4.
Relay Driver Circuit:-
This block has
the potential to drive the various controlled devices. In this block mainly we
are using the transistor and the relays. 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.
Transmitter circuit diagram
This circuit
diagram shows how a 555 timer IC is configured to function as a basic
monostable multivibrator. A monostable
multivibrator is a timing circuit that changes state once triggered, but
returns to its original state after a certain time delay. It got its name from the fact that only one
of its output states is stable. It is
also known as a 'one-shot'.
In this circuit,
a negative pulse applied at pin 2 triggers an internal flip-flop that turns off
pin 7's discharge transistor, allowing C1 to charge up through R1. At the same
time, the flip-flop brings the output (pin 3) level to 'high'. When capacitor C1 as charged up to about 2/3 V cc, the flip-flop is triggered once again, this time making the pin 3 output
'low' and turning on pin 7's discharge transistor, which discharges C1 to
ground. This circuit, in effect, produces a pulse at 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. around 1.4K we get a 38 kHz signal. Then you point it
over the sensor and its o/p will go low when it senses the IR signal of 38 kHz.
Receiver Diagram
The IR
transmitter will emit modulated 38 kHz IR signal and at the receiver we use
TSOP1738 (Infrared Sensor). The output goes high when the there is an
interruption and it return back to low after the time period determined by the
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 1 of 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 that time Relay will be turned off. Reset button will reset
the microcontroller.
Receiver Pcb
Application
1. For counting
purposes
2. For
automatic room light control
Please click the following link to download the program for this project.Post your doubts in comments...............
Click here to download
Mirror download
Related projects
RF Based Project Topics
Click here to download
Mirror download
Related projects
RF Based Project Topics
deviashok470@gmail.com
ReplyDeleten.poojacreativembd@gmail.com
ReplyDeleteravi07lpu@gmail.com
ReplyDeletefawwaz_1225@yahoo.com
ReplyDeletehai friends check your mail.the software for this project was sent to your mail.
ReplyDeletedon't forget to say thanks
can u send me the software program please?
ReplyDeleteplz send it to ritesh110791@gmail.com
vishing.urself@yahoo.in
ReplyDeletemeet_akshay@yahoo.in
ReplyDeletehimsingh1990@gmail.com
ryan_patasin@yahoo.com
ReplyDeletecan u send me the coding and software program please?
ReplyDeletecheqnum_92@yahoo.com
hello cheqnum_92@yahoo.com check your mail for details
Deletehello sir.. can you please send me the codes and the software? thanks ^^
ReplyDeleteSir, can you send me a copy of codes?
ReplyDeleteemosulia@gmail.com
thanks a lot!
please send me this project code?
Deleteshajar.marcus@gmail.com
edpaginag@yahoo.com
ReplyDeleteemosulia@gmail.com
thank you sir!
edpaginag@yahoo.com
ReplyDeleteemosulia@gmail.com
azamadli@gmail.com
ReplyDeletethanks!
azamadli@gmail.com
ReplyDeletethanks!
hello, the email u sent to me was empty. could u possibly re-send the code for this project? thanks!
ReplyDeleteHello azam check mail attachment
ReplyDeleteSir, can you send me a copy of codes?
ReplyDeleteHishammahrousm89@gmail.com
thanks a lot!
hai mehoooo,
ReplyDeleteFirst join this site as member using your mail id.then the code will be send to you
i need the code pls....sanjaykulkarni077@gmail.com pls mail it to this id.
ReplyDeletehi sir...
ReplyDeletecan i get the code for the project pls
Need the code of this program!
ReplyDeletePlease mail me sir.
Hai sanjay and deepika check your mail, the program was send to you.
ReplyDeleteHai joel livy please join this site as member or specify your mail id :-):-):-)
Hello sir !
ReplyDeletecan i pls get the code for this project
can i pls get the code..
ReplyDeletemalvika_aries@yahoo.co.in
can i pls get the code for this project :)
ReplyDeletemalvika_aries@yahoo.co.in
Hai malvika check your mail.the code was send to you.
ReplyDeleteThankyou Sir :)
Deletedevarapalliraviteja@gmail
ReplyDeletehai,can i get a code and also the full project..u can email me sk8ter_jawe@yahoo.com.urgent,please..thank you very much.
ReplyDeletehai teja and Ahmad check your mail ,the program was send to your mail.thank you for your interest.
ReplyDeletethanx mani sekar..can i know what software need to use to build this cct??i had confused bcoz there are missing component in software that i use..can u help me??
ReplyDeleteI can't understand your question whether you asking about pcb design software or compiler to convert asm code into hex code. To design the pcb you can use express pcb or pad2pad . You can not get all component footprints in all pcb software. You have to make all components by using their datasheets . To make custom components refer the help section of the software. If you use express pcb then inform me your missing component . I will help you. If you ask about compiler, use keil or RIDE assembler both are freely available on the net. You can download software and tutorial about keil from our tutorial section. HOPE THIS WILL HELP YOU.
ReplyDeletedear mani sekar, actually i want to make this circuit using ISIS software but there are certain components that are not in the software. so what should i do? or is there any other software that contain all components? the components that are not in the software are AT89S52 and sensor infrared,is there any components that can be used but still have the same function? thank you.hope this will make you understand
ReplyDeletehai Ahmad,
ReplyDeletei thing you are using Proteus ISIS software. If you are using that software for simulating the circuit then visit the following ling to make the components which are not in library Or you can use ORCAD PSPICE for simulation .
http://www.edaboard.com/thread146616.html
If you use that software for designing pcb only then you can get tutorial about making custom components in their help section or you can use simple pcb design software like express pcb,pad2pad.
thanx mani sekar..
Deletecan u please send me the code for this project to teja.dayana@gmail.com
ReplyDeletehai ravi teja,
ReplyDeletecheck your mail .the code has been sent to you.
please send me the code for this project
ReplyDeleteayesha khan please specify your mail id or join as member in our site.
ReplyDeleteplease send me the code for this project
ReplyDeleteshah_massa@yahoo.com
Deletei want code for this project
ReplyDeletei want code for this project
ReplyDeleteplease send me the code for this project..
ReplyDeleteplz send me the project code 4r Bidirectional visitor counterin assembly language pgrm
ReplyDeleteplease send me the code for birectional visitor counter in assembly language 2 my mail id jananiss002@gmail.com
ReplyDeleteplease send the code of the AUTOMATIC ROOM LIGHT CONTROLLER WITH BIDIRECTIONAL VISITOR COUNTER and the software's link needed to this id - akakde24@gmail.com
ReplyDeleteplease mail me the code my id
ReplyDeletesushilkumar.nikam@gmail.com
Hey I'm Michael Reuben and I'm studying electronics. I want to implement this project "Automatic Room Light Controller with people counter" please send me Program code of this project.
ReplyDelete"michaelreuben91@gmail.com"
hai michael,sushilkumar,akakde24,janani,shajar
ReplyDeletethe source code for this project was sent to you.please check your mail.
sasikala and bharati please specify your mail id
hi ,could i have the code for the project please?
ReplyDeletemy email id is arnavbal91@gmail.com
hi
ReplyDeletei m an eee 3 rd yr student ...
i want to do tis project .. can u please send me program...
please try to sent me soon ...urgent
my mail id is
sangeethesiruthai93@gmail.com
thanks to this project i made it will and it work fine for me hehe we love you maker on this circuit
ReplyDeleteplease send me the code for birectional visitor counter in assembly language 2 my mail id yogi22200@gmail.com
ReplyDeletecan u send me the software program please?
ReplyDeletesend to ama.rokz@yahoo.com
hai friend you can download the program from the given link
ReplyDeletesend me all details with ppt
ReplyDeleteravibhatiya1992@gmail.com
hai Ravi,
ReplyDeleteDownload link for this project program was send to you..
you can download the program for this project from the following link
http://www.filesin.com/8C08C349870/download.html
Cannot provide all details .you can prepare the document easily try yourself.
All the best
please send the code to swathi03svs@gmail.com
Deletehello sir.. can you please send the code to swathi03svs@gmail.com?
ReplyDeletehello sir... can you please send the code to swathi03svs@gmail.com?
ReplyDeleteswathi03svs@gmail.com
ReplyDeletevinnilochini@gmail.com
hai,
ReplyDeleteswathi you can download the program in this page.please read full post.
hello sir can you please send the code of this project to raiashish5555@gmal.com
ReplyDeletehi sir can you send me code of this project on my emai id::-
ReplyDeleteraiashish5555@gmail.com
sir can u plz send me the ful project report with a working circuit diagram and program codes
ReplyDeletesir can u plz send me the full report with a working circuit diagram at my email id
ReplyDeletenikunjhannu@gmail.com
hai gupta and ashish,
Deletethe program was send to you.
please send me the code and the program for this project
ReplyDeletee-mail: hema_k_a@hotmail.com
hai hema
Deletecheck your mail the program was send
hiii sir send me full description and code for this project
ReplyDeleteyogeshpambhar@gmail.com