Vegas lights
ERM
Posts: 34
Hi Guys,
Well, was in Vegas not too long ago and saw an interesting effect I've been trying to replicate. I was watching a slot machine and noticed it had an LED border around the sign above the machine. It had many different patterns to it. The one pattern that got me interested was a sequencing pattern with a fade. It almost looked like what I would call a comet tail.
The effect was as follows: The first LED would light up (on), the next LED would then light up (on) and the first LED would dim just a little. When the third LED lit, the second LED would dim a little and the first a little more. You get the picture. As the LEDs sequenced around the sign, it would have a little tail behind it fading in intensity until off.
The thing that is driving me crazy is how to do this. Is this a PWM setup and how? I'm having difficulty arranging the code. Is there something else that would work other than PWM? Thanks in advance.
Tony
Well, was in Vegas not too long ago and saw an interesting effect I've been trying to replicate. I was watching a slot machine and noticed it had an LED border around the sign above the machine. It had many different patterns to it. The one pattern that got me interested was a sequencing pattern with a fade. It almost looked like what I would call a comet tail.
The effect was as follows: The first LED would light up (on), the next LED would then light up (on) and the first LED would dim just a little. When the third LED lit, the second LED would dim a little and the first a little more. You get the picture. As the LEDs sequenced around the sign, it would have a little tail behind it fading in intensity until off.
The thing that is driving me crazy is how to do this. Is this a PWM setup and how? I'm having difficulty arranging the code. Is there something else that would work other than PWM? Thanks in advance.
Tony
Comments
Dave
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Dave Andreae
Parallax Tech Support·
www.youtube.com/watch?v=p3T49yu19hE
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Mike2545
This message sent to you on 100% recycled electrons.
Post Edited (Mike2545) : 11/1/2009 12:25:24 AM GMT
I removed the led on pin 15, this allows for a different pattern and for me to put this into a PIC chip (only 15 output ports on the 18F1320)
www.youtube.com/watch?v=sKdc19odSrU
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Mike2545
This message sent to you on 100% recycled electrons.
Changing speed gradually (not abruptly going from·fast to slow) would be a good effect.· The "random" aspect would be whether to +/-/RTS at some interval (or non-interval.)
s404.photobucket.com/albums/pp129/mike2545_photo/?action=view¤t=CIMG2634.flv
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Mike2545
This message sent to you on 100% recycled electrons.
You are now part of the electronic sculpture movement.·
Long live our aesthetic.