ATXRaspi power controller now with reboot function #piday #raspberrypi @Raspberry_Pi
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.
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!
Adafruit publishes a wide range of writing and video content, including interviews and reporting on the maker market and the wider technology world. Our standards page is intended as a guide to best practices that Adafruit uses, as well as an outline of the ethical standards Adafruit aspires to. While Adafruit is not an independent journalistic institution, Adafruit strives to be a fair, informative, and positive voice within the community – check it out here: adafruit.com/editorialstandards
Stop breadboarding and soldering – start making immediately! Adafruit’s Circuit Playground is jam-packed with LEDs, sensors, buttons, alligator clip pads and more. Build projects with Circuit Playground in a few minutes with the drag-and-drop MakeCode programming site, learn computer science using the CS Discoveries class on code.org, jump into CircuitPython to learn Python and hardware together, TinyGO, or even use the Arduino IDE. Circuit Playground Express is the newest and best Circuit Playground board, with support for CircuitPython, MakeCode, and Arduino. It has a powerful processor, 10 NeoPixels, mini speaker, InfraRed receive and transmit, two buttons, a switch, 14 alligator clip pads, and lots of sensors: capacitive touch, IR proximity, temperature, light, motion and sound. A whole wide world of electronics and coding is waiting for you, and it fits in the palm of your hand.
Have an amazing project to share? The Electronics Show and Tell is every Wednesday at 7pm ET! To join, head over to YouTube and check out the show’s live chat – we’ll post the link there.