Main Content

Ultra-Low Power Single push button ON/OFF controller

Ultra-Low Power Single push button ON/OFF controller based on ATTiny13/13A/25/45/85 for other microController and circuits application.

TTiny13/13A/25/45/85 Push Button ON/OFF Controller
Ultra-Low Power Single push button ON/OFF controller based on ATTiny13/13A/25/45/85 for other MicroController and circuits application.

Simple mode features:
- Ultra-Low Power 000.2uA (200nA)
- Supported uControllers: ATTiny13/13A/25/45/85
- Single push button ON/OFF

Advanced mode features:
- Ultra-Low Power 000.2uA (200nA)
- Supported uControllers: ATTiny13/13A/25/45/85
- Hold down button to ON/OFF
- External Shut down signal from other Micro-controllers or circuits
Note:
Please upload the bootloader first, then upload the code.

Chip SETUP
- Use ATTinyCore for ATTiny25/45/85: https://github.com/SpenceKonde/ATTinyCore
- Use MicroCore for ATTiny13/13A: https://github.com/MCUdude/MicroCore

====================================

Arduino setup for ATTiny13/13A:

- BOD: BOD Disabled
- Bootloader: No bootloader
- Clock: 128 KHz internal osc
- EEPROM: EEPROM not retained

====================================

Arduino setup for ATTiny25/45/85:

- Board: “ATtiny25/45/85 (No bootloader)”
- B.O.D. Level (Only set on bootload): “B.O.D. Disabled (saves power)”
- Chip: “ATtiny45”
- Clock Source (Only set on bootload): “128 kHz (internal WDT)”
- Save EEPROM (only set on bootload): “EEPROM not retained”
- LTO (1.6.11+ only): “Disabled”
- millis()/micros(): “Disabled (saves flash)”
- Timer 1 Clock: “CPU (CPU frequency)”“

Link to article