Harry Anderson
Published © GPL3+

Customer Limiting Shop Door Assistant V3 - IoT version

Control the number of customers in a store using a phone app to ensure social distancing.

IntermediateFull instructions provided3 hours4,764
Customer Limiting Shop Door Assistant V3 - IoT version

Things used in this project

Hardware components

Arduino MKR WiFi 1010
Arduino MKR WiFi 1010
Runs off 3.3V.
×1
5V 2.5A Switching Power Supply
Digilent 5V 2.5A Switching Power Supply
×1
5 mm LED: Red
5 mm LED: Red
Choose however many LEDs you desire per sign, just make sue they're within power supply limits, matched with resistors and the MOSFET is within current limits.
×2
5 mm LED: Yellow
5 mm LED: Yellow
×2
5 mm LED: Green
5 mm LED: Green
×2
Ultrasonic Sensor - HC-SR04 (Generic)
Ultrasonic Sensor - HC-SR04 (Generic)
×2
Power MOSFET N-Channel
Power MOSFET N-Channel
This MOSFET is on the safe side. When you pick a MOSFET, make sure it can withstand the current you aim to supply to the LEDs.
×1
Resistor 330 ohm
Resistor 330 ohm
One resistor per LED. You may wish to choose a lower value resistor for the higher voltage LEDs (green) to ensure the same brightness as the red LEDs.
×6

Software apps and online services

Arduino Web Editor
Arduino Web Editor
Arduino IoT Cloud
Arduino IoT Cloud
MIT App Inventor 2
MIT App Inventor 2

Story

Read more

Schematics

LED Circuits

Here I have shown what a circuit with 6 LEDs would look like. Adapt the branches of LEDs/resistors to suit your need.

Ultrasonic Sensor Pins

These are 5V powered but 3.3V logic controlled.

Code

shopDoorAssistant2.aia

Java
This application can be imported in MIT App Inventor 2.
No preview (download only).

Arduino Code

C/C++
No preview (download only).

Credits

Harry Anderson

Harry Anderson

4 projects • 22 followers
20 year old engineering student. --Currently studying--

Comments