This is a minimal circuit to get an ATMega328 running solo, without the Arduino board and USB stuff

If you leave out the 16MHz crystal and use the onboard 8MHz clock, you can bring down the power consumption even more, but at lower speed, obviously

The thing to keep in mind that the Arduino pins and the ATMega chip pins aren't the same. There's some mapping translation involved if you're using the Arduino IDE to program one

Here's the comparison of Arduino to ATMega328 pins. They are indeed different

Show thread

@cypnk how many milliamps does this end up drawing at 8 MHz?

@lunch About 3.5/6 milliamps @ 3.3V power input and 12.2/3 @ 5V input. There’s some variation depending on the manufacturer

@cypnk @lunch it's also worth reading the datasheet for low power modes. Switching things like the ADCs off when not in use can shave a bit off.

Sign in to participate in the conversation

Server run by the main developers of the project 🐘 It is not focused on any particular niche interest - everyone is welcome as long as you follow our code of conduct!