Author Topic: Charlieplexed Scrolling Display  (Read 3927 times)

TimO

  • Newbie
  • *
  • Posts: 36
Charlieplexed Scrolling Display
« on: October 29, 2013, 06:38:03 am »
I'm using the Charlieplexing shield to generate a scrolling LED display.  With a 4×5 pixel display, it's a bit rudimentary, but it does work.  I've got the entire ASCII set from 32 to 127 sorted out, albeit with a few compromises for the lower case e,s and z, which look rather iffy, but are the best characters I can come up with.  I'm using the PROGMEM directive to put all of the lookup table into the program memory, rather than as a simple array, which rapidly eats up the RAM.

Currently the code is rather simplistic, and poorly written, so uses up RAM, limiting the scrolling message to about 70 characters, although this should be trivially sortoutable.  The scrolling, over only 4 pixels wide, is a bit clunky, so I'm trying to improve it, by in effect interpolating half pixels across the display, in an attempt to generate smoother scrolling. It's proving a little harder to debug the code for generating half lit pixels, as well and fully on and off ones, but I'm confident that will be working shortly.

I'm treating the display as five four-pixel rows, to minimise the mutiplexing brightness drop, since driving each pixel individually means that each is only lit for less than 1/20th of the time.  Driving an entire row at a time means that the LEDs are on for 1/5th of the time (minus a bit of time for switchover), so much brighter.

I'll put the code up here, when I've either got the half scrolling part working, or given up on it!

benc

  • Newbie
  • *
  • Posts: 1
Re: Charlieplexed Scrolling Display
« Reply #1 on: December 04, 2013, 05:05:35 am »
Hi TimO,
I just recently got some digisparks and a few shields.
I burnt my fingers a couple of times during the process of soldering up the LED shield.
I would love to see what you've done with the code when you get a chance, hope you haven't given up on it!
Cheers,
Ben.

TimO

  • Newbie
  • *
  • Posts: 36
Re: Charlieplexed Scrolling Display
« Reply #2 on: January 12, 2014, 08:15:49 am »
I did grind to a bit of a halt with it, having used one of the SparkFun Red/Green 8×8 matrices, driven via I2C, which was much easier to talk to.  I've also been using their WS2801 strips to talk to, which are also a lot easier than trying to get the Charlieplexing working reliably, and much prettier.

I should dig it out, and complete it, although it was getting frustrating trying to get things working properly.  I'm not convinced I'll get the half LED movement working reliably, but it's worth a further fiddle.