Simple light effects driven by an ATTiny85 assembled with three gadgets grabbed from Thingiverse
- Halloween Tree Stump LED Candle [thing:4933855]
- Little Ghost [thing:4966110]
- Makies Jack-O-Lantern [thing:167043]
Here you can have a look at those 3D printed three gadgets
First of all i made a PCB with the ATTiny85, a push button and three leds (two red and one yellow) to be put in the tree stump.
Here you can have a look at it.
The ATTiny85 is responsible to drive the three leds in the tree stump plus two more: a white one put inside the ghost and another yellow one put inside the pumpkin.
Here you can have a look at how i assembled the pieces.
The ATTiny85 has only trhee pwm pins so i can drive only the three leds in the tree stump. To manage the one in the pumpkin, i conneted it to the orange one in the tree stump, and the white one in the ghost, has been connected to a standard digital pin with pwm simulation implemented in software.
Pushing the button you can select only two effects: a breath like effect and a flickering one (Default).
Look at the Schema.png for the circuit details.