Raspberry Pi Safe Reboot and Shutdown Button
Contributors:
bboyho
Resources & Going Further
For more resources, check out the links below:
- GitHub Repo
- eLinux.org Wiki: Wake from Halt - For certain versions, you can wake the Pi up by shorting pins together rather than disconnecting the power supply. However, caution is advised as these GPIO pins are adjacent to the power pins. You would want to solder a button to the pins to avoid accidentally shorting the power pins.
Need some inspiration for your next project? Check out the Pi AVR Programmer! We implement a shutdown code after programming and testing boards.
Raspberry Pi Stand-Alone Programmer
This tutorial will show you how to use a headless Raspberry Pi to flash hex files onto AVR microcontrollers as a stand-alone programmer. It also tells the story about production programming challenges, how SparkFun came to this solution, and all the lessons learned along the way.
Pi AVR Programmer HAT Hookup Guide
In this tutorial, we will use a Raspberry Pi 3 and the Pi AVR Programmer HAT to program an ATMega328P target. We are going to first program the Arduino bootloader over SPI, and then upload an Arduino sketch over a USB serial COM port.
Or check out some of these related tutorials:
Lumenati Hookup Guide
Lumenati is our line of APA102c-based addressable LED boards. We'll show you how to bring the sparkle to your projects!
SparkFun Top pHAT Hookup Guide
The pHAT to sit above your other HATs. Does that make it the "king" of the pHATs?
This guide will help you get started using the Top pHAT with the Raspberry Pi.
SparkFun Qwiic 3-Axis Accelerometer (ADXL313) Hookup Guide
Let's get moving with the SparkFun Triple Axis Digital Accelerometer Breakout - ADXL313 (Qwiic), a low cost, low power, up to 13-bit resolution, 3-axis accelerometer with a 32-level FIFO stack capable of measuring up to ±4g. This hookup guide will get users started reading measurements from the ADXL313, by Analog Devices, with an Arduino microcontroller, Jetson Nano, or Raspberry Pi.
Qwiic pHAT Extension for Raspberry Pi 400 Hookup Guide
Get started interfacing your Qwiic enabled boards with your Raspberry Pi 400! SparkFun Qwiic pHAT Extension for the Raspberry Pi 400 provides you with a quick and easy solution to access all of the 400's GPIO, stack your favorite HAT right-side up, or connect a Qwiic-enabled device to the I2C bus (GND, 3.3V, SDA, and SCL).