Features and Technical Specifications
- Soft power button / power switch for the Raspberry Pi
- Clean system shutdown before cutting the power
- Supports toggle and momentary buttons
- Automatic detection of button type
- Smooth power status indication via optional external LED
- USB-C connector for power supply
- 2×6 pin header for mounting on the Pi
- Pin outs for optional external 5V power supply
- Additional switched 5V output pins
- No soldering required
- Software daemon for clean shutdowns
- Input Voltage: 5V
- Output Voltage: 5V
- Maximum Continuous Current @ 25°C: 7 A
- MOSFET Static On-Resistance: 6 mΩ
Any toggle or momentary button can be connected to the PowerBlock. The type of switch is automatically detected. The power status of the Raspberry Pi can be indicated via an optional status LED.
You can order the PowerBlock here:
What our customers say
The PowerBlock provides a Raspberry Pi power switch functionality. Why is it useful? The Raspberry Pi comes without a power switch. As soon as you plug the USB cable into the Raspberry, it turns on. If you want to shutdown the Raspberry Pi, you need to call a shutdown command to bring the system into a state in which you can safely remove the power cable again. If you just pull out the power cable the file system of the Raspberry might become corrupted and you risk losing data.
Here, the PowerBlock comes into play for safe shutdowns. It is stacked onto the GPIO header of the Raspberry Pi and provides a USB connector itself, a connector for a power button to control the power supply of the Raspberry Pi, and a connector for an optional LED to indicate whether the Raspberry Pi is off, booting, running, or shutting down. A micro controller on the PowerBlock board manages the power supply and monitors the button state as well as the state of the Raspberry Pi. The driver ensures that a clean shutdown is done when you switch off. This also means that you do not need to plug and unplug the USB cable from the Raspberry anymore if you want to completely and safely turn it off.
Hardware Details of the PowerBlock
2×6 pin female header as connector to the Raspberry Pi
This header makes use of pins 1 to 12 of the GPIO header. The PCB is kept as small as possible so that you can easily access all other pins that are not used by the PowerBlock.
USB-C Connector for the power supply
The PowerBlock comes with a USB-C connector so that you are able to use your latest power supply accessories.
Pin Out for a toggle or a momentary button
To control the power state of the Raspberry Pi the PowerBlock provides an interface for attaching a toggle or a momentary switch. The on-board microcontroller monitors the state of that switch as well as the one of the Raspberry.
Pin Out for Status LED
The PowerBlock indicates the power state of the Raspberry Pi an optional 5V status LED. It can be attached to the two dedicated pins. These possible states can be “off”, “booting”, “on”, and “shutdown”. The different states are indicated with easy-to-distinguish static and pulsing patterns.
Signal breakouts for input voltage, output voltage, and control signals
There are individual pin outs for the 5V input and output voltages, as well as for the control signals S1 (pin 12), and S2 (pin 11).
In-Service Programmer (ISP) pin-out for ATtiny
The PowerBlock makes use of an ATtiny85 microcontroller. You can access the microcontroller with the ISP header to reprogram it with whatever functionality you like.
Getting Started with the PowerBlock – Hardware and Software Setup of the Soft Power Button
You can use a toggle or a momentary button. The type of button is detected automatically be the PowerBlock.
The LED will blink in four different patterns that depend on the power state of the Raspberry Pi:
- Off: The LED is simply off.
- Booting: The LED slowly fades in and out.
- On: The LED constantly stays on.
- Shutting down: The LED fades in and out twice as fast as during boot up.
For the software installation please follow the instructions from the driver website.
The Raspberry Pi 4 was recently released. This post is about our boards and their compatibility with the Raspberry Pi 4. Are our extension boards like the PowerBlock or the ControlBlock compatible with it? The [...]
Windows 10 IoT Core is Microsofts offer for developing embedded devices while staying within the whole Microsoft ecosystem. Besides various other hardware platforms you can find the Raspberry Pi as one of those boards that [...]
The driver of our popular Raspberry Pi Power Switch add-on board PowerBlock got a feature update! More configuration, more logging, faster shutdown. […]
Hi everyone! This is a short post about the compatibility of our boards with the new Raspberry Pi model. As you probably already have heard the Raspberry Pi 3 Model B+ was recently released. Compared [...]
Introduction This is a post as part of a tutorial series about getting to start with the PowerBlock with various images for the Raspberry Pi. In this tutorial we will [...]