Jar of Fireflies
About the Jar of Fireflies project
Mason jars outfitted with LEDs and a small microcontroller programmed to mimic the behavior of fireflies caught on a warm summer night. The addition of a piezo sensor enables a degree of interactivity that everyone wished their jars did as kids; tap the jar, and the lights react! Based on an old project found on Instructables, this project includes a number of great updates, including Arduino compatibility, interactivity and easier-to-use parts! Plus, the entire project embraces the principles of Open Source Hardware (OSHW), which means you can learn from and modify all of the code, design files, schematics and more for free!
- All blog posts related to this project: http://jason-webb.info/tag/jar-of-fireflies
- Watch for activity on my Flickr photostream: http://www.flickr.com/photos/zenwebb/
And watch for activity on this project's official Github repo:
- Use the ATTiny85 microcontroller with HLT's Arduino bootloader to make programming easy.
- Use through-hole components to make assembly easier, with the option to use SMD LEDs.
- Add interactivity using a piezo sensor.
- Include a variety of interchangable power options
- Include a wealth of high-quality documentation, to make assembly and troubleshooting easy
- Minimize parts count and build complexity to make this kit suitable for teaching soldering
- Adhere to OSHW 1.0 definition, keeping all code and design files open
- ATTiny85 microcontroller mounted with a DIP IC socket, so it can be easily removed and reprogrammed externally using HLT's Arduino bootloader (see http://hlt.media.mit.edu/?p=1695).
- Six charlieplexed LEDs (with the option to use SMD LEDs with fancy soldering).
- Piezo sensor to detect tapping for interaction.
- 2-pin header for power, so external breakout boards for various power options can be added (DC barrel jack, USB mini-B, 2xAA batteries and solar cell).
- Contacts for alligator clips so multiple jars can be daisychained to a single power source.
Bills of materials
USB power adapter board BOM
DC power adapter board BOM
2xAA battery power option BOM
All of the latest source files, including Eagle files, BOMs and firmware, can be found at this project's official Github repo: