
.
Social Distancing Monitor, Arduino NANO and Neopixel Ring
We realized already several projects for Social Distancing with LCD and OLEDs ===> https://gustmees.wordpress.com/?s=social+distancing and this time WE will use a Neopixel Ring who changes the color from green to orange and then to red depending on how close WE come to the 2 metres.
WE will have a look on the video who inspired me and where you will find more information:
Connecting the HC-SR04 Ultrasonic Sensor:
Connections to the Arduino NANO:
Vcc+ gets connected to + 5V
GND to GND
ECHO gets connected to PIN 2
TRIGGER gets connected to PIN 3
.
Connecting the NEOPIXEL Ring:
.
Click image, please, to enlarge. |
|
|
|
||
Connections to the Arduino NANO:
Vcc+ gets connected to + 5V
GND to GND
DI gets connected to PIN 6
.
.
WS2812 5050 RGB LED Ring Lamp Light Click image, please, to enlarge. |
Click image, please, to enlarge. |
|
Click image, please, to enlarge.
|
||
THE code
Copy and paste it into the Arduino IDE and have fun 😉
![]() The author Gust MEES is ICT Course Instructor, ”Member of the Advisory Board” from “Luxembourg Safer Internet” (LuSI), BEESECURE, Official Partner (Consultant) from the Ministry of Education in Luxembourg, project “MySecureIT“, Official Partner from the Ministry of Commerce in Luxembourg, project “CASES” (Cyberworld Awareness and Security Enhancement Structure). |
.
Stay tuned for next blog post(s) 😉
.
..
.