Introduction: 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! 





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

Step 2: How It Works?

Picture of How It Works?

The tricky behind the display is multiplexing and the idea is the same as withe the 8x10 LED matrix: It is basically a way to split information in to little peaces and send it one by one.
this way you can save a lot of pins on the Arduino and keep your program quite simple.

Now this time we have 3 shift registers which multiply the number of outputs and save lots of arduino pins.
Each shift register has 8 outputs and you only need 3 arduino pins to control almost an limited numbers of shift registers.
We also use the 4017 decade counter to scan the rows, and you can scan up to 10 rows with it because you have only 10 outputs but to control it you need only 2 pins.
The 4017 is a very useful chip and it's a good idea to know how to work with it(http://www.doctronics.co.uk/4017.htm)

Like I said the scanning is done with the 4017, by connecting one row at a time to ground and sending the right data via the shift registers to the columns.

Step 3: Schematics

Picture of Schematics

The only thing I didn't specified in the schematics is the value of the current limiting resistors because they change from each type of LEDs, so you will need to calculate them by your self.

Now to calculate the value of the 24 resistors you can use this site : 
http://led.linear1.org/1led.wiz
You should first get some specs on your LEDs, you should know their forward voltage and forward current, you can get this info from the seller. The circuit operates on 5V so your Source voltage is 5V.

Download the original file to see the schematics better.(press the "i" icon in the top left corner of the picture)

I have added a PCB layout of the control board, and i want to thanks Willard2.0 who made this layout and let me use it so thanks a lot mate!

Step 4: Soldering the LEDs

Picture of Soldering the LEDs

Soldering 144 LEDs in a matrix formation can be a little tricky if you don't have a general idea how.
The last time I soldered a matrix I used lots of little wire jumpers which was a pain to solder, so this time I was a little more creative and came up with this way.

You need to bend the positive lead of the LED down towards the other ones and make a column, and snip off the leads you didn't use and try to make the connections as low as you can get, and you do this to all of the positive leads.
Now the negative leads are connected in a column and thats make soldering tricky because the positive rows are in the way, so you will need to make a 90 degrees bend with the negative lead and make a bridge over the positive row to the next negative lead, and so on to the next LEDs.

Now I will not explain how to solder the shift registers and all the parts because every one has hes own style and methods.

Step 5: Programming the Display

Picture of Programming the Display

We are almost there, the only thing thats left is the program.
So far I wrote two programs for it that do pretty much the same thing.
I have added the program that gets a word or a sentence from the arduino IDE serial monitor and displays it on the matrix, my code is very basic and may be not the best in the world but it does the work, and you are free to write your own code and modify mine as you wish.

I have added an excel file so you can create your own symbols and characters.
The way it works is like so:
You create the symbol you want  pixel by pixel(don't worry it's very easy) and copy the output line like so - #define {OUTPUT LINE}

I will add in the future a code for animations and a nice game of snake as soon as I have more time on my hands.


 

Step 6: We Are Done!

Picture of We Are Done!

Congratulations you made yourself a 24x6 matrix and now you can display anything you like on the fly.
Now try to play with it and come up with a new program and a better interface.

Comments

cirona (author)2017-09-08

very nice bro!

Manisha0221 (author)2017-09-05

Hii
Can you send me 24x6 matrix led display code that work on arduino mega and information about how 24x6 matrix display made and also working of it on my mail id manishachauhan0221@gmail.com

moosa.kasim.5 (author)2017-08-26

can you send me the 24x6 code to moosakasim313@gmail.com

vladanmitov (author)2017-08-08

Hi can you send me latest version of the 24x6 code to vladanmitov@gmail.com . One posted here doesnt seem to work on my system.

Thank you.

oswaldo0920 (author)2017-08-01

buenas me podrias compartir el codigo gracias mi correo es o.gallegoss@hotmail.com

AhmadN27 (author)2016-06-30

