Make the kids dance for bubbles! Use littleBits and a 5V relay to hack your bubble machine. This is a solderless instructable. littleBits connect magnetically, and we will be using a breadboard for the relay.
This project assumes that you are or have an adult who knows how to use a relay! This is not a relay tutorial. Hacking your littleBits or your Bubble Machine could break them, and that would make you sad. Hacked littleBits are not returnable.
5V relay x1
black electrical tape
wire for breadboarding
littleBits used: power, motion trigger, timeout, led, wire
optional littleBits: sound sensor, light sensor, toggle switch
Step 1: Pull Wires From Bubble Machine
Step 2: Assemble LittleBits Circuit and Relay
Assemble the littleBits circuit: power + motion trigger + timeout + led + wire bit ... Test the orange and white wires with a multimeter to confirm which is signal and which is ground. Keep live wires apart with black electrical tape. Turn power off until the wires are correctly breadboarded.
Read the datasheet that comes with your relay, because all relays are somewhat different. The littleBits wire is smaller than the recommended 22 gauge wire most people use for breadboards, so you might need to use alligator clips with jumper wire to connect the littleBits wire to a breadboard. Connect the orange signal wire to the relay's positive Input 1, and the white ground wire to the relay's negative Input 2. Poke around with your multimeter and use your datasheet and knowledgeable adult to determine which leads you should connect to your bubble machine wires.
I used an OMRON G5V-2 relay, which is DPDT, but you could use any 5V relay. The image of a relay schematic on this step is for my relay.
Step 3: Testing and Adjusting
If you are using alligator clips, be sure to wrap them with electrical tape to prevent a mistaken connection!
Cover the littleBits so bubbles don't get them wet! If the motion trigger is a tad too sensitive, cover it with duct tape or craft materials. Visit the littleBits website for tips and tricks on how to adjust the motion trigger sensitivity and direction. http://littlebits.cc/fridays-tips-tricks-the-motion-trigger
Now you can dance for bubbles!