Skip to content

ppelleti/butterfly-fw

master
Switch branches/tags

Name already in use

A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
 
 
 
 
 
 

This is the firmware for my butterfly nightlight.

You'll need to install the Arduino IDE, the Adafruit NeoPixel library, and support for the ATtiny microcontroller. The version of the ATtiny support for the Arduino 1.6.x IDE also seems to work fine with Arduino IDE 1.8.5.

I recommend using the Tiny AVR Programmer from SparkFun, but it theory, any AVR programmer should work, if it's hooked up properly.

In the "Tools" menu, "Board" should be set to "ATtiny25/45/85", "Processor" should be set to "ATtiny85", and "Clock" should be set to "Internal 16 MHz". If using the Tiny AVR Programmer, then "Programmer" should be set to "USBtinyISP".

Tools menu

After setting the above settings, and before uploading the sketch, be sure to run "Burn Bootloader" from the "Tools" menu. In the case of the ATtiny, this does not actually burn a bootloader. Instead, it just burns the fuses. This is necessary to get the ATtiny85 to run at 16 MHz. This only needs to be done once per chip; it does not need to be done every time you upload a sketch.

About

Firmware for my butterfly nightlight.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages