New Revision of the PowerBlock: Increased Flexibility

Soft power button PowerBlock Top View

The PowerBlock is a small support shield for the Raspberry Pi that provides a power switch functionality. Recently, we have updated the design of the PowerBlock such that it now offers an even greater flexibility regarding the connections with the Raspberry Pi.

Here is an image of the new PowerBlock Revision 1.1:

IMG_2907

Besides some fine tunings in the board layout, these are the major differences to the previous revision of the PowerBlock:

Additional signal breakouts – input voltage, output voltage, and control signals
All the signal above can now be attached to the Raspberry Pi without using the 2×6 pin connector. As you can see on the image below, there are individual pin outs for the 5V input voltage, the 5V output voltage, as well as for the control signals S1, and S2.

IMG_2907_zoom

The pin out is as following:

5V IN, +,-: supply voltage
S1: pin 12
S2: pin 11
5V OUT +: pin 2 or pin 4
5V OUT -: pin 6 or pin 9

Additional mounting hole for attaching a Raspberry Pi Zero
This addition makes it possible to not only mount the PowerBlock to the Raspberry Pi model A and B, but also to the Raspberry Pi Zero. Here are some exemplary images for the various models:

RPi Model A RPi Model B RPi Zero
IMG_2912  IMG_2911  IMG_2909 

Together with a toggle switch the PowerBlock provides a reliable and safe power switch functionality for the Raspberry Pi. An optional LED can also be attached to the PowerBlock that serves as a power status indicator.

IMG_2913

You can find more details and a comprehensive installation and configuration description on the description site of the PowerBlock.

