# Light Emitting DiodeMatrixDisplay

## Smooth Scrolling in LED Matrix Displays

Paul B Webster says:

[when makeing LED matrix displays scroll no matter what you do, the digits always look like they are duplicated by 1 pixel.]

...that's one of two "trade secrets" of Times Square displays. The other is keeping the letters straight as they scroll, since the multiplexing is actually sweeping up or down through the rows, which produces a slant when the characters move.

As I see it, the problem with scrolling is that the letter spends a certain time in one position, then suddenly steps to the next. Your eyes OTOH, track the letters with a smooth movement either in fact, or virtually, using their terrific signal processing and a pixel resolution much finer than the display. (Obviously the "double width" effect will disappear somewhat with distance.)

Consequently, what the eyes see is a line of text whose smooth movement is modulated by a 1 pixel peak-to-peak sawtooth, blurring it to an extra pixel width.

The only remedy I can see for this is to use PWM to blur the transfer from one character to the next, dividing the pixel shift interval into at least four sub-periods with corresponding durations in the "old" and "new" pixel positions i.e. 4:0, 3:1, 2:2 and 1:3.

Interestingly, this is absolutely dead easy to do using the logic you should already have to drive the display; it is just a matter of serially loading the data into the row registers, waiting the required proportion of the multiplex time, then shifting in just one more bit (and re-latching presuming you have latching registers) for the remainder of the multiplex time. It will *not* be necessary to re-load the entire row.

Now as to *why* this should improve the appearance when by my analogue, you still have a "sawtooth" (indeed, a larger one!) imposed on the steady text movement, is largely intuitive. In the original case, all parts of the "sawtooth" were equally bright, so defining a moving pixel, whereas in the altered version, the pixel's intensity is proportional to how close it is to the average position.

Plot of "jitter" on movement with original algorithm:

```
****                            ****                            ****
****                            ****                            **
****                            ****
****                            ****
****                            ****
****                            ****
****                            ****
****                            ****
```

Plot of "jitter" on movement with PWM algorithm:

```

*                               *                               *
*                               *                               *
**                              **
**                              **
***                             ***
***                             ***
****                            ****
****                            ****
***                             ***                             ***
***                             ***                             *
**                              **
**                              **
*                               *
*                               *
```

Note that peak jitter is actually nearly doubled!

• spampalanivel_rajan2005spam at ~NOSPAM~yahoo.com
The letters look slanted after this alogorithm has been implemented...Pls help me. Also pls let me know the timing for each row.(The propotion of multiplexed time and the remaining of the multiplexed time).
James Newton of Massmind replies: Please post your implementation (or email it to me) so we can see what might be wrong.+

+

 file: /Techref/io/led/scrolling.htm, 4KB, , updated: 2010/5/26 14:19, local time: 2023/9/21 17:51, TOP NEW HELP FIND:  3.235.188.113:LOG IN

 ©2023 These pages are served without commercial sponsorship. (No popup ads, etc...).Bandwidth abuse increases hosting cost forcing sponsorship or shutdown. This server aggressively defends against automated copying for any reason including offline viewing, duplication, etc... Please respect this requirement and DO NOT RIP THIS SITE. Questions?Please DO link to this page! Digg it! / MAKE! Smooth Scrolling in LED Matrix Displays

After you find an appropriate page, you are invited to your to this massmind site! (posts will be visible only to you before review) Just type a nice message (short messages are blocked as spam) in the box and press the Post button. (HTML welcomed, but not the <A tag: Instead, use the link box to link to another page. A tutorial is available Members can login to post directly, become page editors, and be credited for their posts.

Link? Put it here:
if you want a response, please enter your email address:
Attn spammers: All posts are reviewed before being made visible to anyone other than the poster.
 Did you find what you needed? "No. I'm looking for: " "No. Take me to the search page." "No. Take me to the top so I can drill down by catagory" "No. I'm willing to pay for help, please refer me to a qualified consultant"

### Welcome to sxlist.com!

Site supported by
& kind contributors
just like you!

(here's why

Copies of the site on CD
are available at minimal cost.

.