RSS

Tag Archives: LED MATRIX

First Steps with the Arduino-UNO R3 and NANO | Maker, MakerED, Maker-Spaces, Coding | Valentine’s Day is around: GET creative with an LED Matrix and an Arduino!

First Steps with the Arduino-UNO R3 and NANO | Maker, MakerED, Maker-Spaces, Coding | Valentine’s Day is around: GET creative with an LED Matrix and an Arduino!

.

HEART-LED-MATRIX

 

.


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:

 


The wiring

.

WIRING-LED MATRIX-ARDUINO

Click image, please, to access its origin.

..

There are ONLY five (5) wires to connect and the code works with the ARDUINO UNO and the ARDUINO NANO.

.


How-To make custom characters

There is a software available to create custom character codes for the LED-Matrix, please check the tutorial below:

.

OR, use an online character-generator, see PIC below for example, please:

 

LED MATRIX GENERATOR-CHARACTER-CODE

.

Doesn’t look that difficult, isn’t it?! 😉

.

Anyway, find below the ready to use code, please:

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

.

.

.

.

 

 

 

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

First Steps with the Arduino-UNO | Maker, MakerED, MakerSpaces, Coding | Xmas Decoration with Rotating Star using a Stepper-Motor and Scrolling Text with LED Matrix and

First Steps with the Arduino-UNO | Maker, MakerED, MakerSpaces, Coding | Xmas Decoration with Rotating Star using a Stepper-Motor and Scrolling Text with LED Matrix and

.

Merry XMAS

.


Two different projects will become ONE project for Xmas

Well, in previous tutorials <===> https://gustmees.wordpress.com/2019/11/03/first-steps-with-the-arduino-uno-maker-makered-makerspaces-coding-make-objects-rotating-with-a-stepper-motor/ <===> and in <===>  https://gustmees.wordpress.com/2018/04/08/first-steps-with-the-arduino-uno-r3-maker-makered-coding-scrolling-text-with-8×8-led-matrix/     <===> we learned about the how-to to make objects rotating as well as to display a scrolling text on a LED Matrix. NOW, we will combine those two for a nice Xmas decoration.

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

Single-sided Copper-Epoxy plate

Click image, please, to enlarge.

Single-sided Copper-Epoxy plate

 

Single-sided Copper-Epoxy plate

Single-sided Copper-Epoxy plate

Click image, please, to enlarge.

 

Mounting and fixing of the Stepper-Motor

Fixing the Stepper-Motor

Click image, please, to enlarge.

Mounting and fixing of an object

Support for Xmas decoration

Support for Xmas decoration

Click image, please, to enlarge.

Support for Xmas decoration

Support for Xmas decoration

Support for Xmas decoration

Click image, please, to enlarge.

Support for Xmas decoration

Support for Xmas decoration

Support for Xmas decoration

Click image, please, to enlarge.

.

As Xmas star I used one from Amazon, please check below:

Price is 14.99€, you may as well chose another one.

For the code (Sketch) please look at the following tutorial:

.


Two Projects in ONE

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:

.

 

Finished project front view.

 

Merry XMAS

Click image, please, to enlarge.

Finished project rear view.

 

 

 

 

 

 

Finished project rear view.

 

Click image, please, to enlarge.

 

Arduino NANO Screw Terminal

arduino-nano-screw-terminal

arduino-nano-screw-terminal

 

.

POWER BANK

POWER BANK

.

.

 

.

 

Prototype Shield for ARDUINO UNO-3

Prototype Shield for ARDUINO UNO-3

.

 

 

.

As a reminder, please check below for the instructions for the LED-Matrix.

.


The cabling, wiring…

.

 

Rotating Xmas Star with Stepper-Motor and Scrolling Text with LED Matrix

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 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 ESP8266 Wi-Fi Module | Maker, MakerED, Coding | Scrolling Text (Time, Temp., Humidity…) with 8×8 LED MATRIX

First Steps with the ESP8266 Wi-Fi Module | Maker, MakerED, Coding | Scrolling Text (Time, Temp., Humidity…) with 8×8 LED MATRIX

.

ESP8266 and Matrix LED MAX7219

.


