Visitor counting is simply a measurement of the visitor traffic entering and exiting offices, malls, sports venues, etc. Counting the visitors helps to maximize the efficiency and effectiveness of employees, floor area and sales potential of an organization .Visitor counting is not limited to the entry/exit point of a company but has a wide range of applications that provide information to management on the volume and flow of people throughout a location. A primary method for counting the visitors involves hiring human auditors to stand and manually tally the number of visitors who pass by a certain location. But human-based data collection comes at great expense.
Here is a low-cost microcontroller based visitor counter that can be used to know the number of persons at a place. All the components required are readily available in the market and the circuit is easy to build .Two IR transmitter-receiver pairs are used at the passage: one pair comprising IR transmitter IR TX1 and receiver phototransistor T1 is installed at the entry point of the passage, while the other pair comprising IR transmitter IR TX2 and phototransistor(TSOP sensor) T2 is installed at the exit of the passage. The IR signals from the IR LEDs should continuously fall on the respective phototransistors, so proper orientation of the transmitters and phototransistors is necessary.
Two similar sections detect interruption of the IR beam and generate clock pulse for the microcontroller. The microcontroller controls counting and displays the number of persons present inside the hall is also displayed on the seven segment displays. 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.
Block Diagram
The basic block diagram of the bidirectional visitor counter with automatic light controller is shown in the above figure. Mainly this Block diagram consist of the following essential blocks.
1.Power Supply
2.Entry and Exit sensor circuit
3.AT 89c2052 micro-controller
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 voltage 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 part 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.AT89C2051
Microcontroller IC AT89C205(IC2) is at the heart of the circuit. It is a 20-pin, 8-bit microcontroller with 2 kb of Flash programmable and erasable read-only memory (PEROM), 128 bytes of RAM, 15 input/output (I/O) lines, two 16-bit timer/counters, a five-vector two-level interrupt architecture, a full duplex serial port, a precision analogue comparator, on-chip oscillator and clock circuitry.
CIRCUIT DESCRIPTION:
There are two main parts of the circuits.
1.Transmission Circuits (Infrared LEDs)
2.Receiver Circuit (Sensors)
1. Transmission circuit
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 Vcc, 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. 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'.
2.Receiver circuit
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. So when anybody crosses the transmitter receive pair the output from TSOP sensor will high and microcontroller will know that the interruption and decide whether increment the count decrement from the loaded program.
After receiving signal from sensor microcontroller will define whether it was enter or exit by using following algorithm..
1 .If the sensor 1 is interrupted first then the microcontroller will look for the sensor 2.And if it is interrupted then the microcontroller will increment the count .
2.If the sensor 2 is interrupted first then the microcontroller will look for the sensor 1. And if it is interrupted then the microcontroller will decrement the count.
Advantage
o Low cost
o Easy to use
o Implement in single door
Disadvantage
It is used only when one single person cuts the rays of the sensor hence it cannot be used when two person cross simultaneously………………………………….
CODE :
If you need the code of this project please join this site as member .After joining as member post your request in comments .. Don't write your mail id . Remember the coding of this project will be strictly given to the members of this site only.....................
i need program for this project........
ReplyDeleteplease give me the code for this project.....
ReplyDeletehai friends you can download the program for this project from the following link
ReplyDeletehttp://www.filesin.com/60FDA350980/download.html
please give me the code for this project
ReplyDeletehai natasa please specify your mail id or join us on google+ or join us member as in our site
ReplyDeleteI would say, that is an excellent project, since you are trying to keep in control something which is a basic element in everyone's life. We use Video Security Surveillance software for Video Tracking. Contact us Delopt
ReplyDeletei have joined this grup now plz can u send me the coding of this project
ReplyDeleteplease give me the code
ReplyDeleteplease provide the code...please
ReplyDeleteplease provide the code to me
ReplyDeleteplease I need this code ...
ReplyDeleteplease give me code for this project.....
ReplyDeleteplease give me code for this project.....
ReplyDeletehai rajan,
ReplyDeletecheck your mail.the code was send to you....
hai prakash,sayed,tejaswini
ReplyDeleteplease specify your mail id or join this site as member.i can't post here due to the lenght of the code'
iprakashece@gmail.com
Deletedear sir i join in this group today please give me the code for the bidirectional visitor counter sir .
ReplyDeletealready i join today as a member in this site.
ReplyDeleteiprakashece@gmail.com
ReplyDeleteplease send the code for this project to my mail is iprakashece@gmail.com.....Thak you.
ReplyDeleteplease send me the code for this project
ReplyDeletehai prakash,
ReplyDeleteCheck your mail.the code was send to you..
i also need the code please mail me at vaibhavw576@gmail.com
Deletethank you sir , i receive that code in mail but that code is in asm code but i need this code in c language.please if you have the code in c means please send that code for my mail sir, thank you.
ReplyDeleteThank you sir i receive that code is in my mail. but that code is in assembly language. i need that code in c language sir. if you have that code in c means please send that code to my mail sir thank you.
ReplyDeletesend this code in c language sir.
ReplyDeletesir please send the code in c language ..
ReplyDeletemy mail id is iprakashece@gmail.com,,
ReplyDeleteplease send me the code in c language for this code sir ,
ReplyDeletesir please send me the code in c language sir please.
ReplyDeletemy mail id is iprakashece@gmail.com thank you sir.
ReplyDelete1
ReplyDeletehello sir, i received this code from my mail but that code is in asm code i need c language code sir , please if you have means send that to my mail sir iprakashece@gmail.com. Thank you sir.
ReplyDeleteplease send me for my project purpose sir.
ReplyDeletehai prakash,
ReplyDeletewhat's the problem using asm coding.why you need c program only???
hello sir , when i use asm code my 7segment not work properly the increment and decrement operations are not work properly.so then only i need c code sir.
ReplyDeletehai prakash,
ReplyDeletethis code is 100% working.there is some other problems in your circuit or connections.check all your connections..which compiler you are using ....use RIDE assembler...
can i get code and can i order all these components from u? u can mail me at cooper51182@gmail.com
ReplyDeletecan i get code and can i order all the stuff for this project?
ReplyDeleteThis comment has been removed by the author.
ReplyDeletehai cooper,
ReplyDeleteThe program was sen.To receive more programs join this site as member.i can't take your order now.After one or two months project kits and parts are available from us.Noq you can see online purchasing websites in the page "online purchasing".....
I need the coding for bidirectional visitor counter
ReplyDeletei need the coding for bidirectional visitor counter
ReplyDeletepls send me the coding for bidirectional visitor counter
ReplyDeleteplease send me the code in c language for this code sir ,..
ReplyDeleteas soon as possible..
Hai nivi and Abhijit
DeleteThe program for BIDIRECTIONAL VISITOR COUNTER is send to ou.The C program for this project will be updated soon
hi.can u please send me code for this project?thanks in advance and more power.
ReplyDeletehi..can u please send me the code for this project?thanks in advance and more power..
ReplyDeletehi please send me code for this project. thanks!
ReplyDeletehi. please send me code for this project..thanks!
ReplyDeletehai xihc join our site us member or specify your mail id.....
ReplyDeletehi raja mani..i already joined the group..
Deletehi raja mani..i already joined the group..my email is adeefom2008@gmail.com
Deleteplz send me the code for these project..
ReplyDeleteHai xihc p & Amar
ReplyDeleteThe program for BIDIRECTIONAL VISITOR COUNTER is send to you.Check your mail
I need the code for this project
ReplyDeleteEmail is: hbsajid@gmail.com
I need the code..
ReplyDeletehbsajid@gmail.com
hai sajid,
ReplyDeleteThe program for BIDIRECTIONAL VISITOR COUNTER is send to you.Check your mail