Hi! Let’s try in English. Erh?
One day I stumbled upon some led fireflies. They were actually really cute! For a while I wondered the idea of them. Until I got this idea! The same principle, but butterflies!
In most cases, the most important thing in pcb is how well it works. Let’s make a beautiful pcb, which also works.
A few hours with KiCad.
So simple. Litle ATtiny13, few leds and LDR.
Butterfly pulses a few times when it is dark enough. About 1-6 pulses every 4-12 minutes.
What do we get?
Couple of weeks and iTead submitted the order. Of course, as white
How about the code? Roughly timer 1 handle leds steering, and the watchdog to check brightness every 8 seconds. If the brightness is small enough and time has elapsed then turn on the leds. Otherwise, go to sleep!
They are SO SO cute! Just look at!
What is their functionally? Ornament! They are just cute. The light of butterflies is comfortable to fall asleep.
Current measurements told us:
- When leds are ON: 20-30 mA
- Idle: 3 mA
- Sleep: 1 mA
The next version will contain a dc-dc boost converter. LDR voltage divider spends too much current and it could be shut down with a transistor, when its not in use. Maybe synchronized?
This work is licensed under a Creative Commons Attribution-NonCommercial-ShareAlike 3.0 Unported License.