First Steps with the ESP8266 Wi-Fi Module | Scrolling Text (Time, Temp., Humidity…) with 8×8 LED MATRIX 

In our previous blog post (Tutorial…), we were playing around with a LED MATRIX <===> First Steps with the Arduino-UNO R3 | Maker, MakerED, Coding | Scrolling Text with 8×8 LED MATRIX  <===> and we will continue to use the LED MATRIX, but this time with a Wi-Fi connection. We will use the module “ESP8266” which you can purchase worldwide around as it is very popular and it costs ONLY 7.49 €. I ordered mine on Amazon in Germany:

Good to know is the PINOUT of the ESP8266

.

ESP8266-NodeMCU

Click the image, please, to access the source.

 

Before we can use the module “ESP8266” and before the wiring we need to do some preparation:

.

Check the video below please who explains the first steps with the ESP8266:

.

.

Now that we have configured the ESP8266 in the Arduino IDE we need some other information which are necessary to implement into the code. It is the name of the Wi-Fi Network (SSID) and the Password for the Wi-Fi Network.  AND a new device connecting to the router (the ESP8266) must GET allowed to do so, if your router is well configured for Cyber-Security! Thus meaning for Cyber-Security reasons: in the router security settings any device connecting to your Wi-Fi Network SHOULD NOT have access unless it is your own ones and unless you allow THEM to access!

.

My shown images from the Router are from a “FritzBox Router“, but it should be similar in other Routers!!

.

Router-1-corr

Click image, please, to enlarge.

In the above image you see which devices are connected to your Network, to do so: open your router with your login and/or password and look under “Radio Network” (or similar). IF you don’t see your “ESP8266” in the Network while you run the code and it isn’t working does mean that your Network is well secured as it doesn’t allow any other device connecting to the Network!

Router-2-corr

Click above image, please, to enlarge.

.

You need then to give permission to the device to connect. To do so: Open the Security settings in your Router and click on “Allow all new wireless devices“. NOW, you will see that the “ESP8266” is part of the Network! Note down on a piece of paper its “MAC Address” and protect your Network again by clicking on “Do not allow new wireless devices“!!

.

Router-3

Click on the image, please, to enlarge.

.

NOW, click on the button “Add Wireless Device” as shown in above image.

.

Router-4

Click image, please, to enlarge.

.

A new window opens where you can add the new devices “MAC Address” which you wrote down before. Do so please and then click the button “OK“. Go back and have a look if the device is now in the authorized devices in your Network.

Required:

  • SSID
  • WLAN Password
  • Acces authorization for the Wi-Fi

The Code for the ESP8266 and first try

I used a video tutorial in German from Switzerland as well as its Code for this project as it is very well explained. Even if you don’t understand German, you can follow step by step in the video:

.

.

While watching the video on YouTube, you will find the download link for the code, check below please:

.

Video Tutorial-2

Click image, please, to enlarge.

.

You can find another interesting code here on the blog as well as the wiring diagram and a GREAT description (in German):

Unzip the code and install it by following the video instructions; check @ 8.30 minutes and follow step by step…

After everything is installed and the code is in the Arduino IDE you need to adapt the code to your needs: check video @ 10.36 minutes

  • Entering your Network name, the SSID
  • Entering the Network-Key; Check above Router images…

.

1ibdy1vf6wghd-n05dgl-attenzionearchitettofr01When you run the code for the first time: disconnect the two wires for the power supply (GND and VCC) as the LED Matrix will light all the dots and the power consumption will be by 1.5 Ampere; thus meaning the components, especially the chips will become hot, even could get overheated!! Once the Arduino IDE shows you that the code is uploaded reconnect them and it should work.

.

That’s it folks; now you can run the code and have fun! I takes a bit time before the code runs: first “Compiling Sketch…“, followed by “Uploading…” and “Done Uploading…” and the ESP8266 tries to connect with the Wi-Fi Network…

Connecting

.

If everything was made correctly as described above you should receive now your personal weather data… FIRST the time will GET displayed for a couple of seconds (that period could GET changed by your settings in the code…)…

.

Time

.

Then the scrolling text starts displaying the temperature, humidity, air pressure, rain risk in % and wind speed…

