RSS

Tag Archives: learning by doing

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: , , , , , , , , , , , , , , , , , , , , , , , , , ,

First Steps with the Arduino-UNO and NANO | Maker, MakerED, MakerSpaces, Coding | Servo Motor Position displayed on 0.96 inch 128X64 I2C OLED

First Steps with the Arduino-UNO and NANO | Maker, MakerED, MakerSpaces, Coding | Servo Motor Position displayed on 0.96 inch 128X64 I2C OLED

.

.


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:

.


The Code (Sketch)

There is an already existing sketch existing which WE will use, please use the link below to download the code:

The tutorial where the Sketch (Code) is located is in German, BUT that shouldn’t be a problem 😉

For those who want to experiment a bit around with OLEDs, here my recommendation with ready codes and very well explained tutorials:

.


The libraries

You might need to add certain libraries, see below please which ones will GET needed, please.

 

Click the image, please, to enlarge.

 

IF a newbie, please check the below tutorial for the How-To:

 

 


The Wiring

.

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

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

.


TIP

thumbs upFix 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 😉

.

.


Prices and where to order

 

128 x 64 Pixel 0.96 Inch I2C OLED Display

 

Click image, please, to enlarge.

Arduino NANO

ARDUINO NANO

Click image, please, to enlarge.

 

 

6 x Servo for Arduino, Raspberry Pi, Drohnen SG90 9g Small Servo Motor

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: , , , , , , , , , , , , , , , , , , , , , ,

LEARN from the BEST – Tutorials about Coding, Maker, MakerED, MakerSpaces / Arduino

LEARN from the BEST – Tutorials about Coding, Maker, MakerED, MakerSpaces / Arduino

.

.


LEARN from the BEST

Well, after a couple of years online and checking Maker, MakerED projects on YouTube and elsewhere I encountered a LOT of projects WHICH DIDN’T work and later I found out the right addresses to follow WHERE I could say THAT’s the guys to follow to make sure NOT wasting time and efforts!!!

Here below a list of professional accounts and Blogs worth to follow:

The above listed ones are my favorites, I will update the list as soon as I find OTHERS!

Meanwhile you can check ALSO my curation:

And IF interested ALSO my tutorials on my Blog:

And here my videos on YouTube:

.

 


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: , , , , , , , , ,

First Steps with the Arduino-UNO R3 | Maker, MakerED, MakerSpaces, Coding | EASTER Egg with NeoPixels WS2812B

First Steps with the Arduino-UNO R3 | Maker, MakerED, MakerSpaces, Coding | EASTER Egg with NeoPixels WS2812B

.

.


EASTER Egg with NeoPixels WS2812B made from cardboard

.

.

Soon there will be EASTER and decorations are getting put around the house worldwide as it is tradition since ages to do so. That’s also the time for tinkerers, makers to GET some new ideas. Well, I thought on a project which everybody could do without having a 3D-Printer NOR a Laser cutter at home and not having access to them on other places. SO, I tried out to create a EASTER-EGG from cardboard using an Arduino UNO and Neopixels…

I recently bought 1 Meter of Neopixels WS2812B with 60 LEDs and tried it out while wife was looking at it and she told me if that wouldn’t be an idea for making a Easter-Decoration, e.g. an egg. I took that challenge and a day later it was working, LOL 😉 I used a 3,5 mm thick cardboard from a red wine box which was stable enough to create the project.

I copied an image (the orange egg) from an Easter-Egg which I found on the internet (license-free), glued it on the cardboard and cut it out.

 

You may have a look on this Tutorial to know a bit more about the handling of Neopixel LEDS, please:

The project itself by cabling is actually VERY easy, ONLY 3 wires, the MOST work is on the mechanical part by cutting the cardboard, painting, soldering the Neopixels WS2812B strip and to put everything into a box with the necessary parts, while drilling, etc. WE will see this in detail by following PICS… But first let us solder and interconnecting the Neopixels LEDs strips, you need to follow the arrows on the strips to connect each of the LED strips, thus meaning: see PICs please:

Follow the arrows

.

.

Once all the LED strips are interconnected, you can connect the other 28 LEDs to the point marked with “START” and connect them to the ARDUINO UNO board through a screw terminal to make the first tests. Please check the tutorial below with the code for the How-To:

