This is my first post, so hi everyone! I'm just here to show off a display I've been working on. The LED matrices are two Sure 0832's and the microcontroller is a Duemilanove. There's also a wall-wart to power the display.
I used this: http://milesburton.com/index.php/Arduino_&_the_Sure_2416_Information_Display library to communicate with the display. I expanded the font set using this excel spreadsheet: http://www.instructables.com/id/LED-Scolling-Dot-Matrix-Font-Graphics-Generator-/step6/Predefined-5x8-Font-Data-and-Awesome-Patterns/.
Messages are sent to the Arduino from my Slackware Linux Server through USB Serial. I wrote a Java app on the Linux box to gather the data to be displayed and pass it along to the Arduino. The app is configured by a web interface I wrote in php. The code is a mess (like my workbench and my desk). If there is demand for the source I'll try to clean it up and release it. Here are some pics (the ones that look sloppy are just scrolling. An issue with the camera):
New mail from multiple accounts, and current time (default mode, not scrolling)
Current weather conditions (scrolling "65F Mostly Sunny")
Weather forecast for the (rest of the) day.
Stock ticker gets info from Yahoo finance.
User-programmable scrolling message.
Web configuration. The 5 to 9 under weather is when the weather is displayed (like when I get up in the morning so I know what to wear.)
I'm looking forward to chaining more displays and adding more functions such as a sports ticker. Hope you like it, and feel free to make suggestions!
Could you go into a more detail about how your web interface works?
The linux box that does the communication with the Arduino has an Apache web server with PHP support. The web interface is a PHP generated html form. The PHP reads and modifies a config file on the computer. When the page loads, the file is read and the form is populated with the config info. When I change something on the web interface and hit "Submit," the php script updates the config file to reflect the changes.
The java app periodically reads this config file, and uses these settings to determine what should be sent to the Arduino, to be shown on the display.
Have you thought about using an ethernet shield so it wouldn't need to be tethered to your PC?
You could have your web server open a socket to the arduino and send instructions that way.
I'd love an Ethernet shield in general. In this case, however, the pc is always on as I use it for a media/web/email/etc server. It doesn't matter to me whether it's tethered to the server or a switch. I like finding new uses for the server anyway, since it has a lot of idle cycles. If the shield had power-over-ethernet that allowed me to eliminate the wall wart, I'd have to consider it though. I guess I'd then have to buy the shield and a PoE switch. I'm sorta broke.
Any chance of some code? Those Displays are wonderfully cheap, and I'd definitely pull the trigger on a few if I knew how to work with the darned things.
I see the library, but that seems to be for setting individual pixels, and I have no idea of a quick method for writing text/scrolling/anything else.
So again, do you have any basic code for writing text / scrolling?
Any chance of some code? Those Displays are wonderfully cheap, and I'd definitely pull the trigger on a few if I knew how to work with the darned things.
I see the library, but that seems to be for setting individual pixels, and I have no idea of a quick method for writing text/scrolling/anything else.
So again, do you have any basic code for writing text / scrolling?
Thanks
Well now you see, I can tell you to search!
There is a many page thread on controlling them. I think you should find it if you search for sure electronics matrix although the thread does not include that in the name. Shouldn't take too long to find the thread though.
I spent about 1.5 hours sifting through various threads, blogs, and datasheets last night looking for some code that writes text or scrolls (I even looked through the WiseClock's code!) but couldn't find any.
Maybe my searching skills are lacking. I'll do a bit more later haha :P.
[edit]Hmm I seem to have overlooked this big thread. I'm currently looking through it, hoping to find some code for the 0832 rather than the 1624. I see some text generation for the 1624, but I have no clue if it'd work for the 0832..[/edit]
[edit]WestfW had included a ZIP file that had what looks like everything I needed, but it was hosted on Geocities (which ceased to exist) and is now gone. Anyone have a copy? :([/edit]
[edit]More progress! I've found Florinc's code for scrolling text on the 0832, but I can't seem to find the ever elusive ht1632.h that's needed to run the program :([/edit]
I see Sure sells these as kits that work with LCD smartie, does anyone know/have the code to make these work with LCD smartie? I think I see another little control board in the photo on eBay, but I believe that's just a microcontroller to handle the USB comms etc.
I linked to the library on the first post of the thread. There is example code on that page, but the code that actually came packaged with the lib seemed better. The example code will work if you hook up the display properly. It can scroll text, draw lines, etc..