Arduino - Use Reset Button Like a Push Button

Arduino - Use Reset Button Like a Push Button © Apache-2.0

You can use the reset button of the Arduino Uno shield like a push button. The data stored at SRAM and will keep after reset.

  • 2,717 views
  • 0 comments
  • 12 respects

Components and supplies

Apps and online services

About this project

You can use the reset button of a bare Arduino Uno Rev3 like a push button.

Proof-of-Concept

The data stored at SRAM (noinit) instead of EEPROM, because there is no limit of writes and the values keep after reset. Noinit SRAM works similar to the RTC memory of ESP8266 chip. This kind of memory will not initialized at power-on. During first power-on start the checksum of this memory in it with predefined magic data to differentiate initialization and re-usage of the values. There is no need to use CRC for this small piece of data.

There are different use case. Personally, I use the reset button for my two-wheel robot to toggle between sketch modes or erase EEPROM data. You can also use this solution to detect serial connection via USB port of a computer, because the Arduino will automatically reset at plugin < 1000 ms after power-on.

Code

Arduino Reset Button Counter
Proof-of-Concept to use Arduino Uno reset button like a push button.

Schematics

Arduino Uno Rev3
Bare Arduino powered by USB.
Img 20180321 224604 yip12a5ata

Comments

Similar projects you might like

Snap Circuits® - Push Button LED

Project tutorial by Daniel Porrey

  • 2,290 views
  • 0 comments
  • 10 respects

Snap Circuits® - Push Button Monitor

Project tutorial by Daniel Porrey

  • 1,194 views
  • 0 comments
  • 8 respects

Fade Lights and Push Button

Project tutorial by Phuong Vo

  • 2,198 views
  • 2 comments
  • 8 respects

Snap Circuits® - Button Controlled Launcher

Project tutorial by Daniel Porrey

  • 3,276 views
  • 0 comments
  • 11 respects

You've Been Using a Button Wrong this Whole Time

Project tutorial by SMM2

  • 2,731 views
  • 1 comment
  • 3 respects
Add projectSign up / Login