IF everything is working, hopefully, we can go for the integration of the components into a housing. TIP: prepare the ARDUINO UNO (NANO) already with the code uploaded and test after each LED strips connected to make sure it will work!! it’s BETTER to invest time for NOT later having trouble and NOT knowing from where the fault comes 😉

.

.

 

.

Housing (case) for Xmas Star

Housing (case) for Xmas Star

Click image, please, to enlarge

 

Housing (case) for Xmas Star

Housing (case) for Xmas Star

Click image, please, to enlarge.

 

Housing (case) for Xmas Star

Housing (case) for Xmas Star

 

Housing (case) for Xmas Star

Housing (case) for Xmas Star

Click image, please, to enlarge.

 

 

Soldering inside the housing (case) for Xmas star

Soldering inside the housing (case) for Xmas star

Click image, please, to enlarge.

Soldering inside the housing (case) for Xmas star

Soldering inside the housing (case) for Xmas star

Click image, please, to enlarge.

 

 

Well, you have seen NOW the different mechanical steps and the soldering inside the housing, that’s the preparation, now we have to connect as well the Xmas star to the Arduino… We will use a 3 x 0.75 mm² cable to do so, find below, please, some PICs which show you the How-To, as well as the components with links to purchase them (I used AMAZON.DE), feel FREE to purchase them where you want:

 

Finished housing for Xmas star

Finished housing for Xmas star

Click image, please, to enlarge.

 

 

BTF-LIGHTING 1M 60 LEDs/Pixels/m WS2812B Schwarz PCB RGB adressierbare Strip 

WS2812B-1m-60 LEDs

Click image, please, to enlarge.

AMAZON.DE

https://www.amazon.de/gp/product/B01CDTEE5W

 

2 x 170mm x 105mm x 85mm Waterproof Plastic Enclosure Case Power Junction Box

2 x 170mm x 105mm x 85mm Waterproof Plastic Enclosure Case Power Junction Box

Click image, please, to enlarge.

AMAZON.DE

https://www.amazon.de/gp/product/B06XDK3GFT

 

Aussel 10 Stück AC 125 V 6A ON-ON 3 Pins 2 Position Mini Kippschalter für Arduino

Aussel 10 Stück AC 125 V 6A ON-ON 3 Pins 2 Position Mini Kippschalter für Arduino

Click image, please, to enlarge.

AMAZON.DE

https://www.amazon.de/gp/product/B077D9FRGL

 

Ehao 20 Stück Kupfer 5mm Leuchtdiode LED-Lampensockel-Montage-Panel-Display

Ehao 20 Stück Kupfer 5mm Leuchtdiode LED-Lampensockel-Montage-Panel-Display

Click image, please, to enlarge.

AMAZON.DE

https://www.amazon.de/gp/product/B01MRVAFGK/

10 Stück Wentronic EDC 21 L DC-Einbaubuchse Stift 2,1 mm,geschl.

10 Stück Wentronic EDC 21 L DC-Einbaubuchse Stift 2,1 mm,geschl.

Click image, please, to enlarge.

AMAZON.DE

https://www.amazon.de/gp/product/B00DDQ7EVG/

.

 

WINOMO DC 12V 1A CCTV Kamera Netzteil EU Stecker (Schwarz)

WINOMO DC 12V 1A CCTV Kamera Netzteil EU Stecker (Schwarz)

 

AZDelivery ⭐⭐⭐⭐⭐ UNO R3 mit USB-Kabel, 100% Arduino kompatibel mit gratis eBook!

AZDelivery ⭐⭐⭐⭐⭐ UNO R3 mit USB-Kabel, 100% Arduino kompatibel mit gratis eBook!

AMAZON.DE

https://www.amazon.de/gp/product/B01MDJA464/

Kopp 151610846 Schlauchleitung H03 VV-F, 3 x 0.75 mm², 10 m, weiß

Kopp 151610846 Schlauchleitung H03 VV-F, 3 x 0.75 mm², 10 m, weiß

AMAZON.DE

https://www.amazon.de/gp/product/B000VDEX2M/

 

Klebesockel für Kabelbinder 19 mm x 19mm Montagesockel

Klebesockel für Kabelbinder 19 mm x 19mm Montagesockel

 

Click image, please, to enlarge.

AMAZON.DE

https://www.amazon.de/gp/product/B01NAKYL5X/

 

