ATmega328P Power saving

Hi, I am hoping this is a straightforward question. I am setting up a 433Mhz remote transmitter based on the Atmega328 chip. I am trying to minimise the power consumption so am using a watchdog timer. I have read that reducing the VCC reduces the power. I am confused though as at 5v I get 30mA running the sensors and 0.59mA sleeping but at 3.3v its 15mA running and 1.8mA sleeping although initially after booting it uses 0.26mA but after a loop though the sensor readings it settles at 1.8. I had really wanted to get to 100uA but 250 would do.
I am trying to think how to trouble shoot this. There is only a DS3231RTC and a Y401 ultrasonic sensor. Both are switched though a transistor. The watchdog it set to 8 seconds and just loops though for 10 times whilst testing.

Thanks

Is the 328p on a custom board or official/clone hardware?

It's a bare chip on a breadboard with external oscillator.

Unless you need it, you can ditch the external oscillator and go with the internal one.

You should also post your schematic and your code.

Could be a problem with your code or the way the hardware is all connected.

If you can run it at 4MHz, then you can power the whole thing with a couple of AA cells. If anything needs a higher voltage, you can switch on a boost converter. I have an ATmega328p project here which does that and, in sleep mode, I get into the low microamps: Arduino NRF24L01 Mailbox Monitor/Notifier - Exhibition / Gallery - Arduino Forum

Thanks all for the comments and in particular 6V6gt for his project details, which I may use bits of.
I have rewitten the code a bit and added an extra couple of 1uF caps and new MCP1705 regulator and that has fixed the problem. I am now down to 100uA, which is getting more like a battery project.

An ATMega328 when used with an MCP1700 regulator, and using the watchdog timer as wakeup, will consume around 8uA when in sleep mode.

For an example see here;

Still running after 13.5 months from a 155mAhr battery.

This topic was automatically closed 120 days after the last reply. New replies are no longer allowed.