Shadow Box / Glasses Shaped LED Light Chaser - SX
Yet another LED light chaser as a holiday gift -- this one for my father's optical shop. Construction is birch plywood. Features T-1 3/4 LEDs, IR emitters/detector (for fun interaction), SX-28 protoboard.
The user can cycle through the patterns in order by pressing the button, or a random pattern will be set following interaction with the IR emitters/detector. Pressing and holding the button puts the display to "sleep".
8 banks of multiplexed LEDs are run from the protoboard; this particular program features 32 step PWM brightness control on each bank of LEDs. Additionally, I bloated up the ISR with real-time fader controls -- any bank can be set to fade-to-and-stop a value or pulse back and forth between a hi and lo value. The background real-time faders run in units of 2ms steps per brightness tick -- so dimming a bank from a brightness of 31 to 0 with a fadeRate of 4 would take: 32 steps * ( rate 4 * 2 ms ) = 256 ms or about a 1/4 second. The fades are all pretty hypnotic in their own way.
Photos, full-size plan and wiring diagram attached. Code attached to the next post.
See a video here: www.youtube.com/watch?v=QmLDof_gE24
Lest forum members think all I do is build LED thingies , I'll be trying to post some videos/photos/etc of my 'bots over the next few weeks -- the 'bots are usually my main focus.
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
When the going gets weird, the weird turn pro. -- HST
The user can cycle through the patterns in order by pressing the button, or a random pattern will be set following interaction with the IR emitters/detector. Pressing and holding the button puts the display to "sleep".
8 banks of multiplexed LEDs are run from the protoboard; this particular program features 32 step PWM brightness control on each bank of LEDs. Additionally, I bloated up the ISR with real-time fader controls -- any bank can be set to fade-to-and-stop a value or pulse back and forth between a hi and lo value. The background real-time faders run in units of 2ms steps per brightness tick -- so dimming a bank from a brightness of 31 to 0 with a fadeRate of 4 would take: 32 steps * ( rate 4 * 2 ms ) = 256 ms or about a 1/4 second. The fades are all pretty hypnotic in their own way.
Photos, full-size plan and wiring diagram attached. Code attached to the next post.
See a video here: www.youtube.com/watch?v=QmLDof_gE24
Lest forum members think all I do is build LED thingies , I'll be trying to post some videos/photos/etc of my 'bots over the next few weeks -- the 'bots are usually my main focus.
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
When the going gets weird, the weird turn pro. -- HST
Comments
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
When the going gets weird, the weird turn pro. -- HST
Very nice project and holiday gift.......
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
··Thanks for any··that you may have and all of your time finding them
·
·
·
·
Sam
Nice project. I love to see people using ASM in their SX/B program. That was exactly what the compiler was meant for, BASIC for the ease of use, ASM for the raw speed.
Bean.
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
www.iElectronicDesigns.com
·
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
When the going gets weird, the weird turn pro. -- HST