Video posted at: https://youtu.be/TqG-xDmUAEc
Remember catching fireflys as a child and watching them in awe as they lit up at random in your hands? Now you can recreate that experience with 3d printed fireflys.
Uses an arduino micro, 12 LEDs, and 3d printed parts
If you make this, fireflys should print well on their backs with a raft without supports.
Updated 26 JUL with Jar insert that fits 9V battery and also attached the Arduino program I used for it with pin instructions.
- Arduino Software
- Soldering Iron/Solder
- Glue gun/glue
- Wire clippers/strippers
- Dremel tool (to cut circuit board to fit insert)
Parts to Buy:
-12 x yellow LED's
- toggle switch
- arduino micro
- thin wire
- 12 x 220ohm resistors
- 1x 9V battery (I used a 12V 23A, but the battery did not last long, 9V should be used but you'll need to stretch out the jar insert slightly to make it taller)
- circuit board
- large mason/kerr jar (7 in tall) with narrow mouth.
1) Print out:
a- Number of fireflys you want. I used 12.
b- The 9V Mason Jar insert.
2) Write arduino code to light up the LED's randomly. I used a delay of 1 to 15 seconds on each LED, completely independent of each other - no patterns makes it mesmerizing to look at. The program I used is attached as a source file, feel free to use it.
3) Start putting together the LEDs. The leds should go from one of the pins listed in the program to ground with a resistor somewhere along the current path (either side of the LED). The long end of the LED should the positive voltage side. Test the arduino and LEDs on a breadboard to make sure it works as you want it to before soldering it.
4) Trim LED leads to little 1/4" stubs, solder the LED stubs to the wires, and carefully string through the fireflys. Then fix with hotglue. At this point, I put a piece of blue tape on each of the positive sides of the LEDs so I knew which wire to solder. (or you could use different color wires)
5) Plan out the circuit board to fit into the inside of the printed jar insert. Solder LED wires to the board and test each LED separately to make sure you didn't break a wire putting it in place. Fit the board and battery into the jar insert and see where you need to trim. At this point, you may need a dremel tool to cut the circuit board to fit.
6) Solder the arduino to the board, and power it up with USB to make sure you put it in right (I soldered it in backwards the first time - don't make the same mistake)
7) Solder/wire in the toggle switch and battery and fit into insert. Drill hole in mason jar lid to fit in the switch.
8) Bend the wires of the fireflys so they appear spread out throughout the jar. Turn out the lights and enjoy.