2

I am trying to build a people tracking sensor for counting the traffic of a specific area (building or shopping street). I need to detect people coming in or out of a room, also if two people are walking thorugh an entrance at the same time. I would like to use two infrared sensors and need a simple low cost solution.

Requirements:

  • entrys up to five meters
  • send data to cloud to display in app
  • bidirectional
  • count multiple people passing

Might there be an already existing solution with code that I can just use for my project? Which technology should I use? and which hardware?

zarakl
  • 31
  • 2

1 Answers1

1

Imagine two TOF sensors side by side in a corridor. If sensor 1 triggers, then sensor 2, you have movement in one direction. And vice versa.

If you want to check if there are two people, you must have 4 sensors, so you can measure distance for each side of the corridor. Or, you can place the sensors in two opposite sides and count on the person not moving diagonally.

Sending data to the cloud is easily done with and ESP32.

This is as simple and low-cost as I could think. (Good luck finding a suitable sensor though)