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
March 8, 2018
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
July 26, 2018
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:
Hackers in Residence: The Sound Visualizer
A fun project that uses a Raspberry Pi and a custom Java app to create your own sound visualizer using a RGB LED matrix.
Qwiic PIR Hookup Guide
Get started passively monitoring motion using the Panasonic EKMC and EKMB sensors with the SparkFun Qwiic PIR.
SparkFun PIR Breakout Hookup Guide
Get started with these Panasonic EKM-Series PIR breakouts following this Hookup Guide.
Qwiic Kit for Raspberry Pi V2 Hookup Guide
Get started with the SGP40, BME280, VCNL4040, and microOLED via I2C using the Qwiic system and Python on a Raspberry Pi! Measure VOC Index, light, temperature, humidity, and pressure from the environment. Then display them on the microOLED, serial terminal, or the cloud with Cayenne!