.

And here the MOST important to make it work, the code:

The code will get downloaded and copy it, then paste it into the Arduino IDE.

.

This is how the code will look and where you can (MUST) modify it, see PIC below please:

.

WS2812B Sketch

Click image, please, to enlarge.

.

You need ALSO to download and to install the “FastLED.h” Library

FastLED-Library

Click image, please, to enlarge it.

.

Download the  “FastLED.h” Library here in case of that you will NOT find it in the “Library manager”:

Check also, please:

Have fun and stay tuned for next projects 😉

 


..Here below the video of the same project done with a Xmas-Star…

.


 

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

..

Keywords necessary for me to create this blog post: Arduino UNO R3, Arduino NANO, UNO R3 Project, Xmas Star, WM2812B RGB LEDs, Heatshrinking-Tube, coding, learning to learn, learning by doing, easter, easter-egg

.

.

.

.

 

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

First Steps with the Arduino-UNO R3 | Maker, MakerED, MakerSpaces, Coding | Xmas Star with NeoPixels WS2812B

First Steps with the Arduino-UNO R3 | Maker, MakerED, MakerSpaces, Coding | Xmas Star with NeoPixels WS2812B

.

NeoPixels WS2812B Xmas Star

.


Xmas Star with NeoPixels WS2812B made from cardboard

Xmas Star with cardboard and NeoPixels WS2812BSoon there will be Christmas and decorations are getting put around the house worldwide as it is tradition since ages to do so. That’s also the time for tinkerers, makers to GET some new ideas. Well, I thought on a project which everybody could do without having a 3D-Printer NOR a Laser cutter at home and not having access to them on other places. SO, I tried out to create a Xmas-Star from cardboard using an Arduino UNO and Neopixels…

I recently bought 1 Meter of Neopixels WS2812B with 60 LEDs and tried it out while wife was looking at it and she told me if that wouldn’t be an idea for making a Christmas-Decoration, e.g. a star. I took that challenge and a day later it was working, LOL 😉 I used a 3,5 mm thick cardboard from a red wine box which was stable enough to create the project.

 

The measures are 160 mm x 160 mm and there are 8 segments with an angle of 45° (8 x 45 = 360°). This is quiet easy to draw on cardboard… Once the lines drawn, up from the middle line draw a 1 cm to the left and to the right so that it makes a 2 cm width of each segment. On the middle cut out a square hole from 1,6 cm. That is the perfect outfit for the Christmas-Star. Cut it out with a sharp cutter and paint it with the color of your choice, I used green… NOW take the 1 meter long ribbon and cut off 8 x 4 LEDs. THEN take off the protection paper from the Neopixels WS2812B ribbon and glue them on the cardboard, see PIC please.

 

Find below, please, a drawing with the dimensions and where to cut out:

Dimensions of the Xmas Star

 

You may have a look on this Tutorial to know a bit more about the handling of Neopixel LEDS, please:

The project itself by cabling is actually VERY easy, ONLY 3 wires, the MOST work is on the mechanical part by cutting the cardboard, painting, soldering the Neopixels WS2812B strip and to put everything into a box with the necessary parts, while drilling, etc. WE will see this in detail by following PICS… But first let us solder and interconnecting the 8 x 4 Neopixels LEDs strips, you need to follow the arrows on the strips to connect each of the 8 x 4 LED strips, thus meaning: see PICs please:

Follow the arrows

.

Please have a look on how this will look in our project; we use color flat cable to make the connections.

.

Back side view of the Xmas star: click image, please, to enlarge.

Back side view of the Xmas star: click image, please, to enlarge.

The flat cable will get fixed with hot-glue on the cardboard.

 

Front side view of the Xmas star

Front side view of the Xmas star: click image, please, to enlarge.

.

Once the 8 x 4 LED strips are interconnected, you can connect the other 28 LEDs to the point marked with “START” and connect them to the ARDUINO UNO board through a screw terminal to make the first tests. Please check the tutorial below with the code for the How-To:

IF everything is working, hopefully, we can go for the integration of the components into a housing. TIP: prepare the ARDUINO UNO (NANO) already with the code uploaded and test after each 4 LED strips connected to make sure it will work!! it’s BETTER to invest time for NOT later having trouble and NOT knowing from where the fault comes 😉

.

