Power off Arduino with

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.

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.

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.

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.

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

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