System mounted to doorway

As part of our EECs 300 EE Systems design course's final project, my team developed a people counting device thatĀ Used Arduino software on an ESP32 microcontroller to controlĀ sonar sensors and a custom PCB to count people going in and out of a room

system laid out on benchtop

A battery-powered, wireless 2-Device system with one main board (Board A) and a secondary board (Board B). one board would be mounted on either side of the doorway.

Inner electronics of the device. Seen here are two modules, each with their own sensor and ESp32, daisy-chained together to form the device

device logic:
board A is mounted on the outside 0f a room's entrance, and board B is mounted on the inside of the entrance. when board a is triggered before board b, we know someone has come from the outside into the room. subsequently, when board b is triggered before board a, we know someone has exited the inside of the room to go outside. we thus increment the count of the room when someone has entered it, and decrement the count of the room when someone leaves it.

You may also like

Back to Top