You can do it using discrete components. This is often referred to as a people counter and is a popular school project. People entering a room increment the count up and people leaving the room decrements the count down. The idea now becomes figuring out if people are coming or going, their direction of travel. The sensors are normally a pair of photo diodes spaced about 6" apart and the circuit using discreet components will look a little like this:hi all ,
i need to count the persons entering the room and go out the room and display the total person inside the room on 7 segments display.
how can i do that without using microcontroller .
regards
You can do it using discrete components. This is often referred to as a people counter and is a popular school project. People entering a room increment the count up and people leaving the room decrements the count down. The idea now becomes figuring out if people are coming or going, their direction of travel. The sensors are normally a pair of photo diodes spaced about 6" apart and the circuit using discreet components will look a little like this:
View attachment 148633
Keep in mind, using a single 7 segment display you can only count up 0 through 9 and count down 9 through 0 people.I suggest you Google the data sheets for the chips used and understand exactly what is going on with the circuit. Again, this sounds like a basic schoolwork project.
Ron
Yes, which is why I suggested it.Thank you
This will work if the people enter and leave the room from the same door ?
Note the above quote and describe exactly what you are trying to do? Additionally if this is schoolwork it should have been posted under schoolwork. I suggested you lookup the data sheets for the circuit I posted and understand how it works.The up-down counter part is relatively simple; there are generations of counter IC's starting in the 60's that will do the work. The problem is the people sensor, the thing that generates an up clock and a down clock. If you are talking about one door that people pass through in both directions, this can be very difficult to sense accurately. Rather than keep us guessing, how about some more information about the physical conditions of the system, more detailed requirements about accuracy, portability, maximum body count, etc?
ak
I mentioned that earlier, you place the sensors about 6" (152mm) apart. I suggested you read the data sheets and understand the logic and how the circuit actually works. I also asked if this is schoolwork?Thank you for your appreciated effort..
Bt how to place the sensors to count the people enter or leave the same door .
It's not a school work.
Regards
You would need two beams separated enough to determine the direction of travel, plus some logic to turn that into clock pulses. Very similar to a quadrature encoder circuit.the sensors have quite a few options, what I like is a small laser and a phototransistor detector.
by Aaron Carman
by Aaron Carman
by Duane Benson
by Aaron Carman