Housing (case) for Xmas Star

Housing (case) for Xmas Star

Click image, please, to enlarge

 

Housing (case) for Xmas Star

Housing (case) for Xmas Star

Click image, please, to enlarge.

 

Housing (case) for Xmas Star

Housing (case) for Xmas Star

 

Housing (case) for Xmas Star

Housing (case) for Xmas Star

Click image, please, to enlarge.

 

 

Soldering inside the housing (case) for Xmas star

Soldering inside the housing (case) for Xmas star

Click image, please, to enlarge.

Soldering inside the housing (case) for Xmas star

Soldering inside the housing (case) for Xmas star

Click image, please, to enlarge.

 

 

Well, you have seen NOW the different mechanical steps and the soldering inside the housing, that’s the preparation, now we have to connect as well the Xmas star to the Arduino… We will use a 3 x 0.75 mm² cable to do so, find below, please, some PICs which show you the How-To, as well as the components with links to purchase them (I used AMAZON.DE), feel FREE to purchase them where you want:

 

Finished housing for Xmas star

Finished housing for Xmas star

Click image, please, to enlarge.

 

 

BTF-LIGHTING 1M 60 LEDs/Pixels/m WS2812B Schwarz PCB RGB adressierbare Strip 

WS2812B-1m-60 LEDs

Click image, please, to enlarge.

AMAZON.DE

https://www.amazon.de/gp/product/B01CDTEE5W

 

2 x 170mm x 105mm x 85mm Waterproof Plastic Enclosure Case Power Junction Box

2 x 170mm x 105mm x 85mm Waterproof Plastic Enclosure Case Power Junction Box

Click image, please, to enlarge.

AMAZON.DE

https://www.amazon.de/gp/product/B06XDK3GFT

 

Aussel 10 Stück AC 125 V 6A ON-ON 3 Pins 2 Position Mini Kippschalter für Arduino

Aussel 10 Stück AC 125 V 6A ON-ON 3 Pins 2 Position Mini Kippschalter für Arduino

Click image, please, to enlarge.

AMAZON.DE

https://www.amazon.de/gp/product/B077D9FRGL

 

Ehao 20 Stück Kupfer 5mm Leuchtdiode LED-Lampensockel-Montage-Panel-Display

Ehao 20 Stück Kupfer 5mm Leuchtdiode LED-Lampensockel-Montage-Panel-Display

Click image, please, to enlarge.

AMAZON.DE

https://www.amazon.de/gp/product/B01MRVAFGK/

10 Stück Wentronic EDC 21 L DC-Einbaubuchse Stift 2,1 mm,geschl.

10 Stück Wentronic EDC 21 L DC-Einbaubuchse Stift 2,1 mm,geschl.

Click image, please, to enlarge.

AMAZON.DE

https://www.amazon.de/gp/product/B00DDQ7EVG/

.

 

WINOMO DC 12V 1A CCTV Kamera Netzteil EU Stecker (Schwarz)

WINOMO DC 12V 1A CCTV Kamera Netzteil EU Stecker (Schwarz)

 

AZDelivery ⭐⭐⭐⭐⭐ UNO R3 mit USB-Kabel, 100% Arduino kompatibel mit gratis eBook!

AZDelivery ⭐⭐⭐⭐⭐ UNO R3 mit USB-Kabel, 100% Arduino kompatibel mit gratis eBook!

AMAZON.DE

https://www.amazon.de/gp/product/B01MDJA464/

Kopp 151610846 Schlauchleitung H03 VV-F, 3 x 0.75 mm², 10 m, weiß

Kopp 151610846 Schlauchleitung H03 VV-F, 3 x 0.75 mm², 10 m, weiß

AMAZON.DE

https://www.amazon.de/gp/product/B000VDEX2M/

 

Klebesockel für Kabelbinder 19 mm x 19mm Montagesockel

Klebesockel für Kabelbinder 19 mm x 19mm Montagesockel

 

Click image, please, to enlarge.

AMAZON.DE

https://www.amazon.de/gp/product/B01NAKYL5X/

 

.

And here the MOST important to make it work, the code:

The code will get downloaded and copy it, then paste it into the Arduino IDE.

.

This is how the code will look and where you can (MUST) modify it, see PIC below please:

.

WS2812B Sketch

Click image, please, to enlarge.

