Arduino Display Changing Text on MAX7219 8-digit LED Display Using Sequence

by RonFrtek in Circuits > Arduino

493 Views, 1 Favorites, 0 Comments

Arduino Display Changing Text on MAX7219 8-digit LED Display Using Sequence

Arduino Display Changing Text on MAX7219 8-digit LED Display Using Sequence

In this tutorial we will learn how to display a Changing text on the MAX7219 8-digit Digital LED Display using Visuino and a Sequence component.

Watch the video.

What You Will Need

e894ce40bc813650774be7bad7b00511.jpg
VisuinoAdvrtisementNewDesign1.jpg
FMT2X9VKEY93G5P.jpg
arduino.jpg

  • Arduino UNO (or any other Arduino)
  • Jumper wires
  • Max7219 Led Dot Matrix 8-digit Digital Display Control Module
  • Visuino program: Download Visuino

The Circuit

2021-06-26_11-17-15.jpg

  • Connect LED module pin[VCC] to Arduino pin[5V]
  • Connect LED module pin[GND] to Arduino pin[GND]
  • Connect LED module pin[DIN] to Arduino digital pin[11]
  • Connect LED module pin[CS] to Arduino digital pin[10]
  • Connect LED module pin[CLK] to Arduino digital pin[13]

Start Visuino, and Select the Arduino UNO Board Type

FRWQB80K1RVKKV9.LARGE.jpg
F311FBVK5AHN5HJ.LARGE.jpg

The Visuino: https://www.visuino.eu also needs to be installed. Download Free version or register for a Free Trial.

Start Visuino as shown in the first picture Click on the "Tools" button on the Arduino component (Picture 1) in Visuino When the dialog appears, select "Arduino UNO" as shown on Picture 2

In Visuino Add,Set & Connect Components

2021-06-01_20-43-07.jpg
2021-06-26_11-37-12.jpg
2021-06-26_11-37-31.jpg
2021-06-26_11-39-28.jpg
2021-06-26_12-00-02.jpg
2021-06-26_11-39-54.jpg
2021-06-26_11-44-07.jpg
2021-06-26_12-00-18.jpg
2021-06-26_9-36-06.jpg
2021-06-26_11-53-43.jpg
led-text-seq.png
  • Add "Maxim LED Display Controller SPI MAX7219/MAX7221" component
  • Add "Sequence" component
  • Add "Text Value" component
  • Double click on the "Sequence1" and in the "Elements window" drag "Period" to the left side and in the properties window set "Delay" to 1000
  • in the "Elements window" drag another "Period" to the left side and in the properties window set "Delay" to 2000
  • in the "Elements window" drag another "Period" to the left side and in the properties window set "Delay" to 3000
  • in the "Elements window" drag another "Period" to the left side and in the properties window set "Delay" to 4000
  • Select "Sequence1" and in the properties window set "Repeat" to Tue

  • Double click on the "TextValue1" and in the "Elements window" drag "Set Value" to the left side and in the properties window set "Value" to HELLO
  • in the "Elements window" drag another "Set Value" to the left side and in the properties window set "Value" to HOUU
    -because the LED display can not show "W" we must use 2"U U".
  • in the "Elements window" drag another "Set Value" to the left side and in the properties window set "Value" to ARE
  • in the "Elements window" drag another "Set Value" to the left side and in the properties window set "Value" to YOU

    Note: Text on this Display is limited to a certain characters, so play with it to see what kind of words you can display.
  • Close the "Elements window
  • Doble click on the "LedController1" and in the "PixelGroups window" drag "Text Display 7 Segments" to the left side
  • Close the "PixelGroups window"
  • Connect "Sequence1 > Period1" Pin[Out] to "TextValue1 > SetValue1" pin [In]
  • Connect "Sequence1 > Period2" Pin[Out] to "TextValue1 > SetValue2" pin [In]
  • Connect "Sequence1 > Period3" Pin[Out] to "TextValue1 > SetValue3" pin [In]
  • Connect "Sequence1 > Period4" Pin[Out] to "TextValue1 > SetValue4" pin [In]
  • Connect "TextValue1" pin [Out] to "LedController1" pin [Clock]
  • Connect "TextValue1" pin [Out] to "LedController1" > "Text Display 7 Segments1"pin [In]

  • Connect "LedController1" pin Out SPI to Arduino Pin SPI [In]Connect "LedController1" pin Chip Select to Arduino Digital Pin [10]

Generate, Compile, and Upload the Arduino Code

FOQOHC1KLWB8FIX.jpg

In Visuino, at the bottom click on the "Build" Tab, make sure the correct port is selected, then click on the "Compile/Build and Upload" button.

Play

If you power the Arduino module, the LED Display will start to display a changing Text.

Congratulations! You have completed your project with Visuino. Also attached is the Visuino project, that I created for this Instructable, you can download it and open it in Visuino: https://www.visuino.eu