Make a 24X6 LED matrix

Picture of Make a 24X6 LED matrix
After making a 8X10 matrix a lot of people asked me about expanding the matrix to some thing bigger, and some wanted to write stuff to the matrix via a PC, so one day I looked at a pile of LEDs that I had leftover from a LED cube projected and I decided to make a bigger matrix with all the things people wanted.

So what are you waiting for? Get those LEDs out and heat up your soldering iron because we are about to make a 24X6 LED matrix! 

Remove these adsRemove these ads by Signing Up

Step 1: Getting All The Right Things

Picture of Getting All The Right Things
So you will need the basic set of tools for this project : a soldering iron, some solder wire, a cutter, a needle nosed plier,some wire, wire striper, and some desoldering tools if you need them.

For the matrix you will:
1. 144 LEDs
2. 24 resistors( The value is determent by the type of LEDs, in my case 91 ohm)
3. 4017 decade counter
4. 6 1KOhm resistors
5. 6 2N3904 transistors
6. A long Perfboard
7. Arduino
8. 3 x 74HC595 shift register
10. some pin headers

1-40 of 544Next »
BuffaloFan32 made it!3 months ago

I made this and it works great! However, it is one of my first projects and I am still a novice. I would like to be able to scroll stock quotes from the internet on it while I am at work as I work for a bank. The problem I have is that my company won't let me install any drivers on my computer or the Arduino software. Is it possible to send the stock quotes through a USB cable to this thing? I was thinking that I could write code in VBA or python that sends signals to my USB port and then the Arduino or an ATtiny could 'sense' those signals and interpret them and then scroll the information.

Syst3mX (author)  BuffaloFan323 months ago

First of all great work!

You need to have a driver installed USB to COM port for this to work.

To make it work from USB only will be a lot harder, you need a special library for this to work it's called the "V_USB", but it's not going to be very easy.

Actually, a simple USB to UART converter bridge works wonders. Unfortunately, I don't think the drivers come installed with a base install of the Windows OS (unlike most Linux distros).

samob4 months ago
paramus samob1 month ago

Thanks samob and Syste3mX. I have successfully upgraded 24x6 matrix to 48x6. But I'm trying to make 64x6 led matrix. Which part of code should I change to make it work. I am using AVR atmega32 instead of arduino but the code is pretty much same. PLZ Help.

paramus paramus1 month ago

here is my email

anayak51 month ago

sir i make this its not work properly when i run its leds are on but not a charters are show on display same only vertical line in runing why pls help me my email id is

Can someone please send me the source code by e-mail? will be grateful ... I have the source code in Spanish, but I can not compile, thanks.

ashutosh.roy2 months ago

In programming :
int latchPinPORTB = latchPin - 8;
int clockPinPORTB = clockPin - 8;
int dataPinPORTB = dataPin - 8;

why it is subtracted by 8 ???

rmaduki5 months ago

if added 24 columns led again,, change this number to 48 ( and you have added 3 pcs of IC 74HC595)

sketch loping txt matrix.png
ewalbster rmaduki4 months ago

I am trying to get my 48x6 matrix to work and I changed the 24 you highlighted to 48 but it still doesn't work... Any other sugestions?

rmaduki ewalbster3 months ago

check wiring and schematic

samob3 years ago
Very nice project! I built a 40x6 matrix with 5 shift registers and now i spent 3 days trying to modify your code to my matrix. Any hints?
ewalbster samob4 months ago

I also need help I'm trying to get my 48x6 to work. My email is please send me working code if anybody has it. Thanks!

Syst3mX (author)  samob3 years ago
It's going to be tricky to modify my code because it was made for a matrix for 24 columns of LEDs or less, because I was lazzy to come up with something universal. You would need to work out a way to divide your 40bit word in to 5 shift registers and find a way to scroll that world.
The scanning part of the code is pretty much the same and needs only 3-4 modifications, if you still having problems send me your email and I will try to help you out.
samob Syst3mX3 years ago
Ok, thanks, i sent you a PM

sir,, send me too.

about your project 40x6,,


rca_dj1 Syst3mX6 months ago

Sir.. I and rca123 is in the same group we modified a 24x6 Led Matrix of yours 48x8 but we cant scroll a text till 48 rows, the scrolling is only for 24 rows.. please help us Sir.
send us in our account for more tips (
we will appreciate your help for the improvement our group project thanks

daengSikki samob5 months ago

Hi, I've build 24x6 matrix but i want make 40x6. Would you like send me your code 40x6 matrix?. my email :

Thanks alot

rca123 samob6 months ago

hey we have the same problem too.. i made a 48x8 Led matrix but still i can't modify the code to have it. need help.. :-)

ezz9174 months ago

HI i am currently testing the led display and i am having some troubles lighting up the first 8 leds in the matrix, they light up but they arent very bright did anyone have this issue and would just changing the resistor value for those 8 brighten them up??

ezz9174 months ago

was wondering how you could test this with the code? can you just hook up 10 * 6 and connect accordingly

schulzecd4 months ago

do you know the size of the perfboard you used? Or any info on the dimensions of your display?

Fachasaurus5 months ago

Hello all. I am having this new issue now. The message that is displayed is supposed to be HI WORLD but when I run the program, all the lights in a single letter block light up. Just a huge 5x6 rectangle. I can faintly make out HI WORLD, but the other lights are also lit up so its hard to tell. Does anyone have any idea as to why this is happening? Could it be that my resistors are not large enough for this? Thanks for taking the time, appreciate any advice at all!


don t use 2N3904 transistors. use ULN2803A then it will be ok. i had the same problem .

Thanks for the suggestion! I tried using this transistor but I still had the same problem. I am not sure what else it could be. I was under the impression that it was the resistors on the LEDs but that didn't seem to solve it either.

I think I will have to reassemble the LED board. But I am not sure that will solve my problem since all the lights are coming on either way.

If anyone has some more suggestions or advice, I would appreciate it greatly!

cjayawardena4 months ago

led matrix don't use the Arduino

thw1234 months ago

plz giv me instructions abt 24x6 LED matrix and its code

RIJO VADAKKAN4 months ago


QuincyC5 months ago

Would the Arduino Micro be usable with this?

Steve25 QuincyC4 months ago

Yes its arduino based

Pode Ser o Aduino UNO?

Amigos eu Quero fazer, porem quero saber se esse Led Servi

M.Hawse5 months ago

Thanks for taking the time to share this project with everyone. I like how you used the decade counter. Well done.

lgomez155 months ago

Hi , I have a question how can i enable the keyboard? i just want to type the word in the code so that it work. i will appreciate your help thank you

You2135 months ago
How much did it cost to get all those leds

you can make a search on eBay..

Hassanul_6 months ago
I successfully made a 24x8 matrix by making some changes to the code. Thank you syst3mx for the code!


Could you please send me your code for 24x8 led display?

My mail is

thanx alot

I'll email my modified code to you. But there's another i'ble below I found after I edited my code. Its from astroboy907. Its can hold more words

1-40 of 544Next »