.

You need ALSO to download and to install the “FastLED.h” Library

FastLED-Library

Click image, please, to enlarge it.

.

Download the  “FastLED.h” Library here in case of that you will NOT find it in the “Library manager”:

Check also, please:

Have fun and stay tuned for next projects 😉

 


..

.


 

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

..

Keywords necessary for me to create this blog post: Arduino UNO R3, Arduino NANO, UNO R3 Project, Xmas Star, WM2812B RGB LEDs, Heatshrinking-Tube, coding, learning to learn, learning by doing,

.

.

.

.

 

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

Halloween Project with Skull, Arduino, Blinking LEDs and Scrolling Eyes | Maker, MakerED, MakerSpaces

Halloween Project with Skull, Arduino, Blinking LEDs and Scrolling Eyes | Maker, MakerED, MakerSpaces

.

Halloween Skull

.


Halloween Project with Skull, Arduino, Blinking LEDs and Scrolling Eyes

Soon is Halloween, so let us create a scary project while coding and DIY (tinkering a bit…). The tutorial is made for people who don’t have a 3D-Printer, we will use a 21 cm plastic Skull for 13€ bought on Amazon, 3 ARDUINO NANO’s and two 8 mm WHITE LEDs to realize this project. First let us have a look how the project will look to give you the right motivation to start it, check the video below, please:

.

.

As you might have realized while watching the video, there are 3 different effects in it:

In the above mentioned tutorials, you will find the wiring as well as the codes (Sketches):

First start with one of the 3 projects, make the wiring and upload the code to the ARDUINO Nano and test it. IF it is working start the second one and so on… Once finished the above mentioned we will need to integrate the hardware into the Skull…

Check below, please, the different steps…

.

 

21 cm plastic Skull front view

21 cm plastic Skull front view

Click image, please, to enlarge

21 cm plastic Skull side view

21 cm plastic Skull side view

Click image, please, to enlarge

Cut the Skull

Cut the Skull

Click image, please, to enlarge

 

WS2812B soldering

WS2812B soldering

Click image, please, to enlarge

AMAZON.DE:

https://amzn.to/2NvdB3U

WS2812B soldering and heatshrinking tube

WS2812B soldering and heatshrinking tube

Click image, please, to enlarge.

AMAZON.DE:

https://amzn.to/2NvdB3U

WS2812B soldering and heatshrinking tube fixed in the Skull

WS2812B soldering and heatshrinking tube fixed in the Skull

Click image, please, to enlarge.

 

.

 

Fixing EMO Display with hot glueFixing EMO Display

Click image, please, to enlarge.

AMAZON.COM:

https://amzn.to/2zoLyup

Fixing EMO Display with hot glue

Fixing EMO Display with hot glue

Click image, please, to enlarge.

AMAZON.COM:

https://amzn.to/2zoLyup

5x ARDUINO NANO

5xARDUINO NANO

Click image, please, to enlarge.

AMAZON.DE:

https://amzn.to/2NyO5uH

Cabling of the ARDUINO Nano’s

Cabling

Click image, please, to enlarge.

 

 

.

SO, we have seen now ALL the necessary steps to make this project working, up to YOU now to bring in the electronics into the Skull and seal the Skull later with hot glue. You can use the above showing cable solution or to try to put everything on a Strip-Board and solder it; YOUR choice! 😉

Idea: You could try to include as well a proximity sensor which enables the playing of the devil laughter in the video 😉

How? Check below please:

Some devil laughter sounds:

 

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

..

Keywords necessary for me to create this blog post: Arduino UNO R3, Arduino NANO, UNO R3 Project, Halloween, scary, EMO LED Matrix, devil laugh, WM2812B RGB LEDs, 8 mm WHITE LEDS, Plastic Skull, Heatshrinking-Tube, coding, learning to learn, learning by doing,

.

 

 

 

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

First Steps with the Arduino-UNO R3 and NANO | Maker, MakerED, Coding | I2C LCD Temp./Humidity displaying

First Steps with the Arduino-UNO R3 and NANO | Maker, MakerED, Coding | I2C LCD Temp./Humidity displaying

.

LCD1602 and LCD2004

.


Displaying Temperature/Humidity on a I2C LCD 

