Another great Raspberry Pi project from the Adafruit Forums. From community member mano1979:
I have designed a usb-stick with a momentary switch that can switch power on the raspberry pi.
This includes system shutdown!! all through USB. it is not bigger than a normal flash drive but contains a lot of stuff.
So when the button is pressed, the power turns on. When pressed again, the usb stick sends a signal to the Raspberry-Pi to shutdown/halt the system. when the system i halted, the RPI send a signal back to the usb stick wich will turn the power off (with a little delay).
Now what i still need is the ability to light up the keyboard leds at the very moment that the system is halted. or at least before the system and USB stops functioning.
I found a little python script that can light up the keyboard leds. Called Python-keyboardleds.
i just need something, to do that at the very last moment before shutdown so the power can be turned off. Any help is welcome, since i am not really familiar with this sort of stuff.
Head on over to the forums and offer mano1979 some tips to complete his project!
Each Friday is PiDay here at Adafruit, be sure to check out our posts, tutorials and new Raspberry Pi related products. Have you tried the new “Adafruit Raspberry Pi Educational Linux Distro” ? It’s our tweaked distribution for teaching electronics using the Raspberry Pi. But wait, there’s more! Try our new Raspberry Pi WebIDE! The easiest way to learn programming on a Raspberry Pi.
Want a FREE RASPBERRY PI? All orders over $350 get a FREE Raspberry Pi Model B with 512MB RAM!
Have an amazing project to share? Join the SHOW-AND-TELL every Wednesday night at 7:30pm ET on Google+ Hangouts.
Join us every Wednesday night at 8pm ET for Ask an Engineer!
Learn resistor values with Mho’s Resistance or get the best electronics calculator for engineers “Circuit Playground” – Adafruit’s Apps!
Maker Business — “If Work Is Digital, Why Do We Still Go to the Office?”
Wearables — Stiff upper lip
Electronics — Signature required?
Biohacking — BBC Biohacking: Technology and Health
No comments yet.
Sorry, the comment form is closed at this time.