Read novels online

Digital Scrolling Text Display in Proteus with MAX7219 and Arduino

I have previously made a project tutorial on how to design a digital scrolling text display with Arduino and P10 DMD module. In this tutorial, you will learn how to simulate a dot matrix display module with MAX7219 DMD driver, 8×8 dot matrix display (DMD) and Arduino in Proteus.

If you do not have Proteus installed on your computer, do not worry; because I have made a tutorial on how to download and install Proteus 8.11 free. I also have the simulation software free on my website to download. Feel free to download it and install on your computer. Once you’ve done that, you can proceed with the simulation.

Proteus is a very powerful circuit simulation software that is used by so many tech companies for electronic circuit design and simulation. it is also used for printed circuit board design. You can get the software from Labcenter electronics, but at a very high price. however, you can download it from my website free.

This simulation is a simple way to showcase what the real result will look like even before you design the real project.

All you need for the simulation is to have the following:

  • Arduino IDE
  • Proteus Simulator software
  • Arduino proteus library

I have made a comprehensive tutorial on how to add Arduino library to Proteus.

Below is the complete video on How to simulate digital scrolling text display (DMD) in Proteus with MAX7219 and Arduino

The Arduino code for digital scrolling text display

#include <SPI.h>
#include <Adafruit_GFX.h>
#include <Max72xxPanel.h>

int pinCS = 10;
int numberOfHorizontalDisplays = 3;
int numberOfVerticalDisplays = 1;
Max72xxPanel matrix = Max72xxPanel(pinCS, numberOfHorizontalDisplays,numberOfVerticalDisplays); 
String tape = "Ettron";
int wait = 50;

int spacer = 1;
int width = 5 + spacer;

void setup() {
  matrix.setIntensity(7);

}
void loop() {
  for ( int i = 0; i < width * tape.length() + matrix.width () -1 - spacer; i++){
  
       matrix.fillScreen(LOW);

       int letter = i/width;
       int x = (matrix.width() - 1) - i % width;
       int y = (matrix.height() - 8)/ 2;

         while (x + width - spacer >= 0 && letter >= 0)
         {
         
          if (letter < tape.length())
          {
            matrix.drawChar(x, y, tape[letter], HIGH,LOW, 1);
  }
     letter--;
     x -= width;
  }
  matrix.write();
  delay(wait);
  }
}

View Comments

  • Sir I have not used
    Adafruit_I2C Device.h library
    But they keep telling me no such file or directory. So I don't know why

      • #include
        #include
        #include
        into pinCS = 10;
        into numberOfHorizontalDisplay = 3;
        numberOfVerticalDisplay = 1;
        Max72xxPanel matrix = Max72xxPanel(pinCS, numberOfHorizontalDisplays, numberOfVerticalDisplays);
        string tape = "Ettron.com";
        int wait = 50;
        into spacer = 1;
        int with = 5 + spacer;
        void setup(){
        matrix.set intensity(7);
        }
        void loop()
        {
        for (int I = 0; I=0 &&letter>=0)
        {
        if (letter<tape.length())
        {
        matrix.drawChar(x,y, tape[letter], HIGH, LOW, 1);
        }
        letter--;
        x -=width;
        }
        matrix.write();
        delay(wait);
        }
        }

        The error message is
        No such file or directory
        #include
        ^
        Compilation terminated

        • Ettron
          Search for
          Switch skin

          Home/PROTEUS
          ArduinoElectronics TutorialsPROTEUS
          Digital Scrolling Text Display in Proteus with MAX7219 and Arduino

          digital scrolling text display
          I have previously made a project tutorial on how to design a digital scrolling text display with Arduino and P10 DMD module. In this tutorial, you will learn how to simulate a dot matrix display module with MAX7219 DMD driver, 8×8 dot matrix display (DMD) and Arduino in Proteus.

          If you do not have Proteus installed on your computer, do not worry; because I have made a tutorial on how to download and install Proteus 8.11 free. I also have the simulation software free on my website to download. Feel free to download it and install on your computer. Once you’ve done that, you can proceed with the simulation.

          Proteus is a very powerful circuit simulation software that is used by so many tech companies for electronic circuit design and simulation. it is also used for printed circuit board design. You can get the software from Labcenter electronics, but at a very high price. however, you can download it from my website free.

          This simulation is a simple way to showcase what the real result will look like even before you design the real project.

          All you need for the simulation is to have the following:

          Arduino IDE
          Proteus Simulator software
          Arduino proteus library
          I have made a comprehensive tutorial on how to add Arduino library to Proteus.

          Below is the complete video on How to simulate digital scrolling text display (DMD) in Proteus with MAX7219 and Arduino

          The Arduino code for digital scrolling text display
          #include
          #include
          #include

          int pinCS = 10;
          int numberOfHorizontalDisplays = 3;
          int numberOfVerticalDisplays = 1;
          Max72xxPanel matrix = Max72xxPanel(pinCS, numberOfHorizontalDisplays,numberOfVerticalDisplays);
          String tape = "Ettron";
          int wait = 50;

          int spacer = 1;
          int width = 5 + spacer;

          void setup() {
          matrix.setIntensity(7);

          }
          void loop() {
          for ( int i = 0; i = 0 && letter >= 0)
          {

          if (letter =0)
          {
          if (letter<tape.length())
          {
          matrix.drawChar(x,y, tape[letter], HIGH, LOW, 1);
          }
          letter–;
          x -=width;
          }
          matrix.write();
          delay(wait);
          }
          }

          The error message is
          No such file or directory
          #include
          ^
          Compilation terminated

          • Sorry for multiple posting . made a mistake a pasted a wrong message.
            The error message is

            No such file or directory for
            #include
            ^

        • firstly learn basic of c/c++, as you don't have mention the library after #include

  • thanks for this example.. pls give us proteous project and arduino library
    thanks again

  • thank you for this project. i want to know if a GSM module can be added this .if yes what modification can be added to change the displayed text.

    • Yes it can be added. But i may not have the time to work on that to show you how it is done. search on the internet.

Recent Posts

  • BOOK REVIEWS

Is Regretting You a Sad Book?

When choosing a novel to read, many people consider not just the genre or author,… Read More

2 days ago
  • BOOK REVIEWS

What Is Regretting You About?

Many readers search for “What is Regretting You about?” before diving into Colleen Hoover’s emotionally… Read More

2 days ago
  • BOOK REVIEWS

Is Regretting You Worth Reading?

When readers ask “Is Regretting You worth reading?”, they are usually looking for more than… Read More

2 days ago
  • BOOK REVIEWS

What Readers Love About Regretting You

Colleen Hoover has a remarkable ability to craft emotionally resonant stories that linger long after… Read More

3 days ago
  • BOOK REVIEWS

Why Readers Love Regretting You

Colleen Hoover’s Regretting You is one of those novels that quietly pulls readers in and… Read More

3 days ago
  • BOOK REVIEWS

HIS DOE, HIS DAMNATION (An Erotic Billionaire Romance)

HIS DOE, HIS DAMNATION by Viviene is an engaging, emotionally charged adult billionaire romance novel… Read More

3 days ago