1Assemble and Program
Solder up the components, paying attention to the orientation of the LED's and the IC.
When programming, ensure to program the FUSE bits on the ATTiny so that the chip is running off of the internal 8Mhz oscillator and that the BOD is NOT enabled. If BOD is enabled, the micro will draw small amounts of current even while sleeping, and this will drain the battery fairly quickly. With the micro in deep sleep and BOD disabled, the circuit draws well under 1uA and the battery will last much longer.
Use the following FUSE settings/avrdude commands. Note that these commands are for an AVRISP2 programmer. modify as needed for other programmers. Ultimately the goal is to set the low, hi and extended fuses to 0xE2, 0xDF and 0xFF respectively.
avrdude -c AVRISP2 -p ATtiny85 -U lfuse:w:0xE2:m
avrdude -c AVRISP2 -p ATtiny85 -U hfuse:w:0xDF:m
avrdude -c AVRISP2 -p ATtiny85 -U efuse:w:0xFF:m
Program the FLASH with the supplied hex file or custom firmware. An example of programming the hex file using avrdude is below:
avrdude -c AVRISP2 -p ATtiny85 -U flash:w:main.hex