Engineers Garage

  • Projects and Tutorials
    • Electronic Projects
      • 8051
      • Arduino
      • ARM
      • AVR
      • PIC
      • Raspberry pi
      • STM32
    • Tutorials
    • Circuit Design
    • Project Videos
    • Components
  • Articles
    • Tech Articles
    • Insight
    • Invention Stories
    • How to
    • What Is
  • News
    • Electronic Products News
    • DIY Reviews
    • Guest Post
  • Forums
    • EDABoard.com
    • Electro-Tech-Online
    • EG Forum Archive
  • Digi-Key Store
    • Cables, Wires
    • Connectors, Interconnect
    • Discrete
    • Electromechanical
    • Embedded Computers
    • Enclosures, Hardware, Office
    • Integrated Circuits (ICs)
    • Isolators
    • LED/Optoelectronics
    • Passive
    • Power, Circuit Protection
    • Programmers
    • RF, Wireless
    • Semiconductors
    • Sensors, Transducers
    • Test Products
    • Tools
  • EE Resources
    • DesignFast
    • LEAP Awards
    • Oscilloscope Product Finder
    • White Papers
    • Webinars
  • EE Learning Center
    • Design Guides
      • WiFi & the IOT Design Guide
      • Microcontrollers Design Guide
      • State of the Art Inductors Design Guide
  • Women in Engineering

MATRIX LED scrolling message board using Arduino

By engineersgarage

LED scrolling message boards are widely used in:

  • Notice board displays
  • Public advertising boards
  • Passenger information display boards in BUS/TRAIN/TRAM/MATRO, etc. 
  • Name or signboards of shops

Most of these scrolling message boards are made up of a single RED-color LED. However, currently, there are multi-color LED boards and RGB LED boards are also available. In all of the types of boards, the LEDs are connected in a ROW-COLUMN structure, which is called MATRIX LED scrolling message boards.

In a simple scrolling message MATRIX LED board, there is only one animation effect – so, the message scrolls from right to left. But there are many such boards that have several different animation effects, where a message may appear from: 

  • The top or bottom
  • Appears and then disappear
  • Offer dissolving effects
  • Bounce from left to right, and many more 

Here, we’ve presented a simple project in which a user can enter the information message to be scrolled on a board by using a laptop or computer. This message will be continuously displayed and scrolled. Whenever the user wants to display new information (meaning a new message), he or she will need to connect the system with a computer, using a USB, and then enter the new message — that’s all!

For this project, we use the readymade Matrix LED scrolling message board that’s build using six units of an 8×8 LED block. There are a total of 6x8x8 = 384 LEDs. 

It will get a message as a serial input from any digital device, such as a microcontroller or microprocessor. It will accept serial data in the 8-N-1 format with the 9600 BPS. The circuit also uses the Arduino NANO board that gets a message from a laptop or computer and sends this message to the MATRIX LED board to be displayed and scrolled. 

Here is the circuit diagram with its description and operation…

Circuit diagram

Circuit description
As shown in this figure, there are only three building blocks in the circuit: 

1. The scrolling message MATRIX LED board
2. The Arduino NANO board
3. The laptop (or PC)

Note:

  • The scrolling message MATRIX LED board requires three wires for interfacing the Vcc, the Gnd, and the serial input. As a Vcc, it requires 12V @ 1A supply. So, it’s given an external 12V supply from an adapter. Its serial data input is connected with the digital pin D3 of the Arduino board.
  • The Arduino board is also given a 12V input from the adapter to its Vin pin. It communicates with the laptop using a USB cable and also receives data (message) from the laptop. 

Circuit operation
The circuit operation is simple. When the 12V supply is given to the circuit, it will begin its operation. The Arduino gets the string (message) from the laptop and it will give the same message to the scrolling message MATRIX LED board. This scrolling message will be displayed on this board.   

  • Initially, the default message “Hello” is displayed and continuously scrolled on the board.
  • The Arduino will continuously wait for any message form the computer. The user can send a message (string) to the Arduino IDE serial monitor. 
  • When the user sends a message from this serial monitor, it is received and stored by the Arduino board in its internal RAM.
  • When a complete message is received, the Arduino will send the same message serially to the scrolling message MATRIX LED board. The digital pin D3 from the Arduino works as a serial data Tx pin that sends the message serially to the MATRIX LED board.
  • The format to send message to MATRIX LED board is: “!_____________________message________________\r”
  • That means the text message that’s to be scrolled, must start with ‘!’ and end with ‘\r’
  • The Arduino inserts the start and end characters in the message received from the computer and then it sends it to the MATRIX LED board.
  • The MATRIX LED board will start displaying and scrolling this message continuously until it gets a new message.
  • This means that every time a user wants to display a new message, he or she will need to send it from a computer and the message will be continuously displayed and scrolled on the MATRIX LED board.

Software program

#include <SoftwareSerial.h>
SoftwareSerial matrix_LED_serial(2,3);
char msg[100];
int i=0;
void setup()
{
  // put your setup code here, to run once:
  Serial.begin(9600);
  matrix_LED_serial.begin(9600);
  matrix_LED_serial.print(“!Hello\r”);
  matrix_LED_serial.print(249, HEX);
  delay(5000);
}

