Hi,
I need low power cpu and buy an Attiny88 (HW module).
I tried 1 Mhz cpu clock this code
#define F_CPU 1000000
PDF
I measured current . it is 7-8mAh in 3.0Volt in Active mode.
But Pdf says 0.240mAh . What i can do to reduce current in Attiny88?
Thank you for advance.
saruhan:
HW module
What is it? There are probably other power consuming devices on the module?
My ATTiny88 datasheet has a section 7 called "Power Management and Sleep Modes". Might be worth a read of that especially the section "Minimizing Power Consumption".
I see two LEDs. Is one of the an always on power LED? Also the linear regulator may consume some current.
i remove leds before i upload code
I found example code for an ATTINY85 and made some modifications to work on ATTINY88
saruhan:
#define F_CPU 1000000
That doesn't change the CPU clock to 1MHz. It just makes the software think that the CPU clock is 1 MHz.
You need to change the fuse bits to configure the CPU clock. See chapter 6 and chapter 20. You will need a programmer to do that.
Also keep in mind that you are not going to reach the 1.8V figure while supplying 3V. System voltage has a significant impact on power consumption.
system
Closed
June 20, 2023, 7:41am
9
This topic was automatically closed 180 days after the last reply. New replies are no longer allowed.