Project: People counter

Discussion in 'The Projects Forum' started by adriang, Mar 8, 2013.

  1. adriang

    Thread Starter New Member

    Nov 17, 2012
    8
    0
    Hello,

    I want to build a project for school that can count people who pass in a room. I am thinking to use an Ir sensor Rx and Tx.The result must be displayed on a screen of computer.
    In the first phase i don't know what microcontroller i can use to obtain great performance.

    Any idea, books, schema or advice it would help me.Thanks in advance.
     
  2. tshuck

    Well-Known Member

    Oct 18, 2012
    3,531
    675
    You needn't have great performance. However, you need to think of how you are going to connect the device to a computer. These are pretty handy if you have Bluetooth available on the computer, or there are USB to TTL converters about. Going either of these routes, you would be better off with a microcontroller with a hardware UART module, otherwise, you have to do it in software.

    Personally, I use PIC microcontrollers. Many of them would be more than enough to accomplish the task.

    As far as the detection of people, the Ir sensor seems reasonable. You should probably go look up opto-interruptors and the means to use them effectively.
     
    adriang likes this.
  3. THE_RB

    AAC Fanatic!

    Feb 11, 2008
    5,435
    1,305
    People counting is quite difficult in practice. One big problem is that people will "clump together" so when they go through the doorway it will register a single pulse and only count 1 person even though 4 people were clumped together.

    In a school where people are impatient and have closer personal distances this is going to be a big problem.
     
    adriang likes this.
  4. djsfantasi

    AAC Fanatic!

    Apr 11, 2010
    2,815
    835
    And do you need to take into account people leaving? If four people enter, and two leave - what will your counter show? Six or two?
     
  5. MrChips

    Moderator

    Oct 2, 2009
    12,452
    3,371
    Use a turnstile with a mechanical counter.
     
  6. adriang

    Thread Starter New Member

    Nov 17, 2012
    8
    0
    Six. The entire number will be devided by 2 to see the real number of people that was in that room. Thanks
     
  7. adriang

    Thread Starter New Member

    Nov 17, 2012
    8
    0
    Thanks for the idea. I must use infrared beam, or something cheaper.
     
  8. adriang

    Thread Starter New Member

    Nov 17, 2012
    8
    0
    Yes, you have right. In this case I don't know how to resolve this problem when i use infrared sensor. Can I use another sensor to resolve this error(must be cheaper) ?Thanks
     
  9. adriang

    Thread Starter New Member

    Nov 17, 2012
    8
    0
    Thanks for the answer. I am not decided yet how i will make the conection between the device and computer. But , in this moment I am thinking to use the usb conection or rs232.Can you tell me which is the easiest and cheapest option? Thanks
     
  10. THE_RB

    AAC Fanatic!

    Feb 11, 2008
    5,435
    1,305
    Commercial designs use a downward facing camera, and very sophisticated software to examine the camera data and count people in each "clump". It's not easy, especially if people have bags or push trolleys etc.

    As far as putting a cheap beam sensor across a doorway, I think it will not be accurate UNLESS you train everyone to go through the doorway one by one, with clear distance between people. Even then, if someone is swinging their arm or has a backpack etc it might make 2 pulses for that 1 person.
     
  11. MrChips

    Moderator

    Oct 2, 2009
    12,452
    3,371
    I was going to say aim a camera from above and use image recognition software.
    Or hire some to operate one of those pushbutton people counters.
     
  12. win070707

    New Member

    May 16, 2013
    1
    0
    We have a solution for you:
    SensMax is a manufacturer of <a href="http://sensmax.eu/">people counting solutions</a>that provides <a href="http://sensmax.eu/">automatic people counting</a> using <a href="http://sensmax.eu/">wireless people counters</a>
     
Loading...