48 thoughts on “New Revision of the PowerBlock: Increased Flexibility

  1. Steven Mercurio says:

    My power lock works just fine for the Raspian OS but for retropie it DOES do a clean shutdown when the switch is set to off BUT unlike in Raspian it will NOT power the Pi3b off from retropie like it will for Raspian.

    Any ideas or thoughts? I use the exact same install procedure for both OSs of the driver with out any errors.

  2. Steffen says:

    Hi. My PowerBlock has arrived today, but I am having problems to run it properly in my C64 retropie. I use this switch (http://www.pollin.de/shop/dt/OTc2OTc1OTk-/Bauelemente_Bauteile/Mechanische_Bauelemente/Schalter_Taster/Miniatur_Drucktaster.html). There are 2 kinds of it, “open when pressed” and “close when pressed”. If I use “close as pressed” and press the switch, then pi starts up and immediately shuts down by itself. If I use “open as pressed” pi powers on without pressing switch. When system is up and I press switch then pi shuts down and starts up again (self reset). What am I doing wrong? Do I need a different switch? Additionally, compiling and installing the driver looks good, but if I do “service –status-all” then I don’t see a “+”, but a “-” in PowerBlock line.

  3. Jck Hmans says:

    Hi, Can I still use this when I have pin 11 and 12 already occupied? Can I alter the driver to use diffrent pins for instance?

      • Jason Pereira says:

        Hi there, sorry to be rude and jump in on this conversation, but I was wondering if you wouldn’t mind pointing me to a circuit diagram of the v1.1 of the powerblock. I wanted to add another switch so that I could watch the input to trigger an amount of my flash drive

      • petRockBlog says:

        Currently, the schematics of the PowerBlock are not made publicly available, sorry. That might change in the future, though.

  4. Jason Pereira says:

    Hi there,
    I have a couple of questions regarding the powerblock v1.1. So if anyone has an answer/s, if you could please respond to this post.
    Where can I download the attiny85 code from, What is the dev environment that is used to change the code/firmware on the attiny85? Which ISP was used to program the powerblock,
    What is the pinout for the powerblock ISP pins

    Thanks

  5. Marc Buntemeyer says:

    Hello, my project is a pi3B with retropie in a snes housing.
    What will happen when I use the powerblock and put a reset switch (open when pressed) in line to the toggle switch.
    Will it perform a soft reset when I press the Reset Switch?

    Did the Powerblock contains a fuse that will do the work instead the fuse on the Micro USB Port of the Pi?

    Is it possible to do updates on the powerblock, if new features would come?

    • Zybeon says:

      Reading through their blog I think it would just start a shutdown but depends on how the ATtiny is programed to whether it would start back up immediately after it is fully off. I would suggest connecting the reset switch to an open GPIO on the Rpi then write a short script that initiates a “sudo reboot” when pulled low (make sure to set the pullup on that pin too).

      There is an ISP header on the board that should allow one to update the ATtiny.

    • petRockBlog says:

      The PowerBlock driver will initiate a shutdown. When the RPi has shut off, it will immediately turn on again. The PowerBock does not contain a fuse. However, it contains an transient-voltage suppression. You can update the PowerBlock firmware via ISP. You need to have the tool for that, though.

  6. Nick says:

    This is one of the most elegant pieces of kit for RPi projects I have ever used. Many thanks for all the work on this. Works as advertised.
    I have a query as I wish to use the board wired from the new 1.1 pinouts into the Pi for space reasons.
    Clearly the wiring is as follows (but want to check before I burn anything):
    – power out +/- goes to pins 2/6 to power the Pi
    – S1/2 go to pins 3/5 to manage the I2C

    this leaves pins 11/12? to what on the Powerblock Board do you wire pins 11/12 to complete the same connections as the shield?

    Happy to supply pictures if required?

    • petRockBlog says:

      You are right, I should make that more clear on the website. Here is the pin out for the PowerBlock:

      5V IN, +,-: supply voltage
      S1: pin 12
      S2: pin 11
      5V OUT +: pin 2 or pin 4
      5V OUT -: pin 6 or pin 9

      • Nick says:

        Many thanks, I will go away and test and publish the final project when done.

  7. Kurt Brownridge says:

    Hi there,
    The PowerBlock is perfect for the mini arcade machine I’m building. I’ve got it working with a regular switch, but I’d like to use a switch with a built-in LED. I’ve tried wiring one, but it causes the Pi to crash on reboot, then gets caught in a loop of crashes and reboots. Would you be able to show how to properly wire such a switch? (example pic attached)

    Thank you for your time.

    • petRockBlog says:

      The PowerBlock driver is currently tested on the Raspbian OS image. So, if you run your OrangePi with a Raspbian image the PowerBlock driver should work out of the box. But I am not 100% sure and I am afraid that, in the end, you have to find it out first. I do not have an OrangePi at hand right now …

      However, any feedback is appreciated, if you make any experience with that!

  8. Tani Knight says:

    Hi,
    I’m looking at he PowerBlock for use with RPi 3 and runeaudio, which is an Arch Linux based audio player OS. Can you tell me if the service will run on Arch Linux and if so does it add much CPU load?
    Assuming that it is not suitable for my distro and that I’ll have to script a service myself (I’m not much of a programmer but I can copy bits and pieces) could you tell me a little more about what the PowerBlock is sending to the Pi and what it is expecting in return? Eg which pins go high/low at what points in the process.
    Many thanks.

  9. Bob De Mars says:

    One more question. I am going to be using a 4 relay module along with your Revised Powerblock board. The relay requires one of the PI’s DC power 5Volt pins & a ground. Is it safe to say I can solder the VCC 5V power pin of the relay to the 5V + signal breakout, and then the ground would go to the 5V – signal break out?

    • Bob De Mars says:

      Sorted this as well. Soldered 2 male header pin in the 5volt out breakout holes. Connected my relay 5 volt ot the 5 volt + on the board, and used a ground on the PI. All is well in the universe again! Thanks!

  10. Bob De Mars says:

    Greetings. I purchased the New Revision of the Powerblock, and it is great! I am curious what size nylon circuit mounting pins you are using to hold the board (opposite side of the GPIO’s) in the attached photo. Any idea where I could get these from? Thank You!

Leave a Reply

This site uses cookies to offer you a better browsing experience. By browsing this website, you agree to our use of cookies.