Controlling BlinkyTape with Switches
Hi, I'm interested in building an interactive device with BlinkyTape that includes changing the programming on the BlinkyTape using a physical switch. For example, if the switch is on one setting, the BlinkyTape remains totally lit with white light. If you flip the switch, it animates a programmed image using various colors.
Can anyone give me advice on how to achieve this? With Arduino, perhaps? Or is there a simpler way of doing it? Any help would be greatly appreciated. Thanks!
Can anyone give me advice on how to achieve this? With Arduino, perhaps? Or is there a simpler way of doing it? Any help would be greatly appreciated. Thanks!
Comments
Cool idea. It all depends on how many different programs you want to have, what type, and if you want to cycle through them in a certain order or switch between them arbitrarily.
If you want to cycle through in an order it should actually be pretty easy to do so with just the tape and some hardware. Since the controller is basically an Arduino, you can write something very similar to this: https://github.com/Blinkinlabs/BlinkyTape/tree/master/ProductionSketch if you just want to cycle through with button presses.
But there are a couple of caveats: the controller itself doesn't have much memory, so the patterns will have to be algorithmic (rather than drawn via PatternPaint or something similar.) Also, things get trickier if you want to switch between patterns arbitrarily - there's basically one input pad available, so it might be possible if you can set your switches etc. to feed in a voltage a certain range for each control setting.
Alternatively, you could hook the tape up to a Raspberry Pi and use Python or Processing to control the tape - this is maybe a bit more straightforward depending on what you're planning.
Do I need a separate Arduino? How do I connect the button to the BlinkyTape?
Keep us posted!