I discovered Timer0 interrupt (used in micros()/millis() functions) was causing a nearly immediate wakeup from idle sleep, limiting power reduction.
Best solution is to change ATTinyCore option to simply disable those two functions.
I had to remove delay() call in setup.
Also added another wdt_int(), needed for very first use.
Hampered version was giving a 100µA gain.
I now notice a 300µA reduction with this change.
Charge pump is still working OK.
Moreover, I now shutdown ADC during sleep.
This gives another 300µA.
My basic check on vBAT is OK, more extensive tests may be done here.
To conclude, my ATtiny85, is running PWM85 with 400µA (1MHz@3.3v) ;)
Hi,
I discovered Timer0 interrupt (used in micros()/millis() functions) was causing a nearly immediate wakeup from idle sleep, limiting power reduction. Best solution is to change ATTinyCore option to simply disable those two functions.
I had to remove delay() call in setup. Also added another wdt_int(), needed for very first use.
Hampered version was giving a 100µA gain. I now notice a 300µA reduction with this change. Charge pump is still working OK.
Moreover, I now shutdown ADC during sleep. This gives another 300µA. My basic check on vBAT is OK, more extensive tests may be done here.
To conclude, my ATtiny85, is running PWM85 with 400µA (1MHz@3.3v) ;)