Led matrix
gt401967
Posts: 2
I’m new to Basic Stamps. Is it possible toto control a matrix of LED’s that is say 32 X 32 using pulse width modulation? I am trying to make an array of RGB Luxeon LED’s that will allow me to control the intensity of each LED independently. Any suggestions/input helps.
Thanks
Thanks
Comments
·· Here are a couple of threads you could check out...
http://forums.parallax.com/showthread.php?p=545620
http://forums.parallax.com/showthread.php?p=539830
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Chris Savage
Parallax Tech Support
csavage@parallax.com
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
·1+1=10
Paul,
At first glance, 3K seemed way too high, after the math, I was amazed to see that it was that high. I think gt401967 might not have realized this huge task. Especially for the slow BS2's.
Knight.
·· Nice catch.· I didn't even do the math!·
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Chris Savage
Parallax Tech Support
csavage@parallax.com
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
·1+1=10
And by-God, I'm going to try it as soon as I get a chance.
Bean.
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
"SX-Video·Module" Now available from Parallax for only $28.95
http://www.parallax.com/detail.asp?product_id=30012
Product web site: www.sxvm.com
"One experiment is worth a thousand theories"
·
Some quick calculations on a 8x8 RGB led module with a SX48 or SX52.
Assuming a RGB led has four connections, connect the leds in a matrix like
a matrix keypad, but with 3 levels. Requires 4x8 = 32 pins. Instead of using PWM,
use a timed switch (one led on at a time) like scanning a matrix keypad. Take 3 rambytes
per RGB led, total is 64x3 = 192 bytes. Plenty of ram left to implement the switching.
(the leds are illuminated like a TV screen, one dot at a time).
The SX48/52 protoboard is ideal, the 32 pins for led control can be wired to a 2x17 pinheader in
the pad area. Mount the 64 leds on a pcb with 2x17 header. Connect both headers with
34pin flatcable. Combine multiple of those modules to create a larger·led array.
I would go for the SX52. Then you have 8 pins left for module selection, I2C I/O or serial I/O.
regards peter
I did have the BS2 hooked up to 3 74595 Serial/Parallel registers.
With the matrix being multiplexed, you can only run 1 row of LEDs at a time. This would take the PWM already down to 1/10. (10 rows).
I am still working on a solution that will send frames fast enough that the PWM is not visible.
Bean.
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
"SX-Video·Module" Now available from Parallax for only $28.95
http://www.parallax.com/detail.asp?product_id=30012
Product web site: www.sxvm.com
"One experiment is worth a thousand theories"
·
Thanks