hai Syst3mX, how to modify 24x6 to 128x6, if you can help me to modify the source code??
let me know via email: nurhadiahmad88@gmail.com, thanks and success for you

deze8939. (author)AhmadN272017-07-26

Did u managed to get the matrix working? Wanna share the code?

elink5319 (author)deze8939.2017-07-26

Will send you the code

hinkey (author)AhmadN272016-09-22

Hi, did you get any code?

albartaufiq (author)2015-10-19

excuse me. if this running text expanded to 48x6 with just adding more register is possible?

and the matrix module is needed a zener to secure led from broken?

thanks

elink5319 (author)albartaufiq2015-10-20

I have a code that has been modified to recognize the additional shift registers for the 48 x 6 display and would be happy to share it with you, if you contact me at my email address; gplyr8@gmail.com. Also I have not found the need for the zenerk, but you will need to add some small capacitance capacitors to your ground on the shift registers, to avoid trouble. I also have an updated schematic for the display.

sharon291 (author)elink53192016-05-20

I know this is a bit old but do you still have the code for a 48 x 6 display? I'm hoping to adapt it to a 32 x 8 display that I've made. My email is: Sharon97Q@gmail.com. Thank you kindly.

elink5319 (author)sharon2912016-05-20

No problem. I sent it to you.

deze8939. (author)elink53192017-07-26

Me too maybe? deze8939@gmail.com

mahio4u (author)elink53192017-05-15

Halo @ELINK5319 Please could you send me the code? I'm also interested in this project. My email is mahio4u@yahoo.com. Thanks in advance.

elink5319 (author)mahio4u2017-05-15

I have received your email, thanks, because I do not always check this site everyday, and sometimes I miss people wanting the code for larger displays. Contact me by sending messages through this site or my email address: gplyr8@gmail.com and I will gladly send you the code.

hinkey (author)sharon2912016-09-22

Hi could you send me this code please - martinhinks@btinternet.com - Thank you.

albartaufiq made it! (author)elink53192015-11-13

thanks for the information and instruction. it's helpful. now i'm will develop it to 48x6 running text.

maybe i'm need to exploring the variation of the animating movement of text,hehe

albartaufiq made it! (author)elink53192015-10-20

actually, I'm still onworking progress on board. i made the PCB based from 24x6 with additional expansion for 24 lines.

does it will be ok?

oh, plus, the board that i will use is arduino nano. is it capable enough for the display?

elink5319 (author)albartaufiq2015-10-20

Not sure about nano, but it should be able to handle it.

avishwakarma8 (author)2017-07-25

sir hoe to control scroll speed plz help me

nehablue (author)2017-07-24

pls send the code

nehablue (author)2017-07-24

If i want to display a message from the 16th floor how big and what is the quantity of things? pls tell

instead of PCB what should i use

stark9000 made it! (author)2015-09-03

Thank you Syst3mX , i made it :)

UchennaO2 (author)stark90002017-05-23

Hello, congratulations stark9000, can you send me the code you used? solodotcom2010@gmail.com

badereddine (author)stark90002017-01-30

can you pleassssssse send me the code !!

baderkhezami000@gmail.com

and thank you :D

mashaelhu (author)stark90002016-04-22

can you please send me the code !!

mashael.h.alharbi@gmail.com

AndréV97 (author)2017-05-15

can you please send me the code?

andrevictorbarros@hotmail.com

hoangl31 (author)2017-04-30

can you please send me code please

leh183240@gmai.com

ChiranjitK (author)2017-04-12

can you please send me code
chiranjitkarmakar838@gmail.com

Sandesh_SP (author)2017-03-23

I'm doing time project with led display like below with hours and minutes only(4 seven segment display). I'm getting time from RTC, I want it to be displayed on the led display , do you have any codes or know how to control each time it increases by one unit. Please share it if you know. Thanks in advance.

ArunK270 (author)2017-02-28

