fbpx
Advertisement
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.

Advertisement

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:

Advertisement
  • 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);
  }
}

Advertisement

5 Comments

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

      1. #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

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

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

            No such file or directory for
            #include
            ^

Leave a Reply

Your email address will not be published. Required fields are marked *