RSS

Tag Archives: Social Distancing

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

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

 

.


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

.

..

.

 

 

Tags: , , , , , , , ,

Social Distancing Monitor with Alarm, Arduino NANO and I2C LCD2004 Display | Maker, MakerED, Maker Spaces, Coding

Social Distancing Monitor with Alarm, Arduino NANO and I2C LCD2004 Display | Maker, MakerED, Maker Spaces, Coding

.

 

 

.


Social Distancing Monitor with Alarm, Arduino NANO and I2C LCD2004 Display

In previous tutorial we were using an LCD1602 display, this time we will use an LCD2004 display which gives us the opportunity to display on four (4) lines. That enables us to display more accurate text.

The wiring is exactly the same as already mentioned in previous tutorial, there is ONLY to make a few changes in the code, please check:

The complete Code fr an LCD1602 display could get downloaded in “.doc” format below.

Download and open the document, copy it and bring it in a NEW Sketch of the Arduino IDE. Upload it to the Arduino Nano and have fun with it!

SO, once uploaded we will need to change some code to make it work for an LCD2004 display, we will see how below.

.

Click image, please, to enlarge.

.

Click image, please, to enlarge.

.

Well, as you can see there isn’t a lot of changes, easy!! A 5 minutes project 😉 Once you have changed the mentioned lines, upload the code again.

And IF you want to START straight on, here below is the code in .doc format:

 

.

 

Stay tuned for next blog post(s) 😉

.


.

GUST-AVRIL2014-800px-2L’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). L’auteur était aussi gagnant d’un concours en électronique en 1979 ( Pays germaniques ) et voyait son projet publié dans le magazine électronique “ELO”.


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

The author was also a winner of an electronics contest (Germanic countries) in 1979 and got his project published in the “Electronics Magazine ELO”.

.

.

.

.

 

 

 

Tags: , , , , , , , , , , , , , , , , , , , , , , , , , ,

Social Distancing Monitor, Arduino NANO and I2C OLED Display | Maker, MakerED, Maker Spaces, Coding

Social Distancing Monitor, Arduino NANO and I2C OLED Display | Maker, MakerED, Maker Spaces, Coding

.

.


Social Distancing Monitor, Arduino NANO and I2C OLED Display

In times of the Coronavirus-Crisis (Covid_19), it might be GOOD to respect the 2 meters distance to avoid getting infected!!! But not everybody can estimate distances, nor are ALL persons respecting the 2 meters rule!!! So came the idea to build an easy to realize gadget, which measures the distance when the 2 meters are not respected.

First of all, like usual, I was searching the internet to find out if there isn’t already such a project around. And YES, there is one; I found a tutorial with an Arduino UNO with provided code as well. Please check below:

In a previous tutorial WE were already using a “Social Distancing Monitor with Alarm, Arduino NANO and I2C LCD1602 Display“, check below please for revision:


Connecting the HC-SR04 Ultrasonic Sensor:

 

Connections to the Arduino NANO:

Vcc+ gets connected to + 5V

GND to GND

ECHO gets connected to PIN 10

TRIGGER gets connected to PIN 9

.


Connecting the 128×64 SSD1306 OLED Display

Click the image, please, to access the source of the image and tutorials.

Click the image, please, to access the tutorials.


THE Code

For the code (Sketch), with theory explications, please check below:

All you need NOW is to put everything into a case… Have fun and stay safe!!

.

 

128 x 64 Pixel 0.96 Inch I2C OLED Display

 

Click image, please, to enlarge.

Arduino NANO

ARDUINO NANO

Click image, please, to enlarge.

 

Click image, please, to enlarge.

 

 
.

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

.

.

.

.

.

.

 

 

 

Tags: , , , , , , , , , , , , , , , , , , , , , , , , , ,

Social Distancing Monitor with Alarm, Arduino NANO and I2C LCD1602 Display | Maker, MakerED, Maker Spaces, Coding

Social Distancing Monitor with Alarm, Arduino NANO and I2C LCD1602 Display | Maker, MakerED, Maker Spaces, Coding

.

.


Social Distancing Monitor with Alarm, Arduino NANO and I2C LCD1602 Display

In times of the Coronavirus-Crisis (Covid_19), it might be GOOD to respect the 2 meters distance to avoid getting infected!!! But not everybody can estimate distances, nor are ALL persons respecting the 2 meters rule!!! So came the idea to build an easy to realize gadget, which measures the distance and gives an alarm when the 2 meters are not respected.

First of all, like usual, I was searching the internet to find out if there isn’t already such a project around. And YES, there is one; I found a tutorial with an Arduino MEGA and a LCD1602 ISP with provided code as well. Please check below:

 

This tutorial gave me the idea to start. Instead an Arduino MEGA, I used an Arduino NANO; and instead of an LCD1602 ISP, I used an LCD1602 I2C.

Thus meaning: it needs a bit to adjust the code in the sketch in the above mentioned tutorial and it’s LESS cabling, wiring needed to connect the I2C LCD1602 display.

WE played around already with I2C LCD1602 in my tutorial below, please check:

SO, here we go for the wiring… Below the wiring for the I2C LCD1602 with the Arduino NANO

:

I2C LCD1602 PINOUT-Arduino NANO

.

LCD-I2C-PINOUT-ARDUINO


Connecting the HC-SR04 Ultrasonic Sensor:

 

Connections to the Arduino NANO:

Vcc+ gets connected to + 5V

GND to GND

ECHO gets connected to PIN 10

TRIGGER gets connected to PIN 9


Connecting the Buzzer for the acoustic Alarm:

 

The + sign of the Buzzer gets connected to PIN 8 of the Arduino NANO and the other pin to GND!

Below you see the prototype with wiring.

.

 

.


The code

Here below see a preview of the Code:

Code preview

The complete Code could get downloaded in “.doc” format below.

Download and open the document, copy it and bring it in a NEW Sketch of the Arduino IDE. Upload it to the Arduino Nano and have fun with it!


Ordering the necessary parts

.

LCD1602 + I2C Modul

LCD1602-I2C

Click image, please, to enlarge.

Arduino NANO

ARDUINO NANO

Click image, please, to enlarge.

 

Click image, please, to enlarge.

 

 

Click image, please, to enlarge.

.

All you need now is to put everything into a case. I was choosing a cardboard (recycling) 😉

.

Social Distancing Monitor

 

 

 

Click image, please, to enlarge.

Social Distancing Monitor

 

 

Click image, please, to enlarge.

 

Social Distancing Monitor

Click image, please, to enlarge.

 

 

.

.

 

Stay tuned for next blog post(s) 😉

.


.

GUST-AVRIL2014-800px-2L’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). L’auteur était aussi gagnant d’un concours en électronique en 1979 ( Pays germaniques ) et voyait son projet publié dans le magazine électronique “ELO”.


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

The author was also a winner of an electronics contest (Germanic countries) in 1979 and got his project published in the “Electronics Magazine ELO”.

.

.

.

.

.

.

.

.

.

 

Tags: , , , , , , , , , , , , , , , , , , , , , , , , , ,