There are many businesses today that must adhere to certain capacity caps, especially since Covid, I have noticed many workers being assigned to the entryway to count patrons as they come and go. There's no telling how accurate that count is, and I thought about how I could automate that.
For this project prototype, I build one wooden tower loaded with air quality sensors, water pump for auto watering, and a switch case machine which determines which of two lasers was crossed first, then decides whether it is a case that calls the counter++ or counter-- variable.. This variable is only called in two different cases. This allows the code to hold a total people count, even as people are coming in and going out.
Once a set capacity is met, then the neoPixels at the top of the tower turn from green, to red. This visual aid is high enough for people to see it far away, and ensure someone doesn't go into a space at capacity, until a patron leaves. At that point, the neoPixels will turn back to green,
Green gives the go-ahead for people to continue to come in space.
A key add-on feature that is important to this project is the air quality monitor for indoor air pollution. The qualitative data is displayed on the OLED, and then the quantitative data is published to the Adafruit dashboard, along with other data.
There is automatic and manual plant watering because plants are great air scrubbers, and indoor air quality really needs to be analyzed and assessed, especially in small spaces with heavy human foot traffic.
If you have any questions or concerns/suggestions for add-ons, please let me know! Thanks for looking at my project!