Skip to content

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

Notifications You must be signed in to change notification settings

ErfanDL/ATTiny-PushButton-ON-OFF-Controller

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

37 Commits
 
 
 
 
 
 

Repository files navigation

ATTiny13/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.

Arduino Chip SETUP


Arduino setup for ATTiny13/13A:

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

13


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)"

Screenshot (388)


Simple mode - Wiring and circuit

butt_bbk

Simple mode - Example circuit for Arduino UNO ON/OFF button

ex


Advanced mode - Wiring and circuit

adv1

Advanced mode - Example circuit for Arduino UNO ON/OFF button

adv2


Misc

If you like my work and want to support me, you can send me a donation via crypto:

Ethereum: 0x283D333C14500dDB93aEE219D2AC1ab3a95ADd5E

Tether USDT (TRC20): TPTeQGyVVjK7yk3jXCqXeDZto38jWVU4v8