ATTiny Push Button ON/OFF Controller
by ERFAN in Circuits > Arduino
450 Views, 1 Favorites, 0 Comments
ATTiny Push Button ON/OFF Controller
Ultra-Low Power Single push button ON/OFF controller based on ATTiny13/13A/25/45/85 for other MicroControllers 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
https://github.com/ErfanDL/ATTiny-PushButton-ON-OFF-Controller
Arduino Chip Setup
Note
Please upload the bootloader first, then upload the code.
Arduino 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)"