1
\$\begingroup\$

I'm powering an attiny45 from a single lithium ion battery; that when fully charged should have a maximum voltage of ~4volts and will be cutoff at 3volts. I was thinking I should be safe to just directly connect the attiny to the li-ion battery, am I right? Or am I missing something?

\$\endgroup\$

1 Answer 1

4
\$\begingroup\$

The safe voltage range for the ATtiny45 is between 2.7V and 5.5V, so you should be able to connect the battery directly to the MCU provided you don't need a different specific voltage for external components.

A switching power supply could allow you to get longer life out of the battery if you run it at about 3V or so the whole time, both because the MCU will use less current at the lower voltage and because the reduction of output voltage with a switching regulator translates to a reduction of input current (after taking the regulator efficiency into account).

\$\endgroup\$
2
  • \$\begingroup\$ @Passerby: Does that cover it? \$\endgroup\$ Feb 10, 2015 at 21:06
  • \$\begingroup\$ Eh I see what you mean now, but the gain probably isn't worth it. \$\endgroup\$
    – Passerby
    Feb 10, 2015 at 21:48

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.