Thanks to Felix for sending this in! Check out more info here.
What is it?
ATXRaspi is a smart power controller for RaspberryPi or similar embedded systems running from a 5V input. It allows you to have an external shutdown button to reboot or turn off your target system without a need to login to issue those commands via command line.
To turn ON the Pi all you have to do is press the power button.
To REBOOT the Pi hold the button pressed at least 0.5s and less than 2s. When the reset hold time is met the button LED dims a little bit (after ~500ms). The SHUTDOWN signal pulses shortly and the Pi (via shutdowncheck.sh script) will detect this pulse and issue a reboot. The button LED blinks for up to 1 minute while waiting for the reboot to complete (and BOOTOK signal to become HIGH again).
To SHUTDOWN the Pi you have to hold the button pressed for at least 2 seconds. A shutdown sequence then begins. While a shutdown is in progress the button LED will pulse at a slower rate. When shutdown is complete, the button LED pulses faster waiting for all Pi activity to stop and finally cuts power off.
There is also a “Forced-Shutdown” mode that requires you have to hold the button pressed for about ~10 seconds to cutoff power regardless of any other conditions. This may be needed when the Pi is in an unknown state or has freezed.
Here’s a nice example of how a user integrated ATXRaspi in a home media center.
Each Friday is PiDay here at Adafruit! Be sure to check out our posts, tutorials and new Raspberry Pi related products. Adafruit has the largest and best selection of Raspberry Pi accessories and all the code & tutorials to get you up and running in no time!