Social Distancing Monitor, Arduino NANO and Neopixel Ring | Maker, MakerED, Maker Spaces, Coding

Authors

 

.


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:

.

 

24 Bit NEOPIXEL-Ring (24 LEDs) Frontview

 

 

Click image, please, to enlarge.

24 Bit NEOPIXEL-Ring (24 LEDs) Rearview

 

 

 

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.

Arduino NANO

ARDUINO NANO

Click image, please, to enlarge.

 

Click image, please, to enlarge.

 

 
.
.

THE code

Please find below the code which I used in .doc format::

Copy and paste it into the Arduino IDE and have fun 😉

.

.
L’auteur Gust MEES est Formateur andragogique / pédagogique TIC, membre du “Comité Conseil” de “Luxembourg Safer Internet” (LuSI), appelé maintenant BEESECURE, partenaire officiel (consultant) du Ministère de l’éducation au Luxembourg du projet  ”MySecureIT“, partenaire officiel du Ministère du Commerce au Luxembourg du projet ”CASES” (Cyberworld Awareness and Security Enhancement Structure)..


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) 😉

.

..

.

 

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google photo

You are commenting using your Google account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s

This site uses Akismet to reduce spam. Learn how your comment data is processed.