It was too helpful.
Thanks

JO27 (author)2017-02-05

can you pleassssssse send me the code !!
Joe.ammadam@gmail.com

TylerH105 (author)2017-01-22

Hey guys, I just finished the project; however the only problem I am having is when I try to make any sentence longer than 6 characters it cuts it off short. Does anyone know what I need to change in the code to make a longer sentence? I want to see "Happy Mother's Day" appear and from what I am seeing I get "Happy M" if I recall.

elink5319 (author)TylerH1052017-01-25

byte your_text[8][6]={BH,BI,SPACE,BW,BO,BR,BL,BD};//PUT YOU TEXT HERE

display_word(1,your_text,8,15);// calls for the display_pattern function and says that int loop = 15(if you do more loop the pattern whould scrole slower).

To make it longer change the 8 in both lines of the code to match the length of your message

sncarter (author)2017-01-21

Hi Vadim,
Congratulations on an excellent project, thanks for posting. Would you or anyone else that understands it be able to post the Arduino code with full explanatory comments? Or an explanation of how the code works? For the Arduino beginner the program is very hard to understand. I would like to build something like this but without understanding the program, there is not a lot of point, because like anyone my objective is to completely understand how it works.

Thank you for any help.
Regards
simon

diping made it! (author)2016-04-23

Hi i have made the project buts instead of letters i am getting square boxes. I am not able to find the solution please someone help me. Please!!

A.K.E (author)diping2017-01-16

dude same here! i am getting square boxes too! if you find the problem, can you please tell me what it is?

vladislav1705 (author)2016-12-28

What do I need to do if a wanna make 16*6 matrix?Just remove one shift register?Thank you for answer in advance!

A.K.E (author)vladislav17052017-01-14

Yes.

A.K.E (author)2017-01-14

Why are some of the LEDs brighter than others? And not all of the LEDs are lighting up. I don't what's going on?

prushik (author)2017-01-01

Haven't looked at the code yet, so there might be a reason for it in there, but as I build this circuit according to your schematics, I'm wondering you connect the decade counter RST pin to an arduino pin. Couldn't you just connect it to Q6 and save the arduino pin for something else? Brilliant work by the way.

instructables98 (author)2016-12-25

could you help me: i can't resolve problem about l.e.d not same level bright and they're dimmer. i use a1015 transistor to scan row and ic 74hc595 to show data.

Seanfrass (author)2016-12-20

Could someone be of assistant to me with the writing code of this project. i wish to remodel the code and attach another component which is a gsm shield to be used as the input for the words to be displayed. I can be contacted at smythe_shawn@yahoo.com

Heru Masadi (author)2016-11-27

*I can not add a column to be 24 more. text above the column 24 will be damaged. sketch must change to produce what I want.

elink5319 (author)Heru Masadi2016-12-01

I have a code that will control up to a 56 column display, if you wish to use it. Contact me at gplyr8@gmail.com

ArjunG27 (author)2016-11-27

Actually sir i want to make an digital clock with 24x6 led matrix but i am not good at programming sir so u can help me to program this or u have the code of digital clock so u can send this code to :-

ag870994@gmail.com

ravixxx26 (author)2016-11-17

send me the circuit diagram plssssssssssssssssssss

ravixxx26 (author)2016-11-17

bro i am not getting this ....can u send me properly pls.....i am a begineer...pls help me plssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssss.......

i need it tomorrow...i have my science exhibition tomorrow pls send me circuit diagram on my email id:

ravianpara26@gmail.com

whatsapp no.: +919549874312

alextexas (author)2016-11-05

I want to make ir work with arduino mega ? ... what pins should I use ?

About This Instructable

660,469views

1,022favorites

License:

Bio: Electronics and LEDs what can be better ?! :D
More by Syst3mX:Make a Desktop TamagotchiLED Binary CalculatorMake a 24X6 LED matrix
Add instructable to: