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!
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, or even use Arduino IDE. Circuit Playground Express is the newest and best Circuit Playground board, with support for MakeCode, CircuitPython, 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.
Python for Microcontrollers — Python snakes its way on the SparkFun SAMD21 Mini, Hackaday.io, 10k thanks, and Tim’s magazine #Python #Adafruit #CircuitPython @circuitpython @micropython @ThePSF @Adafruit
Get the only spam-free daily newsletter about wearables, running a "maker business", electronic tips and more! Subscribe at AdafruitDaily.com !