We were already playing around, as seen on my tutorials below, with the Temperature/Humidity sensors DHT11, DHT22 and LCD1602, without I2C possibility. There were a lot of cables to connect, we will try out this time to use a LCD with I2C bus connection as it uses ONLY 4 wires to connect. It’s a perfect project for newbies in coding as they will see the measured values directly on the LCD screen, the success and happy factor is guaranteed!

Related tutorials:

 

Let us have first a look on the wiring (cabling) which is actually very easy, have a look below please:

.

Fritzing-Wiring

====> Click image, please, to enlarge.

The wiring (cabling) will take about +/- 5-10 minutes depending on your own rhythm… Let us have a look on the coding now: we will use exactly the same code (Sketch) as in our first tutorial here, which we will change just a bit to fit for I2C LCD1602 display:

Copy&Paste the code from above tutorial where it is marked “I also made an example where I display the results on a LCD. Here’s the source code of that example:” and paste it into the Arduino IDE. Connect the Arduino NANO with your computer now. Open the Arduino IDE and choose the board “Arduino NANO”, see screenshot below, please:

Arduino-IDE-Board Manager-1

Click image, please, to enlarge.

.

Next step, on the same Arduino IDE select the Processor:

.

Arduino-IDE-Board Manager-OLD-NEW-BOOTLOADER

Click image, please, to enlarge.

.

TIP: when the LED on the Arduino NANO is lightning GREEN it is an original NANO and you must choose “Atmega328P”; if the LED is lightning RED, it is a clone and you must choose “Atmega328P (Old Bootloader)”.

.

NOW it is about time to adapt the code (Sketch) to an I2C-LCD1602 display, let us have a look on the Sketch (the original):

.

OLD Code to change

Click image, please, to enlarge.

.

As we can see in line 10: the library is meant for a normal LCD display, it needs to get changed for a “I2C LCD Library”.

In line 15: the same it shows the wiring pins for a normal LCD display, it needs to get changed for a “I2C LCD” display.

In line19: It is BETTER to add as well the I2C-Address, mostly “0x27” OR “0x3F”.

That is NOT much to change, we will see in the screenshot below the How-To:

.

NEW Code to change

Click image please, to enlarge.

.

By enlarging (click on the image) you will see by comparing where the changes are. I commented in the lines the WHY… Try it out to change it yourselves or just download the Sketch (Code) here below who is working:

Copy&Paste this code into a NEW Sketch on the Arduino IDE and upload now the code to the Arduino NANO (or Arduino UNO) and enjoy it! 😉 Here below a photo of the working sketch:

.

DHT11 on LCD I2C Display

.

And in case of that you have a I2C LCD with 20×4 configuration it works also, check photo below please:

.

I2C LCD2004 and DHT11

.

As you can see the two first lines from 4 possible lines are only used, that is normal as the Sketch (Code) is actually written for a 2 line LCD. BUT we can add some lines of code in the original Sketch to make it working on 4 lines, which is very easy actually, check below please for explication:

.

Printing text on the LCD

Click image, please, to enlarge.

.

As you can see in line 30 in above screenshot of the code ===> “lcd.setCursor(0,0); // Sets the location at which subsequent text written to the LCD will be displayed” the the line is set to “0” which means the first line on the LCD1602. By changing the value to “lcd.setCursor(0,1)” in line 30 and in line 34 to “”lcd.setCursor(0,2)” the text will be displayed as follows, see photo below please:

.

I2C LCD2004 DHT11

.

NOW, as you can see, we have two lines without any text where we could bring in some text. Let us try to find out HOW! We have seen already that “lcd.setCursor(0,0) above. We used in above example the lines 2 and 3 from 4 lines which were displayed as shown in above photo, right?

 

Printing text on the LCD in 4 lines

Click image, please, to enlarge.

.

Check lines 26 and 27 and also lines 37 and 38: I added them, do the same and the text between the “………” you may change it with your OWN text what will result in following, check photo below, please:

.

 

I2C LCD2004 4 lines of text

.

BUT wait, my text looks centralized and yours NOT, HOW?! Check photo below, please which explains:

.

4 Lines centered on I2C LCD

.


Prices and where to order

 

LCD1602 + I2C Modul

LCD1602-I2C

Click image, please, to enlarge.

Arduino NANO

ARDUINO NANO

Click image, please, to enlarge.

 

LCD2004-I2C

