Make a 24X6 LED matrix

Step 5Programming The Display

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.


 
« Previous StepDownload PDFView All StepsNext Step »
75 comments
1-40 of 75next »
Feb 5, 2012. 6:01 PMdan95 says:
nice project, im trying to make one like this but i cant make the code works, ive been watching at yours but i cant figureo ut how can i make the message starts scrolling from the right side of the dmd, as its shown in your video, i wonder if you colud giveme a hand, thnks.
e-mail: dankeshn@gmail.com
Dec 19, 2011. 3:18 PMkasuki says:
.could somebody email me with regards with the code..kasuki_jpx@yahoo.com
Dec 19, 2011. 2:50 PMkasuki says:
This is a great project!.i want to make it bigger..6x56..i already have the circuit..could you help me with the code syst3mX..email me..kasuki_jpx@yahoo.com
Aug 18, 2011. 3:59 AMalcenhelmiyo says:
When i finish that project, my led light only 1 row on second row. why other row not light. can you solve my problem? please
sorry for my english statement
Aug 23, 2011. 1:32 AMrducay says:
pls double check your wirings at first i have that problem too, this projects works 100% , i already manage to modify this to 61X10 with the help of course by syst3mX
Nov 28, 2011. 4:35 AMjjose14 says:
hey pal can you help me in our project. we need to create 40x6 led matrix. can you help me with the code?
Dec 1, 2011. 3:05 AMrducay says:
just send a request to this email ronaldducay@yahoo.com
Sep 3, 2011. 7:17 AMmemexie says:
Hey :)
Can you sent me the code from Syst3mx? I would love to make it bigger too. :)
at meme_davids@yahoo.com
thanks! :)
Nov 21, 2011. 10:36 PMpraveenkm says:
I have to display fixed clock in this board (not scrolling). Any ideas?
Nov 14, 2011. 10:33 AMefdat says:
is it possible for it to continue scrolling when the arduino is disconnected?
Nov 14, 2011. 11:24 AMefdat says:
then I will need that code please...
Aug 29, 2011. 2:48 PMaxeman911 says:
how exactly will the arduino no t also display my output line and do i just replace it with anyone #define that is already in the program
Apr 4, 2011. 8:17 AMopsada says:
Hi, I'm George and I am a teacher from Bulgaria. With my students put together the scheme, but the result is - only the first 6 LED on the first row blink once after uploading the program. Can you help please?
Aug 18, 2011. 8:38 PMalcenhelmiyo says:
My led have that problem to. Only some led in second row blink after uploading the program, please syst3mx answer my problem
Jun 2, 2011. 4:43 PMgcampton says:
Sounds like A: you wired it backwards, and B: Your microcontroller isn't uploading the correct code... or doesn't have enough memory or some such. Try the example code that comes with the Arduino IDE, the basic -> Blink. I'm guessing the first col or row should blink if everything is wired up right.
Jul 31, 2011. 9:01 AMemihackr97 says:
Hi, im in the process of building an RGB LED cube, you gave me the great idea of making an excel program for it to work, thanks!
Jul 16, 2011. 10:02 PMaxeman911 says:
what commands do u use for the decade counter in the arduino environment, i know that ones for a shift register, but not for a decade counter?
Jul 19, 2011. 12:03 PMaxeman911 says:
SORRY, i have no idea what u mean by advance? are there any other commands or is that it for the decade counter?
Jun 25, 2011. 3:32 PMbkeaton says:
This is my next project. How do you upload the code to the Arduino. Thanks.
May 16, 2011. 2:55 AMshaadmahmud says:
this project is working now.....but i have a lil problem my text r mirrored.....and only looping text.txt file is working but now it works.txt is not working at all...please help me...i have an arduino with atmega168....
May 17, 2011. 2:04 AMshaadmahmud says:
thanx for ur reply...the text r now working...but in works.txt i've change the patterns[25][6]...but its stil not working....:(
May 17, 2011. 9:40 AMshaadmahmud says:
thanks a lot...its working now....u r a genius........:)
May 17, 2011. 10:07 AMshaadmahmud says:
please check ur pm.......:)
May 8, 2011. 6:49 AMzulcao says:
hi, i´m bilding one and i want know if need many modifications to make it with 10 rows ?

and excelent project.
Apr 3, 2011. 9:03 PMAnigram says:
Could you maybe post the code for a static text (as in one that doesn't scroll)?
-Obviously it would be limited to about 5 characters.

Thanks again!
Apr 10, 2011. 12:04 AMAnigram says:
I haven't yet gotten this to work yet.
I'm gonna continue because I really want to make it display static phrase, but if there is anyway you get some time this week, do you think you could take a shot at it?
Apr 4, 2011. 4:43 PMAnigram says:
I'm having a bit of trouble figuring out some of your variables in the code.

for
scrolling_word[first][second]

what does first and second represent?
Apr 4, 2011. 8:19 AMAnigram says:
Thank you. If I get it written up, I'll post it.
Apr 8, 2011. 7:14 AMpauljuy says:
hi wanted saver if you can put some linck with soft to handle the little sign thank you very much
Apr 2, 2011. 10:39 PMAnigram says:
Thanks for the write up!
I got everything working, however for some reason the text is displaying backwards.

Both the individual letters and the overall string are mirrored.

Any ideas?
1-40 of 75next »

Pro

Get More Out of Instructables

Already have an Account?

close

All Steps Viewing
View all steps of an Instructable on the same page when you're a Pro Member.

Upgrade to Pro today!
84
Followers
4
Author:Syst3mX(Vadim)
Electronics and LEDs what can be better ?! :D