Combining multiple LED matrix modules

This post uses a few LED Matrix Modules, that allow you to easily connect 8x8 LED Matrix displays to your Arduino.

Image for post
Image for post

In a previous post, you saw how easy it is to connect one of these to an Arduino and draw to the Matrix from a buffer.

Image for post
Image for post

Now in this post we will take things further, and use three LED matrices to form a long display of 24x8 which is great for displaying scrolling text.

Image for post
Image for post

Now each adapter has six pins. The first two are VCC (5V) and GND. Next come the CLK, DATA, LATCH and ENABLE pins. To connect three of these together, we can connect all the pins together into one pin on the Arduino except the DATA pin.

Image for post
Image for post

I used a breadboard with some male header pins to do this. Also, jumper wires work great for quickly making connections.

Image for post
Image for post

Next, the common VCC line is connected to 5V on the Arduino, and the ENABLE and GND lines to GND pins on the Arduino.

The ENABLE line is active low, hence to enable the displays, we need to give a low of 0V on this line.

The CLK line is connected on pin 12, latch on pin 11 and the three data pins from the three displays to pin 7, 6 and 5.

Image for post
Image for post

Thats it, the connections are done. It’s that easy. Now to proceed to the Arduino code.

First we will start with just displaying the buffer on the 24x8 screen. The below code should work easily, if all the connections are correct.

Basically we initialise a 24 byte matrix with each byte corresponding to a column on the display. Then we multiplex through the columns to display the entire buffer on the displays.

Image for post
Image for post

If you got it working, then congrats! We can quickly move to displaying text on the display now!

Have a look at this code, and try running it to get scrolling text on the displays! Code for Scrolling Text.

Image for post
Image for post

This is how the scrolling text looks like!

Parts used in this tutorial:

  1. Arduino Uno
  2. USB Cable
  3. Feemo Matrix Adapters
  4. Breadboard
  5. Male Header Pins
  6. Jumper Wires

Originally published at paramaggarwal.com.

Written by

Software guy. When you try to tell computers what to do, you eventually learn about human nature as well. (http://paramaggarwal.com)

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store