RetroPie forum home
    • Recent
    • Tags
    • Popular
    • Home
    • Docs
    • Register
    • Login

    Specific questions regarding the powerblock abilities

    Scheduled Pinned Locked Moved ControlBlock, PowerBlock & Co.
    19 Posts 7 Posters 7.2k Views
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • P
      petrockblog Global Moderator
      last edited by

      Revision 1.1 comes with a 22 Ohm resistor so that a separate resistor should not be needed. The additional one does not hurt, of course :-)

      1 Reply Last reply Reply Quote 0
      • F
        foreverclumsy
        last edited by foreverclumsy

        @scrappbrapp @GtBFilms Any chances of putting together a how-to for your setup? I'm new to the rpi3/retropie world and would love to have a similar setup to what you all described in this thread. Reason being is my rpi3 will be for my family/kids to use and I know that they will not shut down properly and possibly mess things up somehow. I'd like to use a fan to keep the rpi3 cool as well. Any help would be greatly appreciated. Many thanks.

        GtBFilmsG 1 Reply Last reply Reply Quote 0
        • GtBFilmsG
          GtBFilms @foreverclumsy
          last edited by GtBFilms

          @foreverclumsy Hi there, not much to my setup to be honest.

          Bought the Powerblock from very reliable @petrockblog -

          http://blog.petrockblock.com/2015/07/04/powerblock-another-power-switch-for-the-raspberry-pi/

          Arrived in about a week (UK)

          Installed according to the instructions on that link.

          Used an illuminated latching button switch to control it.

          I made up a few of these switches, they are pretty cheap to make, but I've since upgraded mine to a more expensive chrome button one pictured here:

          0_1478184041672_2016-09-21 00.43.54.jpg

          If you want one of my plastic green illuminated button ones, let me know (gtb at gtbfilms dot co dot uk), you can have it for the cost of the postage. I have one with a stupidly long cable and a couple with 30cm long cables (tidier but shorter). They just plug right into the jumpers on the Powerblock. Obviously you need a longer cable if you want the switch to be further away from the Raspberry Pi.

          I've got a bunch of red illuminated latching switches too if you prefer, but I'd have to solder you one up.

          0_1478184185080_2016-09-21 08.39.16.jpg

          Each switch has four (labelled) connections: +5v and GND for the LED, and the two switch connections - the cables have connectors that just slot right onto the (labelled) jumpers on the PowerBlock board.

          0_1475594659737_powerblock.jpg

          I haven't found any need for Rpi cooling fans. I stuck a couple of aluminium heatsinks I got from Ebay for £1 on the chips. Although my Rpi is in a Picade desktop arcade cab, so there's plenty of circulating air, there may be more requirement for cooling in a smaller case with less air flow.

          Here's a video of one of those switches in action attached to a PowerBlock - before I drilled a hole in the back of the case to fit it properly.

          Http://www.gtbfilms.co.uk/misc_photos/powerswitch.mp4

          F M 2 Replies Last reply Reply Quote 0
          • F
            foreverclumsy @GtBFilms
            last edited by foreverclumsy

            @GtBFilms you are awesome. thank you for pointing me in the right direction. I appreciate the pictures too! i would love a button but think it would cost more for postage to sent to the US! =) i'll see what i can find on eBay/amazon. I haven't attempt to solder anything yet. Slowly taking baby steps!

            1 Reply Last reply Reply Quote 1
            • M
              mashtun @GtBFilms
              last edited by

              @GtBFilms Have you posted instructions to put together the illuminated latching switches? If not, would you mind sharing? Thanks!

              GtBFilmsG 1 Reply Last reply Reply Quote 0
              • GtBFilmsG
                GtBFilms @mashtun
                last edited by

                @mashtun I'll put something together tonight, there's not much to it to be honest.

                M GtBFilmsG 2 Replies Last reply Reply Quote 0
                • M
                  mashtun @GtBFilms
                  last edited by

                  @GtBFilms Thank you. Wiring is a new step for me, I need all the help I can get.

                  GtBFilmsG 1 Reply Last reply Reply Quote 0
                  • GtBFilmsG
                    GtBFilms @mashtun
                    last edited by

                    @mashtun Ah, when I said "tonight" what I meant of course, was "in the next few days when I've got through the list of jobs my wife gave me to do"!

                    Sorry for the delay, I'll try to get it done soon.

                    1 Reply Last reply Reply Quote 0
                    • GtBFilmsG
                      GtBFilms @GtBFilms
                      last edited by GtBFilms

                      @mashtun

                      Sorry for the delay, here's a quick guide to how to create a latching switch for the powerblock.

                      PREPARATION

                      You'll need:

                      Soldering iron and solder

                      0_1485043002732_powerswitch001.jpg

                      An illuminated (3V) latching push button switch in your preferred colour:

                      0_1485043059918_powerswitch002.jpg

                      http://www.maplin.co.uk/p/illuminated-green-locking-push-switch-n05ar (£3.29 each)
                      or
                      http://www.ebay.co.uk/itm/5x-Red-3V-LED-Light-Illuminated-OFF-ON-NO-Latching-Push-Button-Switch-Lock-PK-/322314856301?hash=item4b0b76676d:g:zk8AAOSwHMJYGclV (1.79 for FIVE!)

                      You might also like a chrome one, which look nicer but have a premium price, the wiring is exactly the same of course:

                      https://www.modmypi.com/electronics/buttons-and-switches/waterproof-metal-led-ring-switch-latching-green
                      (£4 each)

                      Some Dupont Jumper Wire Ribbon Cable (female to female) (of length required, probably 20cm will do)

                      0_1485043456513_powerswitch003.jpg

                      http://www.ebay.co.uk/itm/40pcs-Dupont-Female-to-Female-Jumper-Wire-Ribbon-Cable-Pi-Pic-Breadboard-Arduino-/201615587283?hash=item2ef139b7d3
                      (£1.89 for 40 wires)

                      A 220 ohm resistor (optional)
                      0_1485043505634_powerswitch004.jpg

                      Some heatshrink tubing (optional)
                      0_1485043603769_powerswitch005.jpg

                      (Ebay, loads of sizes and prices, very cheap).

                      You'll also need some electrical insulated tape, and a sharpie. For testing, a multimeter and some batteries would be useful, if you want to test it before plugging it into your Powerblock board.

                      BUILD

                      Check the back of the buttons, they will have 2 switch terminals and also a positive and a negative terminal for the LED.

                      0_1485043874208_powerswitch006.jpg

                      Solder a 220 ohm resistor to the positive terminal. Previously this was required because we were sending 5v to a 3v LED which might blow it. However, the Powerblock is now sensible enough to send only 3v I believe so this resistor is no longer strictly required. I put it in anyway just in case this button gets used for something else.

                      0_1485044093835_powerswitch007.jpg

                      Choose 4 wires from the ribbon cable and seperate them from the ribbon. I recommend using different colours for the LED connections, to avoid plugging them in the wrong way round. The two switch wires can be plugged any way round, they are just a simple switch connection, so they can be the same colour if you like.

                      0_1485044258664_powerswitch008.jpg

                      Cut one end off each cable with scissors, strip the plastic covering off (you can use wire strippers or your teeth! (I am not responsible for any dental bills resulting from this suggestion!)), twist the exposed wire to stop it splaying out.

                      0_1485044393397_powerswitch009.jpg

                      Solder your chosen +ve wire to the resistor, and your chosen -ve wire to the -ve terminal.

                      0_1485044538465_powerswitch010.jpg

                      Solder your two switch wires to the two switch terminals.

                      0_1485044602101_powerswitch011.jpg

                      Use some electrical tape between the terminals to make sure they are isolated from each other, then wind the tape round the outside to make the whole thing secure.

                      0_1485044700118_powerswitch012.jpg

                      Push all the cables through some heat shrink tubing if required (it keeps the whole thing nice and tidy and less of a spaghetti of loose wires)

                      0_1485044768603_powerswitch013.jpg

                      Label the ends of the cables so you don't forget which were the +ve and -ve for the LED:

                      0_1485044854616_powerswitch014.jpg

                      Run the side of the hot soldering iron down the heat shrink tubing several times to shrink it and make the whole thing neat and tidy (if a little bit lumpy). You can also secure the top with more tape, but be careful to ensure the plastic ring on the button can still come off, so that it can be used to secure the button onto a cabinet/case when fitted.

                      0_1485044955215_powerswitch015.jpg

                      TESTING

                      To test it, a couple of these breadboard wires come in very useful, as they can be stuck in the connectors just like the pins on the Powerblock board will go in.

                      0_1485045151494_powerswitch016.jpg

                      Stick the cables in the two switch wires, and with the switch OFF, check the resistance using a multimeter. It should read 1 (i.e. infinite resistance - the switch is off)

                      0_1485045264523_powerswitch017.jpg

                      Press the button to switch the switch ON. The multimeter indicates a resistance of 0 (or thereabouts) i.e. no resistance - indicating the switch is on.

                      0_1485045365975_powerswitch018.jpg

                      So the switch works. Now to check the LED. I use 3 x 1.5V batteries to deliver 4.5V, close enough to the 5V expected.

                      This time connect the wires to the +ve and GND connectors:

                      0_1485045484995_powerswitch019.jpg

                      Connect the respective wires to some batteries, and the LED button illuminates:

                      0_1485045563409_powerswitch020.jpg

                      Job done! The switch is ready for connection to a Powerblock!

                      0_1485045631371_powerswitch021.jpg

                      The LED +ve and -ve jumpers are clearly marked on the Powerblock board, as are the two switch connectors.

                      0_1485045798295_powerswitch022.jpg

                      Follow the instructions on the Powerblock site to set up the scripts on your Rpi.

                      Hope that helps.

                      M 1 Reply Last reply Reply Quote 2
                      • M
                        mashtun @GtBFilms
                        last edited by

                        @GtBFilms Fantastic, thank you very much!

                        1 Reply Last reply Reply Quote 1
                        • First post
                          Last post

                        Contributions to the project are always appreciated, so if you would like to support us with a donation you can do so here.

                        Hosting provided by Mythic-Beasts. See the Hosting Information page for more information.