The new forums will be named Coin Return (based on the most recent
vote)! You can check on the status and timeline of the transition to the new forums
here.
Help wireing 3 LEDs in a rotating sequence
Hi guys, I'm trying to build a Infusion bottle for a costume for PAX, and I'd really like the bottle to light up like in Bioshock. However, that means that it needs to cycle between blue, red and yellow, and I don't know how to do that. I've got some skills in electrical work, but I think something like this would be beyond my knowledge. Any help would be appreciated! Thank you again for your time.
FTC: honk.
FTC: HONK.
PAX Prime 2014 Resistance Tournament Winner
0
Posts
FTC: HONK.
PAX Prime 2014 Resistance Tournament Winner
To light up the LEDs, you need to cycle the colours, so let's say you want red -> yellow -> blue, so decomposing that into RGB, you light up red, red+green, blue. So let''s say you have a second counter set up to produce 0, 1, 2 (or 00, 01, 10). Then you'd wire r to the inverse of the high bit, green to the low bit and blue to the high bit
The other option is to use a simple microcontroller, which is easier, sort of, but has more to go wrong
Otherwise if the colour is crucial and you can't find one that does what you need, a simple microcontroller like the Arduino might be easiest for an electronics beginner, as the wiring would be simple, and the code would be really basic.
If you are feeling brave and want to make a circuit there are lots of ways to do it, but all of them a little complicated. I'd probably try a shift register and a clock like the 555.
It's not the most simple circuit in the world -- trickier than a 555 timer and a decade/octal counter but a lot easier to source parts for if you don't have that stuff laying around.
twitch.tv/tehsloth
FTC: HONK.
PAX Prime 2014 Resistance Tournament Winner
Just get a Lilypad. They are super easy to wire up and program for flashy stuff. It seems scary, but they are super simple and really cheap. They are designed to be sown into costumes and clothing.
If you follow this tutorial you have have a blinking light by step 6. All you have to do beyond that is wire up other lights around the edge and change the code a touch to blink those. It's really simple and a huge community can help you with code if you can't do it. Someone can even write it for you if you ask really nicely on their forums. (I've had people write me code that was much much more complex and I didn't even mean for them to do all the work for me.)
(that's D type flip-flops and NOR gates both of which are cheap)
All it needs is a clock signal (I suggest a 555 to get a decently slow signal) and in your case, LEDs connected to Ao, Bo, Co. IIRC each LED is lit for one clock cycle and then off for two.
EDIT: how to 555: en.wikipedia.org/wiki/555_timer_IC#Astable