One aspect of the Raspberry Pi that has always challenged us is the power supply. It was a great idea to power the board from a standard micro-USB port because economy of scale makes phone chargers (even in the 1A range necessary for stable operation of the RPi) cheap and easy to acquire. The thing we miss is the ability to power the device on and off using the built-in hardware. The quandary has given rise to many different solutions, and the ATX Raspbi smart PSU is one of the better ones we’ve come across. It’s a nicely packaged take on the PIC-based version we saw earlier in the year.
The device is a small PCB that acts bridge between the micro-USB power supply and the RPi board. It offers several breakout headers, one of which is used for a power button. The button is monitored by a microcontroller that switches the on-board relay accordingly. But it won’t just kill the power when you want to shut down. It first signals one of the RPi GPIO pins, causing the OS to execute a shutdown script. It then monitors the RPi for the shutdown tasks to finish before cutting the power.
55 thoughts on “ATX Raspi Is A Smart Power Source For Raspberry Pi”
ATX is a power supply standard. This is not ATX, and should not be called ATX. It’s interesting, but soured by the poor choice of a name.
ATX is actually not just a PSU standard, but a set of standards that define many things in PCs like screw hole location, extension card placement or power connectors etc. This might be great but I see no similarities between this board and ATX PSU. It definitely need some new name, Maybe RTX or something.
they call it atx, due to “ATXRaspi solves this problem by allowing you to have an ATX style shutdown button that will issue a shutdown signal to RaspberryPi for you.”
but I agree, should have been called softstarter or softpower or simlar.
PiTX, RaspTX, PiPo (PiPower)… Just throwing some good ones out there to chew on – Agree with the rest, awesome device, can’t wait to get my hands on one, but definitely needs a name change, regardless of the original intent/thought behind that name for the device…
>…by allowing you to have an ATX style shutdown button…
I guess they mean ACPI style shutdown button…
without the ACPI ***_DRIVERS_*** loaded into CPU/RAM
there IS NO SHUTDOWN BUTTON!!!!!!
instead the chip would abruptly shut OFF power
if HELD DOWN for 5 seconds, maybe even
a suspend event notice if pressed momentarily,
check your BIOS/CMOS settings…
How about “RaspACPi”?
OMG and a Raspberry Pi does not contain raspberries!!!!!!
Do you guys ever get tired of being know-it-alls?
Best response possible. I award you 8 internets.
OMG and Windows OS does not contain windows!!!!!!
Do you ever get tired of missing the point?
I’m not one to chime in among that group, but there’s a reason we have standards. If people deviate from standards just because “they like it better that way”, then everyone loses. I don’t see this as being a know-it-all vs. everyone else thing. I see this as a “be a professional” thing. I’ll not apologize if that doesn’t suit you. Your only actual solution is to write a new standard and convince the industry to adopt it.
ATX (Advanced Technology eXtended) is a computer case spec. and has NOTHING to do with this!
I love the lack of constructive commentary, great project, AND GREAT NAME!
Saying that the project name does not make sense because reasons X and Y and suggesting a name change is constructive criticism.
Ironically, it is YOU that did not provide a constructive commentary.
To prevent me from falling in the same fallacy: I love the form factor of the board. To make this even more awesome, I would add a RTC to the board and allow it to power on/off the RasPi at specified times. The bootup time could be set, by bitbanging a GPIO, for example.
Unfortunately, we live in an era where word meanings no longer matter, It’s as if many people seem to think that Humpty Dumpty’s statement that “When I use a word, it means just what I choose it to mean — neither more nor less.’ is some sort of gospel. Clarity and understanding are irrelevant.
Clarity and understanding indeed, when I first heard this name I had expected it to be some sort of adapter that would allow one to connect a raspi directly to the main power header of an ATX power supply, and use the raspi to soft power on / off said supply.
This name leads to confusion, I agree with those suggesting it be changed.
There are also metaphors. Not everything is literal. Imagine that.
Just yesterday I was perusing the TV listings and saw a program whose description included “ACM Awards.” REALLY???? On ordinary TV???? Oh wait… somebody didn’t care that “ACM” was already taken.
I just want the button
Ya those buttons are not cheap but you can order samples from a couple companys…. I have a feeling that is where that one came from
They have a few options like this at MCM, but not cheap. This one is about $15 http://goo.gl/MlFBb
http://www.adafruit.com/products/558 White is out of stock atm.
There are other colors also, just make sure you check if it’s an on/off-toggle or momentary.
This inspires me to use an arduino as a power supply for a 555.
Anyone have a sketch I can use for that?
Since you have a mpu anyway why not add a clock and a real bidirectional interface? You could do things like have the pi power up at a specific time.
I’d hope that the mpu itself is powered off once the relay opens, with the pushbutton temporarily bridging the relay’s contacts to allow it to switch on. Otherwise, if the power circuit’s never truly off, it’s kinda pointless.
Tho to be true to the principle, the relay should switch the power at the mains, before the phone charger or whatever.
Why is it pointless if the MPU never powers off? If it’s asleep there’s virtually no current draw.
Or provide the ADC that the Pi is without.
While I agree that calling it “ATX” has the connotation that it complies with that standard, I’m not sure there is anything else that gets the point across. It’s a neat project that I may end up getting a few of for my collection of Raspberry Pi’s
If I remember correctly won’t this bypass the main polyfuse? A USB B socket wouldn’t take up much more space than that SIL header and then you could use the conventional power input with protection.
Sorry it’d have to be USB A
i power mine with a hobby ubec that i got off ebay for $3. it plugs into the power pins on the gpio header and bypasses the poly fuse entirely. and since it can deliver many times the current than the pi needs, i also power a usb hub with it (i got the first version and dont want to bypass the usb fuses). all that fits in a tiny case made out of lego.
I really like your Lego case. I’m gonna see if my son wants to build one for our Raspberry. We’ll have a blast together.
I am really interested in your approach. How could I get in touch with you for some additional questions?
Hmmmm…I always considered the power connection the worst feature of the Raspi, followed by the dearth of I/O pins provided. To each his own, I guess.
ditto. id have rather had a barrel jack. to this day ive never used the microusb connector.
very true; well the new Bealge Bone is out; hdmi and all the good stuff plus half the price of the first version
This isnt anything close to anything ATX.
its pretty much the idea of an ACPI shutdown though.
What if i want to kill frozen raspi? I need to hold button even longer? Most PCs are issuing shutdown sequence at short press and forcefully disconnect power when holded for few seconds…
You pull the plug.
No … you hold the button for 10 seconds just like on a ATX supply. Read the ATXRaspi page here: http://lowpowerlab.com/atxraspi
Looking at the PCB it should be possible to add the function to the IC seeing it knows its on.. it would just have to check milis() to see if the button is pressed longer than x time.. also it wouldn’t really interfere with rebooting with the GPIO reboot/shutdown
THIS HAS NOTHING TO DO WITH RASPBERRIES. OR PI. I DEMAND A REFUND.
This is an elegant design:
I made something similar. I just took a standard cd-rom power connector and a usbA and a nice big cap. The Pi is in my printer, so the PI is the 5v load (even though I have an expensive ATXpsu and don’t need a load) Rather than worry about shutting down the Pi I just get it all set up and image it. It autoloads octoprint , the web cam, the pi, the lcd, printer, and 100w stereo amp all from the ATX switch. I usually never do more than boot it on and print and power it off. If/when it corrupts the SD I will just reload the image.
I had called mine the Pisupply, but I think I will change it to the ATXPiSupply. :D
It is just what I need. Bought two for current projects in the nick of time. Personally – I don’t care what you call it if it works.
It seems that people just dont get what the RasPi is for. You dont NEED to “shut it down” just yank the power. At least not if you did things right. If you did the newbie mistake of leaving a filesystem open as read/write on the raspi, I can see that.
for once i agree with you
everybody listen to what he just said.
this is why assembler andor linux andor dos
are so damm valuable in million dollar robots.
instead of “breaking” and needing a service call
once every few (*%!@*%) breaker-trips,
it just needs to be powered back up and started!
easy 20 grand saved.
we’ll buy the maintence-free ones thank you!
PS: a mantence call for a 1million dollar robot is NOT 100$ … lol
A Raspberry Pi is FOR whatever the hell you want to use it FOR. Just because you use it in projects that don’t require write access to the SD card, doesn’t mean everyone will. Many applications NEED to write data out without a separate server somewhere to send it to.
and they also forgot the poly-fuse, which is bypassed when powering via the expansion header.
There are IC’s designed exactly for this exact application. Pushbutton interface, a momentary push asserts an interrupt signal, holding forces a power-off of the supply. It actively monitors the device and can latch off power once it signals it’s down. LTC2951 and LTC2955 are good examples.
It’s actually a bit sad the PI has been lacking such a critical element since it’s introduction. What’s the point in small form factor and low power if you need to change the form factor in order to not pull idle power 24/7?
The LTC2951 with a high side switch would have been a nice addition to the RPi. The Mosaic Raspberry Pi Power Controller, http://www.mosaic-industries.com/embedded-systems/microcontroller-projects/raspberry-pi/on-off-power-controller, is just as simple a circuit, and includes the high-side switch.
Is there an echo in here?
an alternative solution would be http://msl-digital-solutions.myshopify.com/ ,
this allows you to switch the power of the Raspberry Pi using an infrared remote
I made something similar schematic and boards along with shutdown script for the raspi 3B
First press turns on pi, short press shutdown through the script, and long press forces power off.
you can order the boards through easy-eda if you like.
the first revision I hand etched and the second I ordered
Please be kind and respectful to help make the comments section excellent. (Comment Policy)