SATtiny

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.

SATtiny schematic

SATtiny schematic

Github repo

All details related to the code running in the Attiny can be found in the link below:

To the repository–>

6 thoughts on “SATtiny

  1. 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?

  2. Hi Sard, the shotky diode is a standard BAT42 but you can use any other schotky diode that you have a t hand.

Leave a Reply

Your email address will not be published. Required fields are marked *