source code bidirectional visitor counter using ldr
#1

[b]bidirectional visitor counter using ldr in this blank [/b]
Reply
#2
Bi-directional visitor counter circuit principle:


The circuit operates according to the principle of IR detection. Two sets of IR sensors consisting of an IR LED and a phototransistor are placed at two ends. The output of each sensor is fed to the microcontroller. In normal operation, the infrared LED light would fall on the phototransistor and this would act. The sensor output would be a low logic signal in this case. In case of any interruption (due to any person crossing the road), the phototransistor would stop driving or drive less and the sensor output would be a high logic signal. The low-to-high transition for each pair of sensors is detected by the microcontroller and, as a result, the count will increase or decrease.

[Image: Bi-Directional-Visitor-Counter-Circuit-Diagram.jpg]

Circuit Components:

Here is the list of components and their corresponding values used in this circuit.
• R1, R3 - 760 ohms
• R2, R4-3K
• R5 - 10K
• C1 - 10uF, electrolyte
• C2, C3-15pF
• X1 - 12MHz Crystal
• U1 - AT89C51
• U4 - 7 segment 7 segment display
• D1, D2 - LED IR
• Phototransistor Q1, Q2 - IR

Circuit design:

The heart of the circuit design lies in the design of the microcontroller interface. Here we use the microcontroller AT89C51 which is a microcontroller of the 8051 family. The AT89C51 microcontroller is interconnected to the pairs of IR sensors in two port pins - P1.0 and P1.1, respectively. The 7-segment 2-segment display is connected to the microcontroller at ports P0 and P2.

Another important aspect of the design involves designing the oscillator circuit and the reset circuit. The oscillator circuit is designed by selecting a 12MHz quartz crystal and two ceramic capacitors - each 15pF. The reset circuit is designed by selecting a 10K resistor and a 10uF electrolyte capacitor to ensure a 100ms reset pulse width and a 1.2V reset pin voltage drop.

The sensor circuit is designed by selecting the appropriate value of the resistors for the LED and the phototransistor. Since here the voltage of the source is 5V and the drop of IR front voltage is about 1.2V, the resistance value (in the current of 5mA) is estimated to be about 760 ohms. The phototransistor used here is the silicon NPN transistor QSC112 with the maximum collector of 4mA. As we are using the phototransistor in switching mode, the required collector resistance must be greater than 1.25K (Vcc / Ic = 5/4). Here we choose a resistance of 5K.
Reply

Important Note..!

If you are not satisfied with above reply ,..Please

ASK HERE

So that we will collect data for you and will made reply to the request....OR try below "QUICK REPLY" box to add a reply to this page
Popular Searches: bidirectional visitor counter using ne555, workingof digital object counter using ldr and digital ic, pic with ldr microc code, 2 digit entry counter using ldr, digital counter using ldr, c code visitor counter by keil, working object counter using ldr,

[-]
Quick Reply
Message
Type your reply to this message here.

Image Verification
Please enter the text contained within the image into the text box below it. This process is used to prevent automated spam bots.
Image Verification
(case insensitive)

Possibly Related Threads...
Thread Author Replies Views Last Post
  voice vased email system source code 0 3,123 20-04-2021, 07:59 AM
Last Post:
  ns2 source codes free download for hello flood attack 0 2,829 31-10-2018, 02:42 PM
Last Post: Guest
  voice based email for blinds source code 0 711 22-10-2018, 05:12 PM
Last Post: Guest
  source code for blood group detection in matlab 0 6,446 22-10-2018, 10:59 AM
Last Post: Guest
  voice based email for blinds source code 0 697 21-10-2018, 07:58 PM
Last Post: Guest
  voice based email for blinds source code 0 634 21-10-2018, 07:43 PM
Last Post: Guest
  source code for hall ticket generation in php 0 2,101 08-10-2018, 10:00 PM
Last Post: Guest
  crack detection in railway track using led ldr project report 0 8,677 04-10-2018, 06:19 PM
Last Post: Guest
  voice based email for blinds source code 0 644 28-09-2018, 02:42 PM
Last Post: Guest
  heart disease prediction system source code for matlab 0 771 27-09-2018, 04:40 PM
Last Post: Guest

Forum Jump: