So while we still carry the Trinket so that people can maintain some older projects, we no longer recommend it. This voltage drop tells us by Ohms Law that the current through the resistor is: I = U / R Adafruit Industries, Unique & fun DIY electronics and kits Adafruit Trinket - Mini Microcontroller - 5V Logic : ID 1501 - Deprecation Warning: The Trinket bit-bang USB technique it uses doesnt work as well as it did in 2014, many modern computers wont work well. The rest of the voltage of 5 Volts must be dropped over the resistor. The Zener Diode effectively limits the Voltage over it to 3.6 Volts. If I'm right, the Diode is used to limit the 5 Volts to 3.6 Volts (for what reason ever).
I assume that it should be a Zener diode with a reverse voltage drop of 3.6 Volts. The schematics uses a normal diode symbol but has a 3.6 Volt label next to it. Įven though I'm not completely sure without making some tests, that seams plausible to me. In addition to the current that is drawn by the microcontroller, this part of the circuit draws some extra current. The USB connector uses a resistor (1500 Ohms) against the 5V net and a 3.6 Volt Z-Diode on it's (D-)-Pin. Am I missing something or is it maybe just broken library on ATtiny? This is a bit ironic, as I went for the lesser ATtiny85 based board for saving current compared with the ATMega328P. Strange it is 10 times more with the ATtiny while it should have been less (?). I took away the ON LED, and then using exactly this sketch, feeding power directly on the 5V pin of the Metro Mini, leads to a power consumption of around 150 micro Amps during sleep, which is more like what I expect. Do you know what may be the cause of using ~1mA instead of ~100 microA? Any idea how I can decrease this further?Įdit 1: it should be even much less than ~50 - 100 micro Amps: ATtiny85: Power consumption vs clock speed even though this the libraries are maybe primary intended for the ATMega328P, it looks like it should work also with ATTiny85 as well: Įdit 2: I had an ATMega328P-based Adafruit Metro Mini lying around.
put your setup code here, to run once:īut I cannot get less than around 1.3 milli amps consumption during sleep.
#define adc_disable() (ADCSRA &= ~(1<