The idea of this mini project is to make two LEDs blink in a predefined pattern that looks similar to an exponential function given by an RC circuit, creating a smooth fading effect.
This is the code running on the SATtiny. After some measurements, it has been observed that the current consumption remains around 4uA when sleeping. During the day, when there is enough light to load the super cap, the Attiny wakes up every 8 seconds to checkout if PB3 is still high. In absence of light, PB3 sees a logical 0. At this point, the wake up interval changes to 4 seconds.
All details related to the code running in the Attiny can be found in the link below:
6 thoughts on “SATtiny”
A really nice project. I would like to build something similar. Would you please tell something about the solar cells?
richardsappia wrote 4 days ago
Hi, there are several sources:
-Digikey is where I found the wides variety
Could you share your code for the attiny?
That would be lovely, just to get an idea.
Hi Jan, sure here you go:
Thank you for publishing the code for this! Is there a list of materials? I’m going to be making one and knowing the specifics would help make it alot easier. I see the solar panels above, but what about the shotsky diode?
Hi Sard, the shotky diode is a standard BAT42 but you can use any other schotky diode that you have a t hand.