Go Down

Topic: Power off Arduino with (Read 468 times) previous topic - next topic

Maverik2210

Hi folks!
Could you please give an idea for switching Arduino power with a tact button ?? I.e. like in most of usual devices - button have no fixed on/off positions. The project contains a battery, which powering a board and sensors, so need to disconnect the battery by some way.
Guess should be some extra mosfet. A basic circuit would be appreciated.

dc42

The usual approach is to use a standalone atmega328p processor instead of a full Arduino (so that you don't have a USB-to-serial converter taking current too), and instead of disconnecting the battery from the processor, put it in power down mode.
Formal verification of safety-critical software, software development, and electronic design and prototyping. See http://www.eschertech.com. Please do not ask for unpaid help via PM, use the forum.

Maverik2210

thanks a lot dc42!
i use mini pro, so no any ttl converting chip onboard, but the device is for outdoor use and i guess low consumption mode will discharge a battery in, let's say two-three weeks, therefore would prefer to obtain a way of cutting power supply circuit with tact button.

dc42

If you put the mcu into power down mode, you can reduce the current consumption to less than a microamp, and the battery will last years.
Formal verification of safety-critical software, software development, and electronic design and prototyping. See http://www.eschertech.com. Please do not ask for unpaid help via PM, use the forum.

bobthebanana

http://www.youtube.com/watch?v=Foc9R0dC2iI

fungus


thanks a lot dc42!
i use mini pro, so no any ttl converting chip onboard, but the device is for outdoor use and i guess low consumption mode will discharge a battery in, let's say two-three weeks


No...a properly programmed AVR chip in power saving mode can use current in the nanoamp range.

ie. It can go for longer than the shelf life of the battery.

See: http://www.gammon.com.au/forum/?id=11497

No, I don't answer questions sent in private messages (but I do accept thank-you notes...)

Go Up