Blog posts about Education, CyberSecurity, Digital Citizenship, Privacy, InternetSafety, curation, PKM, PLN, blogging, Global Collaboration, Coaching, Collaboration, eSkills, eLeadership, Coding, MakerED, MakerSpace, Social Media, How to learn, learning to learn
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:
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 andSecurityEnhancementStructure). 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”.
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:
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 andSecurityEnhancementStructure)..
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).
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:
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) 😉
.
.
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 andSecurityEnhancementStructure). 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”.
Valentine’s Day is around: GET creative with an LED Matrix and an Arduino!
[Start Text Wikipedia] Valentine’s Day, also called Saint Valentine’s Day or the Feast of Saint Valentine,[2] is celebrated annually on February 14. Originating as a Western Christian feast day honoring one or two early saints named Valentinus, Valentine’s Day is recognized as a significant cultural, religious, and commercial celebration of romance and romantic love in many regions around the world. [End Text Wikipedia]
A tradition worldwide around is to give flowers to his loved one, so WHY NOT ALSO a small electronic device which shows a heart on a LED Matrix?!! It is NOT expensive and gives a certain “special” feeling to your loved one 😉 And ALSO, I give you the “ready code” to start it straight on. You don’t need to create the “Heart Character” before, BUT I will give you ALSO the link to the tutorial who explains very well the How-To!
Please check below the tutorials with the wiring and the code:
All you need now is to bring it into a box for a nicer presentation and to give it as a gift to your love!
Secret tip: Use as well a LCD with scrolling text, where you can program then a special personal text message for your love. Please check my tutorial below:
Keywords necessary for me to create this blog post: Arduino UNO R3, Arduino NANO, LCD 1602, I2C Bus, coding, learning to learn, learning by doing, LED Matrix, Valentine’s Day, Character Generator for LED Matrix,
.
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 andSecurityEnhancementStructure). 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”.
When fixing a small object there isn’t any problem, you just drill a hole of the diameter of the axis of the Stepper-Motor and fix it with hot glue or instant glue. BUT, when it comes to make rotating larger objects it will become unstable!! We need then also a larger support plate to fix the object. I used two techniques, one with a copper-plate of 0.8 mm (was still in my cellar for 30 years…) and/or a single-sided copper-Epoxy plate. Copper-plates are expensive and single-sided copper-Epoxy plates are on a less expensive price. They are about 0.65-1€/piece on Amazon.
For our Xmas project we will use a plastic star with LEDs which will get fixed the following way, check below please.
Single-sided Copper-Epoxy plate
Single-sided Copper-Epoxy plate
Click image, please, to enlarge.
Single-sided Copper-Epoxy plate
Single-sided Copper-Epoxy plate
Click image, please, to enlarge.
Mounting and fixing of the Stepper-Motor
Click image, please, to enlarge.
Mounting and fixing of an object
Support for Xmas decoration
Click image, please, to enlarge.
Support for Xmas decoration
Support for Xmas decoration
Click image, please, to enlarge.
Support for Xmas decoration
Support for Xmas decoration
Click image, please, to enlarge.
.
As Xmas star I used one from Amazon, please check below:
Once the Xmas Star fixed together with the Stepper-Motor, cabled and the the Code tested, WE fix our LED matrix with hot-glue, cabling it and running the Code for a last test:
Rotating Xmas Star with Stepper-Motor and Scrolling Text with LED Matrix
.
Please, check above image (photo) where you will see the How-To to implement on an easy wiring way the components.
More explanations to come, stay tuned…
..
.
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 andSecurityEnhancementStructure)..
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).
Make objects rotating with a Stepper-Motor | Tips and Tricks
Well, in a previous tutorial <===> https://gustmees.wordpress.com/2018/09/19/halloween-project-with-skull-arduino-blinking-leds-and-scrolling-eyes-maker-makered-makerspaces/ <===> we created a Halloween Skull and it was fix, didn’t rotate. Fun? YES, BUT more fun when it is rotating by using a Stepper-Motor; looks then as it would observe, control the space around it 😉 And it is very easy to create, only a Stepper-Motor, an Arduino NANO and a bit Code; the rest is a bit manual work to fix mechanically the motor. And with the right tools the mechanical work is a piece of cake 😉. We will discuss ONLY the mechanical works and for the the code (Sketch) for the Arduino, please look at the following tutorial:
When fixing a small object there isn’t any problem, you just drill a hole of the diameter of the axis of the Stepper-Motor and fix it with hot glue or instant glue. BUT, when it comes to make rotating larger objects it will become unstable!! We need then also a larger support plate to fix the object. I used two techniques, one with a copper-plate of 0.8 mm (was still in my cellar for 30 years…) and/or a single-sided copper-Epoxy plate. Copper-plates are expensive and single-sided copper-Epoxy plates are on a less expensive price. They are about 0.65-1€/piece on Amazon.
First of all chose on what material you would like to fix the Stepper-Motor: this could be metal, plastic, cardboard or wood. As I like recycling, I ask in the Supermarket to get an empty wooden wine box. The Supermarket sometimes opens a six-pack of wine bottles in a wooden case (box) and they are happy NOT to recycle it themselves 😉 Here below an example for a Halloween project…
.
Wooden box front view
Click image, please, to enlarge.
Wooden box rear view
Click image, please, to enlarge.
Mounting and fixing of the Stepper-Motor
Click image, please, to enlarge.
Mounting and fixing of an object
Click image, please, to enlarge.
Skull glued on copperplate with Stepper-Motor
Click image, please, to enlarge.
Skull is fixed on the wooden box – happy-Halloween-rotating-skull
Click image, please, to enlarge.
.
Desription:
Drill a hole with a 6 mm drill in your support, then use the 32 mm Step-Drill to make the hole diameter fit to the diameter of the Stepper-Motor. Fix the Stepper-Motor. I used a copper-plate for having a large surface to fix the chosen rotating object. The axis from the Stepper-Motor is made from brass and that fits very well with copper for soldering them together. For the soldering you need an 80 Watt solder iron with a temperature of 430° C (806° F). Before you start soldering: clean the copper-plate, take off the patina first!! Same step for the single-sided Copper-Epoxy plate!!
.
Single-sided Copper-Epoxy plate
Single-sided Copper-Epoxy plate
Click image, please, to enlarge.
Single-sided Copper-Epoxy plate
Single-sided Copper-Epoxy plate
Click image, please, to enlarge.
Mounting and fixing of the Stepper-Motor
Click image, please, to enlarge.
Mounting and fixing of an object
Support for Xmas decoration
Click image, please, to enlarge.
Support for Xmas decoration
Support for Xmas decoration
Click image, please, to enlarge.
Support for Xmas decoration
Support for Xmas decoration
Click image, please, to enlarge.
.
Desription:
Above you see an example for a Xmas project, tutorial will follow soon, stay tuned 😉
.
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 andSecurityEnhancementStructure)..
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).
Well, in a previous tutorial <===> https://gustmees.wordpress.com/2018/09/19/halloween-project-with-skull-arduino-blinking-leds-and-scrolling-eyes-maker-makered-makerspaces/ <===> we created a Halloween Skull and it was fix, didn’t rotate. Fun? YES, BUT more fun when it is rotating by using a Stepper-Motor; looks then as it would observe, control the space around it 😉 And it is very easy to create, only a Stepper-Motor, an Arduino NANO and a bit Code; the rest is a bit manual work to fix mechanically the motor. And with the right tools the mechanical work is a piece of cake 😉 Let us have first a look of the parts and the costs, followed by the mechanical works and then the code (Sketch) for the Arduino.
First of all chose on what material you would like to fix the Stepper-Motor: this could be metal, plastic, cardboard or wood. As I like recycling, I ask in the Supermarket to get an empty wooden wine box. The Supermarket sometimes opens a six-pack of wine bottles in a wooden case (box) and they are happy NOT to recycle it themselves 😉 Here below an example for a Halloween project…
.
Wooden box front view
Click image, please, to enlarge.
Wooden box rear view
Click image, please, to enlarge.
Mounting and fixing of the Stepper-Motor
Click image, please, to enlarge.
Mounting and fixing of an object
Click image, please, to enlarge.
Skull glued on copperplate with Stepper-Motor
Click image, please, to enlarge.
Skull is fixed on the wooden box – happy-Halloween-rotating-skull
Click image, please, to enlarge.
.
Desription:
Drill a hole with a 6 mm drill in your support, then use the 32 mm Step-Drill to make the hole diameter fit to the diameter of the Stepper-Motor. Fix the Stepper-Motor. I used a copper-plate for having a large surface to fix the chosen rotating object. The axis from the Stepper-Motor is made from brass and that fits very well with copper for soldering them together. For the soldering you need an 80 Watt solder iron with a temperature of 430° C (806° F). Before you start soldering: clean the copper-plate, take off the patina first!!
.
The wiring
.
Stepper-Motor example
.
The wiring is actually very simple, please look below:
.
Click image, please, to access the tutorial and the source of the image.
.
The Code
Please find below the Sketch (Code) which is very simple
.
Click image, please, to access the source of the code.
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 andSecurityEnhancementStructure)..
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).
Servo Motor Position displayed on 0.96 inch 128X64 I2C OLED
WE were playing around already with OLED displays in previous tutorials <===> https://gustmees.wordpress.com/?s=oled <===> where WE created an Analog-Digital Clock a Temperature/Humidity Monitor with “Heat-Index” and Text messages on the OLED. In this tutorial WE will display the angle of a rotating Servo-Motor on an OLED.
This is actually very easy and WE will learn also (for those who want so…) the different coding for OLEDs here below:
Click the image, please, to access the source of the image and tutorials.
.
TIP
Fix the Servo-Motor on cardboard or on a wooden, plastic, plate. Glue a white paper on it and mark the angles on the paper. This would be a nice project for schools 😉
Play around with the code to add some more angles ===> LEARNing-By-Doing 😉
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 andSecurityEnhancementStructure)..
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).
WE were playing around already with OLED displays in previous tutorials <===> https://gustmees.wordpress.com/?s=oled <===> where WE created an Analog-Digital Clock and a Temperature/Humidity Monitor with “Heat-Index”. In this tutorial WE will display text on an OLED.
This is actually very easy and WE will learn also (for those who want so…) the different coding for OLEDs here below:
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 andSecurityEnhancementStructure)..
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).
This time WE will create a “Analog-Digital Clock” using the RTC DS3231 + 0.96 inch 128X64 I2C OLED. It’s quite easy to realize: only a few connections for the wiring and a Copy&Paste of an existing Sketch (Code)..
.
.
The Code
It’s very easy, just Copy&Paste the Sketch (Code) from below address.
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 andSecurityEnhancementStructure)..
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).
Check my #curation to find best articles, blogs and courses about #education #itsecurity #CyberSecurity #EdCollCoach #GlobalEDU #cyberbullying, #AR #RA #augmentedreality #health #science #QR #qrcodes in EN, FR, DE…
Play the FREE Game and Learn about Cyber Security and Coding
App Advisor
App Advisor helps safe-guard your personal data by telling you exactly which apps you should be cautious of, before they become a threat to your privacy.
Click image to use this free service and find out of your installed Apps are “privacy-friendly” or check new Apps before installing them!
RT @AFP: #UPDATE Sweden's ruling Social Democratic Party on Sunday said it was in favour of joining NATO, reversing its decades-long opposi… 14 hours ago
RT @WDRaktuell: Nach Finnland will auch Schweden in die NATO. Die schwedische Regierungspartei hat dafür gestimmt, einen Aufnahme-Antrag zu… 14 hours ago