ATX powersupply for RPI
I needed a power supply for the RPI used inside my bartop arcade. An old ATX PS seemed to be the solution but it needed a little addon...
One of them is 5VSB which is a 5V present when the power supply is under mains voltage.
This 5VSB is used to power the microcontroler.
The role of the microcontroller is :
- to switch on and off the power supply when a push button is pressed.
- to switch off the power supply when the Raspberry Pi goes to power down mode (using a GPIO).
- to monitor the temperature of the RPI's microcontroler and activate a 12V Fan.
The RPI is powered by a µUSB cord and the board gives the opportunity to power an external 2.5" USB drive directly from USB (check my previous article "A Cloud in the Shape of a Raspberry").
This board is built around an ATTINY85.
The code is developped using Arduino libraries but under Eclipse IDE.
For doing this I have written a small utility which creates for you script files to compile the code under Eclipse but this is another subject...
Build This Project
Bring this design to life with the Elektor PCB Service, powered by Eurocircuits. Upload the project files and order professionally manufactured PCBs or assembled boards through a proven European production platform.
Supporting KiCad, Eagle, Gerber, and ODB++ formats, the service is suitable for everything from prototypes and validation builds to series production and volume manufacturing.
Made in Europe. Fast. Reliable. Professional.

Updates from the author