Contributions

Contributions are appreciated and used to host this site. Thank You for your support.

Feature Products
  • Raspberry Pi with Java: Programming the Internet of Things (IoT)
    Raspberry Pi with Java: Programming the Internet of Things (IoT)
  • Raspberry Pi 2 Model B Project Board - 1GB RAM - 900 MHz Quad-Core CPU
    Raspberry Pi 2 Model B Project Board - 1GB RAM - 900 MHz Quad-Core CPU
  • Premium Clear Case for Raspberry Pi 2 Model B Quad Core and Raspberry Pi Model B+ (B PLUS)
    Premium Clear Case for Raspberry Pi 2 Model B Quad Core and Raspberry Pi Model B+ (B PLUS)
  • Edimax EW-7811Un 150 Mbps Wireless 11n Nano Size USB Adapter with EZmax Setup Wizard
    Edimax EW-7811Un 150 Mbps Wireless 11n Nano Size USB Adapter with EZmax Setup Wizard
  • Getting Started with Raspberry Pi
    Getting Started with Raspberry Pi
  • Raspberry Pi User Guide
    Raspberry Pi User Guide
  • PiBrella LED Add On Board
    PiBrella LED Add On Board
  • Diversitech® WS-1 - Wet Switch Flood Detector
    Diversitech® WS-1 - Wet Switch Flood Detector
  • Onsite Pro FS1NPTW Whole Home Wireless FloodStop with 1 Inch Valve
    Onsite Pro FS1NPTW Whole Home Wireless FloodStop with 1 Inch Valve
  • Floodstop Washing Machine Valve Shutoff Kit
    Floodstop Washing Machine Valve Shutoff Kit
  • Onsite Pro FS3/4H Washing Machine FloodStop with Straight Valves
    Onsite Pro FS3/4H Washing Machine FloodStop with Straight Valves
  • Floodstop Individual Water Appliance Additional Water Sensor XS-01
    Floodstop Individual Water Appliance Additional Water Sensor XS-01
  • Aqua Managers - FS 1 1/4-NPT - Floodstop for Water Heaters Water Leak Detection System - White - 1.25 in. pipe
    Aqua Managers - FS 1 1/4-NPT - Floodstop for Water Heaters Water Leak Detection System - White - 1.25 in. pipe
  • Furman MP-20 Power Relay Accessory, 20 Amp, Two Outlets, Remote Turn-on from Momentary or Maintained Contact Switches
    Furman MP-20 Power Relay Accessory, 20 Amp, Two Outlets, Remote Turn-on from Momentary or Maintained Contact Switches
  • Furman MP-15 Power Relay Accessory, 15 Amp, Two Outlets, Remote Turn-on from Momentary or Maintained Contact Switches
    Furman MP-15 Power Relay Accessory, 15 Amp, Two Outlets, Remote Turn-on from Momentary or Maintained Contact Switches
  • Metra 70-2002 Radio Wiring Harness for Saturn 00-05
    Metra 70-2002 Radio Wiring Harness for Saturn 00-05
  • Metra Reverse Wiring Harness 71-2002 for Select 2000-2005 Saturn Vehicles OEM Radio
    Metra Reverse Wiring Harness 71-2002 for Select 2000-2005 Saturn Vehicles OEM Radio
Monday
Jan072013

Raspberry Pi - Install a Momentary Reset Button

Overview

Inspired by a blog post by Alex on Raspi.tv (Thanks Alex!) on how to install a reset switch on the Raspberry Pi, I too wanted to install a reset switch on my Raspberry Pi.  The only significant difference is that I wanted to install an actual momentary push-button switch permanently on the Pi rather than header pins and an external pushbutton switch.  

The addition of a reset switch is possible with the Model B Rev 2 boards and the addition of two holes in the board labeled "P6".  Sorry Rev 1 boards, you are are not eligible for this upgrade :-( 

Shopping List

 Tools / Supplies

  • Soldering Iron
  • Solder
  • Soldering Flux (optional)

Procedure

STEP 1:  First, locate the P6 labeled header holes in the Rev2 (or later) Raspberry Pi.

(Click image to enlarge)

STEP 2:  This next step is not required, but it is suggested.  To to help prevent the switch from moving and to help insulate the switch from other board components, cut a small rubber square out of any scrap rubber material and insert the rubber square in between the two pins of the push button switch as show below.

(Click any image to enlarge)

 

STEP 3:  Next, insert the momentary push button switch into the board from the top.  
(The polarity (direction) of the two pins does not matter.)

(Click any image to enlarge)

 

STEP 4:  Next, make sure the switch is firmly pull tight against the board an solder the two pins from the back side of the board.  (You can optionally use a small amount of solder flux to help ensure a clean and well bonded connection.)

NOTE

Be careful not to let your solder iron accidentally touch or rest on any components on the Raspberry Pi board! 

STEP 5:  Next, clip the excess length of the leads from the momentary switch and clean the bottom of the board of any solder slag and/or flux residue.

Testing

That's it, you should now have a nice little reset button permanently mounted to the Raspberry Pi.  You can insert your SD card and power up your Pi to test it out.  After the Pi has booted up to the login prompt, press the reset button and watch your Pi reboot.

Here is a short video demonstrating the reset button in action.

Thanks again to Alex from Raspi.tv for his post on this subject.

 

PrintView Printer Friendly Version

EmailEmail Article to Friend

References (1)

References allow you to track sources for this article, as well as articles that were written in response to this article.

Reader Comments (4)

Does anyone know of a way to control the function of p6, so that a quick push actually does reboot and extended push would force reset or is this just a hard reset setup?

January 14, 2013 | Unregistered CommenterRobert

@Robert,

P6 is a hard reset. To pull off what you are looking for would require you to connect a switch to a GPIO pin and have a program running to monitor the state of the pin. On a quick press, you could issue a software instruction to reboot. For a long press you would need to use of second GPIO pin to trigger a circuit to close the two pins on P6 for a hard reset.

Maybe this article will give you some pointers/insight:
http://raspi.tv/2012/the-self-resetting-raspberry-pi

Thanks, Robert

January 14, 2013 | Registered CommenterRobert Savage

Link to switch on EBay is dead, any chance of a part number for the switch
Many Thanks

June 26, 2013 | Unregistered CommenterChris Lamb

@Chris Lamb,

I have updated the link to a new vendor. Here is one I found on eBay:
http://www.ebay.com/itm/20pcs-Tact-Switch-Push-Button-6-6-5-6mm-6mm-5mm-2pin-Through-Hole-SPST-NO-/261093941026

I searched using the terms "2 pin push button switch NO".

Thanks, Robert

July 2, 2013 | Registered CommenterRobert Savage

PostPost a New Comment

Enter your information below to add a new comment.

My response is on my own website »
Author Email (optional):
Author URL (optional):
Post:
 
Some HTML allowed: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <code> <em> <i> <strike> <strong>
« Raspberry Pi - Java GPIO Frequency Benchmarks | Main | Raspberry Pi - Stepper Motor Control & Breakout Board »