Introduction: Iron Man Working Arc Reactor
You'll have an Arc Reactor just like Tony Stark, Ironman, who needs the Arc Reactor to keep glass shards from killing him.
This project uses Adafruit's Gemma microcontroller, a programmable microcontroller board, a single Flora RGB Smart NeoPixel, an LED solderable the the microcontroller, and Neopixel Ring with a ring of Neopixels, also solderable to the microcontroller. This circuit diagram is glued to two face-plates, which are lasercut Then, elastic is used to allow the circuit to be worn.
Step 1: Materials
GEMMA wearable microcontroller
Flora RGB Smart NeoPixel
3 x AAA Battery Holder with On/Off Switch and 2-Pin JST: http://www.adafruit.com/products/1463
2x laser-cut/etched acrylic in clear or white: http://www.adafruit.com/products/1463
Black elastic: http://www.adafruit.com/products/1463
3x AAA battery
Solid-core copper hookup wire
E6000 craft glue or hot melt glue
Needle and Thread
USB cable - A/MicroB
Helping Third Hand Tool
Step 2: Connections and Soldering
This is the diagram you should be following. Copy exactly as said as well as in the order shown so there will be less clutter and tangling. The Vcc in the diagram is equivalent to the 2 V+'s on the current Arduino Gemma 2.0 version. Solder the pieces together with the NeoPixel Ring facing forward as is the singular NeoPixel (you only need one) in the center of the NeoPixel facing forward in front of the Gemma and the Gemma facing backwards behind the NeoPixel. Before you start to solder, you need to cut and strip 3 wires 2 cm each and 3 wires 3 cm each. Solid wire is preferred. Also, make sure the wires can fit through the holes of the Gemma, Neopixel ring, and Neopixel. Then, starting with the Neopixel ring, solder one side of the 2 cm wires onto one V+ hole on the RING, one onto the Data OUT hole, and one onto the GND ground hole. Make sure to insert the wires from the top down. Then solder the other side of the V+ hole wire onto the single Neopixel plus side, the Data Out to the lower arrow on the singular Neopixel, the one pointing towards the center and the GND ground to the negative on the Neopixel. The Neopixel ring and Neopixel should be facing the same way with the Neopixel centered in relation to the Neopixel ring and be slightly (1 to 2 cm) in front of the Neopixel Ring. Then, solder the 3 cm wires onto the Gemma microcontroller at the GND, D1, and Vout holes with the wires in front. The Gemma microcontroller will be facing the opposite direction as the Neopixel and Neopixel Ring. Also, have the Gemma microcontroller micro USB port facing up towards the Neopixel ring's data out hole. Then, bend the wires back and solder the other side of the wire soldered to the Gemma GND hole to the GND hole on the Neopixel ring. Solder the other side of the D1 cable to the Data In hole onto Data In on the Neopixel ring. Finally, solder the other side of the Vout wire to the Vcc wire. The Gemma microcontroller should also be centered, as the Neopixel is, laying slightly (1 to 2 cm) behind the Neopixel Ring as to make uploading programming easier.
Step 3: Testing LED’s
Next, you'll need to test your LEDs. First, download the 1.6.8 version of Arduino for the appropriate OS. Arduino is an open-source software and electronics platform used for writing and uploading code. After this, if you don't have the apppropriate drivers installed on your computer, download the appropriate Adafruit drivers. I downloaded and installed the Windows Adafruit Drivers at https://learn.adafruit.com/adafruit-arduino-ide-setup/windows-setup. Mac OSX and Linux setup are also availiable at the link on the right column. Follow the instructions stated on the website to install the driver software. For this particular project, install the Trinket / Pro Trinket / Gemma / USBtinyISP drivers.
Step 4: Test Your Boot Loader!
Following this, open your command prompt by pressing the windows key and searching for it. Keep in mind the initial path of the command prompt. Next, you'll need to install AVRDUDE, a command line for programming AVR chips, including the Arduino Gemma 2.0, downloadable at http://www.ladyada.net/learn/avr/setup-win.html. Make sure you place the AVRDUDE files into the same path as shown on your command line so that it can be found by the command prompt. You will use this command prompt to test the programmer within your Arduino Gemma. Follow the step by step to download, then go to http://www.ladyada.net/learn/avr/setup-win.html. Open the command prompt and follow the steps on https://learn.adafruit.com/usbtinyisp/avrdude to test your bootloader. When you test the bootloader, the green light for PWR should be on and the red light below, representing that the bootloader is ready to receive programming should be flashing.
Step 5: Coding!
Now you know that your bootloader, circuit, and the proramming work. At this point, you then copy the code provided at https://learn.adafruit.com/superhero-power-plant/build-it near the bottom of the page. Then, close and reopen the Arduino app. Paste the code into the new file and compile and verify the code. If successful, then press the button which reboots the bootloader, between the PWR and D1- LEDs on the Gemma microcontroller. The D1 light should flash yellow to represent that it is ready to recieve programming. Remember again that the green PWR should be on, meaning that the microcontroller is receiving power. After you press the button, then quickly upload the programming. After the bottom command script runs the coding to search for errors and the bottom of the page indicates the upload is complete, wait a few seconds, then wait for the LEDs to start lighting up.
Step 6: Faceplates!
Next you need to laser-cut the face plates (2 of the same). Download the files from http://www.thingiverse.com/thing:157296. Open it in any program you have available which corresponds to the file type. For example, I used Adobe Illustrator. The file I saved was not ready for laser-cutting, so I had made some edits. One of these edits was from the outside of the face plate, I had changed the RGB values of the outside vector lines. Black values in Adobe Illustrator will vector the lines meaning that they will be engraved when the laser cutter cuts. To change these values, first go to edit, then edit color, and select convert to RGB. Then, select the lines you want to edit with the direct selection tool. Next, go to the Fill tool (near the bottom of the tool bar), which looks like two squares, and select the upper square, which allows you to change the RGB values. For the outside two layers of the face plate, change the red value to 255 and the other values to zero, then select the red color by selecting the bullet point next to red. Red values of lines in Illustrator will be cut by laser cutter. Then I changed the thickness of the lines I edited, which you change by selecting lines and going to stroke in the top left. Then type in 0.001. You must do this with all lines which you wish to cut all the way through. Also, I changed the inside parts of all of the large openings on the face plates, to red boxes, with a 0.001 thickness, as shown above. Stripped copper wire will be put through these holes. These will act visually as coils. I also changed these to red 255 value lines as well. Next check the values of the other lines, individually selecting them and checking thier RGB values, which should be 0 for red, green, and blue. If you like you could make further aesthetic changes, you can, but make sure the holes in which the wire will go through is big enough and to keep the overall size the same. Finally, duplicate the faceplate.
Now, take a piece of thin acrylic and place it in the laser-cutter. Next, upload your file to a laser-cutting program like Universal Laser Cutter, and change the laser-cutting setting to Raster speed 50%, raster power 50%, vector speed 40%, vector power 100%, vector frequency 5000 if you have a 60 Watt Epilog. For information on laser cutters and how to use them, go to https://www.instructables.com/id/How-to-Use-a-Laser-Cutter/.
Step 7: Copper Wiring Around Both Faceplates.
Next, you use your wire stripper to strip off a part of your wire. After doing this you use your Pliers to guide the wire through the hole that your made in both face-plates, starting at a side of the hole and carefully filling each space to give the illusion of electric coils. Repeat the stripping and plying process until the hole is filled, then repeat with the other holes.
Step 8: Assembly and Battery.
Next, take your JST extension cable and plug it into the port opposite the Micro B USB port on the Gemma microcontroller. Make sure the connection is tight. Next, Take the opposite end of the JST cable and connect it to the battery pack. Take 3 working AAA batteries and put them into the battery pack as shown on the inside, the negative, or flat side going on the sides with springs in the battery pack and the positive, or the other side, on the flat metal side. Make sure to place the batteries with the negative side in first, as the spring. Cut out a circular piece of paper and center it onto the face plates so the edges touch the coils. I did this by placing a sheet of paper on the circuit and using a pencil to trace the inner sides of the coils, then cutting out the circle. Then glue the coils and paper together. This paper will block some of the brightness of the light from the Neopixels. This adds some realism to the power plant as it dampens the pulse of it to imitate a heart. The glue I used was hot glue. E6000 adhesive glue actually works better, but hot glue is faster, so if you are in a hurry, use hot glue. Next dab some glue on the coils. You may need to do this faster if you use hot glue as I did, since it solidifies at a quicker rate. After gluing the coils, quickly take the circuit and press the Neopixel ring lightly onto the coils.
Step 9: Elastic Sewing
Next, wrap some elastic around your chest to get your approximate chest circumference. Make sure the elastic is tight around your chest so that it will not fall off when you wear it. Then, cut it to that length. Following this, wrap the elastic under the Gemma microcontroller. Then, take the two sides of the elastic, along with some needle and thread, press them together, and sew the two sides together tightly around the Gemma to keep the elastic secure to the circuit so the elastic will stay secure. Pierce the elastic trough both sides several times until it seems like it will be secure, then cut the thread where appropriate.
Step 10: I Am Iron Man.
I did this project at home. For more instructables on DIY projects, go to http://www.berbawy.com/makers/.
Participated in the