Click image, please, to enlarge.

 

 Temperature/Humidity Sensors

DHT11

.

.

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

.

.

Keywords necessary for me to create this blog post: Arduino UNO R3, Arduino NANO, UNO R3 Project, LCD 1602, Sensors, DHT11,  DHT22, Temperature/Humidity Sensor, coding, learning to learn, learning by doing, trouble shooting, hygrometer, I2C, LCD 20×4,

.

.

.

.

 

 

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

First Steps with the NodeMCU ESP8266 | Maker, MakerED, Coding | Text on I2C-LCD1602 Display written over Web-Page

First Steps with the NodeMCU ESP8266 | Maker, MakerED, Coding | Text on I2C-LCD1602 Display written over Web-Page

.

I2C-LCD WEB-TEXT on NodeMCU ESP8266

.


Text on I2C-LCD1602 Display written over Web-Page

Sometimes it might be useful to write a text which should be displayed on a LCD display without any cabling, that is possible to do over your own Wi-Fi network and a NodeMCU ESP8266 module. And the project uses ONLY 4 wires as the LCD1602 gets addressed over the I2C bus. Let us remember WHAT the I2C bus is in our previous tutorial:

Check out the wiring below please, ONLY 4 wires plus 2 for the power supply connections:

.

.

Let us have a look on the video below who shows how it works:

.

.

SO, knowing now how it works, let us have a look on the Sketch (Code). I changed a bit the code, as I am using an I2C LCD1602 and I added as well some more text displayed on the LCD1602 display. Check below, please, the original code. I will explain WHAT could (should) GET changed later with a screenshot of the changes and/or a download…

The Arduino code and the library for this project can be found at the links below. The library has to be saved in the Arduino libraries folder of the same name:

 

Find below, please, my changed code (Sketch) for downloading:

The download is a text file created with OpenOffice, copy the content and place it into a new Sketch on the Arduino IDE. ALL you have to do now is to change some lines, e.g.:

  • in line 47: Enter your SSID
  • in line 48 Enter your Wi-Fi Network Password

See PIC below, please:

.

CODE-CHANGE

Click image, please, to enlarge.

.

This should work for you now; in case of that you wouldn’t see the display working find here the trouble-shooting:

Mostly it is that your LCD1602 uses a different I2C-Address and/or that the ESP8266 isn’t allowed in your network for security reasons, to make sure check my blog post here, please:

Here below a working Sketch which shows how it is working: for security reasons you won’t see my SSID, nor my real IP-Address! 😉

.

.


.

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

.

Stay tuned for next blog post(s) 😉..
.

Keywords necessary for me to create this blog post: NodeMCU, ESP8266, Web Server, I2C, LCD1602, Coding, Maker, MakerED, MakerSpaces…

.

.

.

.

 

.

.

.

.

.

.

.

 

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

First Steps with the NodeMCU ESP8266 Wi-Fi Module and Arduino NANO | Maker, MakerED, Coding | Tips 2

First Steps with the NodeMCU ESP8266 Wi-Fi Module and Arduino NANO | Maker, MakerED, Coding | Tips 2

.

Power Supply for Breadboard-Multimeter Test

.


A GOOD preparation is half the work done

When we play around with Arduino NANO, NodeMCU, ESP8266 and others it is important (and more comfortable) to make us life as less difficult as necessary. Therefore we will have a look on the How-To, using some helpful tools…

First of all it is a MUST to have “Breadboards” for connecting the components to the micro controller, they exist in different sizes and colours.

.

Item and quantity

Supplier and order number

Price

Mini Breadboard Kit für Arduino

Mini Breadboard Kit for Arduino

 

 

 

AMAZON (DE): Mini Breadboard Kit für Arduino

 

 

 

6,99€

Breadboard 830 Pin Solderless Prototype PCB Board Kit

Breadboard 830 Pin Solderless Prototype PCB Board Kit

 

 

 

AMAZON (DE): Breadboard 830 Pin Solderless Prototype PCB Board Kit

 

 

 

9,99€

9 Volt Clips with connector

9 Volt Clips with connector

 

 

AMAZON (DE): 9 Volt Clips with connector

5 pieces

 

 

5,59€

Power Supply Module for Arduino Board

 

 

AMAZON (DE): Power Supply Module für Arduino Board

6 pieces

 

 