void loop()
{
  while(Serial.available())
    {
          msg[i] = Serial.read();
          i++;          
    }
    if(msg[i-1]==’\r’)
      {
          matrix_LED_serial.print(‘!’);
          matrix_LED_serial.print(msg);
          matrix_LED_serial.print(‘\r’); 
          i=0;          
      }      
  }

 


Filed Under: Arduino, Microcontroller Projects, Tutorials
Tagged With: Arduino
 

Questions related to this article?
👉Ask and discuss on Electro-Tech-Online.com and EDAboard.com forums.



Tell Us What You Think!! Cancel reply

You must be logged in to post a comment.

HAVE A QUESTION?

Have a technical question about an article or other engineering questions? Check out our engineering forums EDABoard.com and Electro-Tech-Online.com where you can get those questions asked and answered by your peers!


Featured Tutorials

  • Introduction to Brain Waves & its Types (Part 1/13)
  • Understanding NeuroSky EEG Chip in Detail (Part 2/13)
  • Performing Experiments with Brainwaves (Part 3/13)
  • Amplification of EEG Signal and Interfacing with Arduino (Part 4/13)
  • Controlling Led brightness using Meditation and attention level (Part 5/13)
  • Control Motor’s Speed using Meditation and Attention Level of Brain (Part 6/13)

Stay Up To Date

Newsletter Signup

Sign up and receive our weekly newsletter for latest Tech articles, Electronics Projects, Tutorial series and other insightful tech content.

EE Training Center Classrooms

EE Classrooms

Recent Articles

  • Key factors to optimize power consumption in an embedded device
  • EdgeLock A5000 Secure Authenticator
  • How to interface a DS18B20 temperature sensor with MicroPython’s Onewire driver
  • Introduction to Brain Waves & its Types (Part 1/13)
  • An Embedded Developer’s Perspective on IOT (Internet of Things)

Most Popular

5G 555 timer circuit 8051 ai Arduino atmega16 automotive avr bluetooth dc motor display Electronic Part Electronic Parts Fujitsu ic infineontechnologies integratedcircuit Intel IoT ir lcd led maximintegratedproducts microchip microchiptechnology Microchip Technology microcontroller microcontrollers mosfet motor powermanagement Raspberry Pi remote renesaselectronics renesaselectronicscorporation Research samsung semiconductor sensor software STMicroelectronics switch Technology vishayintertechnology wireless

RSS EDABOARD.com Discussions

  • Dynamic power consumption.
  • Limits of duty cycle for ICM7555 IC?
  • pmos folded cascode vs nmos folded cascode for LDO
  • Pic 16f877A Hex file
  • Need help to choose accelerometer

RSS Electro-Tech-Online.com Discussions

  • Funny Images Thread!
  • How does a NOAC work?
  • How to designing a battery charging indicator circuit for 18650 battery pack
  • I need a music/LED fasher IC (only die)
  • Lighting a .010 green fiber optic with led
Engineers Garage
  • Analog IC TIps
  • Connector Tips
  • DesignFast
  • EDABoard Forums
  • EE World Online
  • Electro-Tech-Online Forums
  • Microcontroller Tips
  • Power Electronic Tips
  • Sensor Tips
  • Test and Measurement Tips
  • 5G Technology World
  • About Us
  • Contact Us
  • Advertise

Copyright © 2022 WTWH Media LLC. All Rights Reserved. The material on this site may not be reproduced, distributed, transmitted, cached or otherwise used, except with the prior written permission of WTWH Media
Privacy Policy | Advertising | About Us

Search Engineers Garage

  • Projects and Tutorials
    • Electronic Projects
      • 8051
      • Arduino
      • ARM
      • AVR
      • PIC
      • Raspberry pi
      • STM32
    • Tutorials
    • Circuit Design
    • Project Videos
    • Components
  • Articles
    • Tech Articles
    • Insight
    • Invention Stories
    • How to
    • What Is
  • News
    • Electronic Products News
    • DIY Reviews
    • Guest Post
  • Forums
    • EDABoard.com
    • Electro-Tech-Online
    • EG Forum Archive
  • Digi-Key Store
    • Cables, Wires
    • Connectors, Interconnect
    • Discrete
    • Electromechanical
    • Embedded Computers
    • Enclosures, Hardware, Office
    • Integrated Circuits (ICs)
    • Isolators
    • LED/Optoelectronics
    • Passive
    • Power, Circuit Protection
    • Programmers
    • RF, Wireless
    • Semiconductors
    • Sensors, Transducers
    • Test Products
    • Tools
  • EE Resources
    • DesignFast
    • LEAP Awards
    • Oscilloscope Product Finder
    • White Papers
    • Webinars
  • EE Learning Center
    • Design Guides
      • WiFi & the IOT Design Guide
      • Microcontrollers Design Guide
      • State of the Art Inductors Design Guide
  • Women in Engineering