3 Simple Ways to
Share What You Make

With Instructables you can share what you make with the world — and tap into an ever-growing community of creative experts.

PhotosPhotos

Share one or more photos of a project, recipe, or whatever you've made, quickly and easily.

Step by StepStep-By-Step

Share your step-by-step photos with text instructions of what you made so others can do it too!

VideoVideo

Share your how-to video. You'll need your embed code from a video site such as YouTube.

Library for easy alpha-numeric display on an LED matrix?

I'm looking for a library for either the Arduino or AVR line of microcontrollers, that enables easy display of scrolling text on a 5x7 or 8x8 LED matrix.  Here's what my requirements are:

- The library should contain a table of common alphanumeric characters (alphabet, numbers, and maybe some symbols)
- A function should call up any number of letters to form words or phrases, like this:

Scroll(H,E,L,L,O,sp,W,O,R,L,D);

- Once the function is called, the text automatically scrolls across the display
- The function can be called from anywhere, like if/then statements, case statements, results of random numbers, etc.
- Additional modifiers, like scrolling left or right, speed, and repetition would be nice to have but not necessary.

I've searched the AVRfreaks forum and various Arduino forums, but haven't found what I'm looking for.  So far anything I've found is basically hard-coded bit-banging, making it difficult to change the text and impossible to store more than maybe 100 total characters.  My goal, with a set library of characters, is to have the ability to play back hundreds or thousands of characters, arranged as single words or phrases.  They should be as easy to change as typing in a new sentence in plain language into the code.
 
So, has anyone come across such a thing?

5 answers
sort by: active | newest | oldest
Feb 16, 2011. 11:10 PMiceng says:
Have look at my ible [ LED RGB UFO COM MJT ] ..
May 14, 2010. 3:50 AMnevdull says:
Hey Jeff-o!

Sorry this is a little late.  Here (or maybe I'll email it to you if I can't get the formatting in this post) is code for what you are wanting (I think).  It takes a message is a char [ ] and scrolls it across a DLO dot matrix led.

-- The formatting won't work for me so check out this URL --
Code for single letter and delayed scroll

If you need more help or want to add functionality to it, you have my email :)

-gian
/nev/dull

May 14, 2010. 10:28 AMnevdull says:
haha yah for a couple of bucks, the DLO is worth the money for a smart dotmatrix LED, because, like you said, it does all the heavy lifting. :)
Apr 29, 2010. 10:54 AMmathews says:
I had trouble recently displaying numbers with a PIC and alphanumeric LCD display. I could not do it properly, so instead I wrote a function which looks at the number called as a parameter of the function, and then output it as the text equivalent.

I suspect you could build something similar for these matrix displays, and use a three dimensional (I think) lookup table for each row of each character, and print each row of the character in sequence.

You might need external support electronics setup something like this.

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!