Due to the SARS-CoV-2 pandemie, we had to implement a hygiene plan before re-opening our boulder gym "Kletterthalia".
One part of this plan was to track the number of people in the room and display a chart on our website to let people know if it is worth to take a trip to the gym or not because it is full.
To aid the teller, I build a laser sensor barrier which tracks "objects" entering and leaving the room. Because these numbers can never be 100% accurate, we implemented a function to adjust the number in the tellers management software.
The laser sensor barrier was built using:
- Raspberry Pi 3b
- Photoresistor GL5516 on light sensor module LM393
- Laserdiode module 15 * 6 mm, 5 V
- some case
- Python 3
- Grafana
- InfluxDB
The code for my "PresencePi" alongside with some examples can be found on GitHub