10,99€

  Total:

.

Concerning the Power Supply Module for the Breadboard: it delivers 3,3 Volts AND 5 Volts. The 5 volts is the power Supply for Arduino, Nano, etc. and the 3,3 Volts is for OLEDs, RFID…

The advantage of the Power Supply for breadboard: once uploaded the sketch to the Arduino, Nano, ESP8266, etc. you can unplug the USB cable and connect a 9 volts battery (better an 9 Volts accumulator…) through the above mentioned 9 Volt Clips with connector. Now you can much more easily play around and move your prototype…

1ibdy1vf6wghd-n05dgl-attenzionearchitettofr01USB connector is for powering external devices (output only). Do not attempt to use it to power the MB-V2

Read carefully, please (important!!):

The Power Supply has jumpers which one can switch from 3,3 V to 5 V. So on one side we place the jumper on 3,3 Volts and on the other side we place the jumper to 5 Volts, so that we have the two different voltages on two different power supply bus.

.

Power Supply for Breadboard

.

Practical example:

Please check the picture below where we use a RFID-RC522 and a Arduino NANO: the RFID-RC522 MUST get connected to the 3,3 Volts!! If connected on 5 Volts it would get damaged, actually fried!! The Arduino NANO is connected to the 5 Volts bus.

.

Power Supply for Breadboard

.

Let us have a look if everything is correct by measuring the voltages with a multimeter, here we go:

.

Power Supply for Breadboard-Multimeter Test

.

Power Supply for Breadboard-Multimeter Test

.

That’s it folks, stay tuned for next blog post 😉

You may also have a look on one of my previous posts for more tips:

.


 

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

.

Stay tuned for next blog post(s) 😉..
.

Keywords necessary for me to create this project: Breadboard, Power Supply for Breadboard, Arduino, Maker, MakerED, MakerSpaces, Coding, 

.

.

.

 

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

First Steps with the Arduino-UNO R3 | Maker, MakerED, Coding | Useful help-tools

First Steps with the Arduino-UNO R3 | Maker, MakerED, Coding | Useful help-tools

 

.

RAB HOLDER

.


Useful Help Tools For Arduino UNO

On the beginning when one wants start coding and making, one doesn’t really know where to start! So, probably the best way is to use a Starter-Kit with a documentation where some projects (examples) are provided with tutorials. That’s what I also did, you might check my tutorials about it below, please:

SO, after that one has becoming a little bit familiar with all that new stuff one has lived already some experience and one is asking if there aren’t any helping tools and devices to make life much easier… YES, and there are some very interesting prototype shields, board holders and breadboard jumper in different lengths…

.

Item and quantity

Supplier and order number

Price

Arduino Protoshield Prototyping-Kit

 

AMAZON (DE): Arduino Protoshield Prototyping-Kit, Mini-Steckplatine Prototyping Prototyp Schild protoshield für Arduino UNO 5 x 11,23€

Breadboard Jumper Drähte Ribbon Kabel Kit

AMAZON (DE): Breadboard Jumper Drähte Ribbon Kabel Kit 15,99€

Breadboard Holder Base Plate Circuit Board Screws for Arduino Uno R3 Mega 2560, Raspberry Pi

 AMAZON (DE): Breadboard Holder Base Plate Circuit Board Screws for Arduino Uno R3 Mega 2560, Raspberry Pi  7,99€
  Total:

.

Please check below some photos which show you how easy it will become with the Prototype Shield and with the 20 cm breadboard jumper it will look proper and professional.

.

1

Prototype Shield for ARDUINO UNO-4

Click image, please, to enlarge.

2

Prototype Shield for ARDUINO UNO-3

Click image, please, to enlarge.

3

Prototype Shield for ARDUINO UNO-2

Click image, please, to enlarge.

4

Prototype Shield for ARDUINO UNO-1

Click image, please, to enlarge.

5

Prototype Shield for ARDUINO UNO-5

Click image, please, to enlarge.

 6

Board holder plate

Click image, please, to enlarge.

 

.

 

Have fun and make your maker, coding life easier 😉

.

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

.

Stay tuned for next blog post(s) 😉..
.

Keywords necessary for me to create this blog post: Arduino UNO R3, Arduino NANO, Tools, Coding, Maker, MakerED, MakerSpaces…

.

.

.

.

 

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