.

Scrolling text: temp., humidity...

.

Stay tuned for next blog posts and enjoy it 😉

Have FUN with your “LEARNing-By-Doing project” and try out ALSO the other examples 😉

.

Keywords necessary for me to create this blog post: Arduino, Wi-Fi, wireless, ESP8266, Weather received through Wi-Fi, LED Matrix, Coding, Maker, MakerED, MakerSpaces, Learning By Doing, Learning To Learn, PracTICE,

.


.

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, MAX7219 LRD DISPLAY, Coding, Maker, MakerED, MakerSpaces…

 

.

.

.

 

 

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

First Steps with the Arduino-UNO R3 | Maker, MakerED, Coding | Scrolling Text with 8×8 LED MATRIX

First Steps with the Arduino-UNO R3 | Maker, MakerED, Coding | Scrolling Text with 8×8 LED MATRIX

.

page MAX7219

.


Scrolling Text with 8×8 LED MATRIX (4 Modules in One)

MAX7219 LED MATRIX 4 in One

Click image, please, to access the article on Amazon

.

.

.

As we were playing around already with LED’s in previous blog posts let us NOW try out a LED Matrix “4 in one”; its four (4) singular displays soldered on one piece of a single printed circuit board (PCB). I ordered the stuff at Amazon (DE) https://www.amazon.de/AZDelivery-MAX7219-Matrix-Anzeigemodul-Arduino/dp/B079HVW652 which is supplied by AZ-Delivery.

.

.

.

.

.

I like their products as they provide ALSO  eBooks in PDF format for their products with quality explications (in German) as also tips; the eBooks can be downloaded here (registration first required):

The Matrix costs also only 12,99€ and therefore worth a try… BTW: I am very satisfied with the product and I ordered two more to make the display longer for my home project. SO, let us start with the wiring scheme, please check below:

.

MAX7219 LED MATRIX 4 in One-Wiring Scheme

Click the image, please, to enlarge.

.

As you can see in above wiring scheme, there are ONLY 5 wires necessary and we use an Arduino NANO (works also with the UNO). Connect those wires as shown above, connect the USB cable to the Arduino NANO and the computer. Now we are ready to load the code, but first we need to install the necessary libraries for the MAX7219-Display. Check below please for the How-To:

.

Upload-Libraries-MAX7219-Display-1

Click image, please, to enlarge.

.

Open the Arduino IDE, click on “Sketch“, followed by “Include Library” as shown in above image.

.

Upload-Libraries-MAX7219-Display-2

Click image, please, to enlarge.

.

Click on “Manage Libraries…“, a new window will open, the “Library Manager“, as shown below.

.

Upload-Libraries-MAX7219-Display-Library Manager

Click image, please, to enlarge.

.

In the Search-field enter„MAX72xx“ and chose MD_MAX72xx from majicDesigns and install it. SO, the libraries (the code for specific Hardware…) are installed, let us GO for uploading the “Sketch” (the code)… We will use a ready example to make us life easy, please follow the instructions in below picture:

.

Upload-Libraries-MAX7219-Display-Sketch-Examples

.

SO, this done close the Arduino IDE and open it again to chose now: GO to “File“, click on “Examples” followed by “MD_Parola” and chose on of the ready examples, WE will use as example “Parola_Scrolling” as it is expressive for results…

.

A new Arduino IDE with the chosen Sketch will open…

.

MAX7219-Display-Sketch-Code in Arduino IDE

Click image, please, to enlarge.

.

In the above image you see WHERE you can have a look for changing the variables, your own text and scrolling-pause. When you use “Notepad++” to open the code (it is more easy to detect the lines to change…) you will find them in lines 66-74

THE values which you see in the above image (screen shot) are mine which I changed already, to me “Scroll-Speed = 150” is the optimum value; but chose your own…

NOW, as we finished everything, let us upload the code to the Arduino UNO, or Arduino NANO.

Have FUN with your “LEARNing-By-Doing project” and try out ALSO the other examples 😉

 

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, MAX7219 LRD DISPLAY, Coding, Maker, MakerED, MakerSpaces…

 

.

 

 

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