Bubble guns are fun, but automated bubble guns are even more fun! In this instructable, we will teach you how to build a bubble gun that responds to noise. Whether you're looking for a fun gimmick at a party or a cool decoration to spruce up a room, this is the perfect device for you! We created this project in collaboration with the Femineers™ at the Fremont Academy for an Electronics class at Pomona College. "The Femineer Program was created by Cal Poly Pomona's College of Engineering in 2013."
Note: This project uses an Hexwear, instead of an Arduino. We've attached a link to their site within the supplies list.
Step 1: Get Together Your Supplies
What you will need:
1. HexWear Wearable Electronics Kit: http://hexwear.com/
3. A rubber band
4. Hot glue or tape
5. Soldering kit and material
6. Battery powered bubble gun: https://www.target.com/p/amazing-bubbles-mini-exst...
8. Arduino controlled switch: https://www.mouser.com/ProductDetail/Parallax/2711...
9. Wire cutters and strippers
Step 2: Downloading the Arduino Code
1. Download the Arduino IDE from https://www.arduino.cc/en/Main/Software
2. Install the Servo library by going to Sketch > Include Library > Manage Libraries. Then look up Servo in the Library Manager and install it. Click Close.
3. Download our bubble gun code.
Note: Because we are working with a Hex, the code currently does not work with Mac computers.
Step 3: Putting Bubble Gun Together
1. Resoldering connections in bubble gun to include an Arduino controlled switch
a. Disassemble bubble gun by unscrewing all the screws. Tip: Take a picture of the inside of the bubble gun so you know where all the internal structure goes when you have to put the bubble gun back together.
b. Take out all existing wires in the gun.
c. Solder new wires inside bubble gun according to the bubble gun diagram. Each colored line represents a different wire to specific connections. The dotted box represents where the battery case within the bubble gun is. The wires going outside of the bubble gun are going into the Arduino controlled switch; those wires must be screwed into the switch. Make sure you cut an appropriate length for each wire.
d. Tape or hot glue wires down inside bubble gun so they don't move around.
2. Attach connections to HexWear
a. Solder wires from the switch and the servo to the HexWear according to the HexWear setup diagram.
3. Last touches on bubble gun
a. Put bubble gun back together and screw connections back together.
b. Use hot glue or tape to place the switch and servo on top of the bubble gun as shown in the diagram. The servo should be at the front of the bubble gun. The switch can be located anywhere as long as the wires reach.
c. Attach rubber band onto the soap spreading lever as demonstrated in the picture.
d. Thread a piece of string through one of the holes in the servo to the lever as well. Hot glue the piece of string in place on the lever and on the servo.
4. Uploading code
a. Attach a micro USB cable to the HexWear and to the computer that contains the code you downloaded.
b. Within Arduino IDE, make sure you have the right port selected by going to Tools > Board > HexWear and Tools > Port > HexWear.
c. Hit Upload on the code!
5. Attaching external battery pack
a. Unscrew battery pack and place three AAA batteries inside battery pack. Then, screw battery pack back together.
b. Unattach the micro USB cable from the computer and the HexWear. Attach the battery pack instead.
c. Place battery pack wherever convenient.
6. Attach soap to the bubble gun
Step 4: Make Noise!
Scream! Yell! Play loud music! Admire the bubbles!
It may take a second for the bubble gun to pull up the soap but keep making noise.
Check out our video to see how our bubble gun is working.
This is an entry in the
Arduino Contest 2019