How to power Raspberry Pi from a lab power supply via USB?

The name of the pictureThe name of the pictureThe name of the pictureClash Royale CLAN TAG#URR8PPP





.everyoneloves__top-leaderboard:empty,.everyoneloves__mid-leaderboard:empty margin-bottom:0;







up vote
1
down vote

favorite












How can a Raspberry Pi be powered from a lab power supply via USB?



I have a lab power supply that can easily output 5 V/4 A and I would like
to use it to power a Raspberry Pi (version 3B and 3B+).



In theory one could attach the power directly to the +5v pin in the header, but that means bypassing the over-current and over-voltage protection provided by the USB circuitry. Thus I would like to use the USB port.



Is it enough to wire the positive and negative rails of the lab power supply to the +/- pins of a male micro USB connector?



Should the data pins be left unconnected/floating?










share|improve this question



























    up vote
    1
    down vote

    favorite












    How can a Raspberry Pi be powered from a lab power supply via USB?



    I have a lab power supply that can easily output 5 V/4 A and I would like
    to use it to power a Raspberry Pi (version 3B and 3B+).



    In theory one could attach the power directly to the +5v pin in the header, but that means bypassing the over-current and over-voltage protection provided by the USB circuitry. Thus I would like to use the USB port.



    Is it enough to wire the positive and negative rails of the lab power supply to the +/- pins of a male micro USB connector?



    Should the data pins be left unconnected/floating?










    share|improve this question























      up vote
      1
      down vote

      favorite









      up vote
      1
      down vote

      favorite











      How can a Raspberry Pi be powered from a lab power supply via USB?



      I have a lab power supply that can easily output 5 V/4 A and I would like
      to use it to power a Raspberry Pi (version 3B and 3B+).



      In theory one could attach the power directly to the +5v pin in the header, but that means bypassing the over-current and over-voltage protection provided by the USB circuitry. Thus I would like to use the USB port.



      Is it enough to wire the positive and negative rails of the lab power supply to the +/- pins of a male micro USB connector?



      Should the data pins be left unconnected/floating?










      share|improve this question













      How can a Raspberry Pi be powered from a lab power supply via USB?



      I have a lab power supply that can easily output 5 V/4 A and I would like
      to use it to power a Raspberry Pi (version 3B and 3B+).



      In theory one could attach the power directly to the +5v pin in the header, but that means bypassing the over-current and over-voltage protection provided by the USB circuitry. Thus I would like to use the USB port.



      Is it enough to wire the positive and negative rails of the lab power supply to the +/- pins of a male micro USB connector?



      Should the data pins be left unconnected/floating?







      usb power power-supply connectors






      share|improve this question













      share|improve this question











      share|improve this question




      share|improve this question










      asked 6 hours ago









      gioele

      11815




      11815




















          1 Answer
          1






          active

          oldest

          votes

















          up vote
          5
          down vote













          That should work. The data pins are not connected at the Pi end of the microUSB socket, the socket is purely for power.






          share|improve this answer




















            Your Answer





            StackExchange.ifUsing("editor", function ()
            return StackExchange.using("schematics", function ()
            StackExchange.schematics.init();
            );
            , "cicuitlab");

            StackExchange.ready(function()
            var channelOptions =
            tags: "".split(" "),
            id: "447"
            ;
            initTagRenderer("".split(" "), "".split(" "), channelOptions);

            StackExchange.using("externalEditor", function()
            // Have to fire editor after snippets, if snippets enabled
            if (StackExchange.settings.snippets.snippetsEnabled)
            StackExchange.using("snippets", function()
            createEditor();
            );

            else
            createEditor();

            );

            function createEditor()
            StackExchange.prepareEditor(
            heartbeatType: 'answer',
            convertImagesToLinks: false,
            noModals: false,
            showLowRepImageUploadWarning: true,
            reputationToPostImages: null,
            bindNavPrevention: true,
            postfix: "",
            onDemand: true,
            discardSelector: ".discard-answer"
            ,immediatelyShowMarkdownHelp:true
            );



            );













             

            draft saved


            draft discarded


















            StackExchange.ready(
            function ()
            StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fraspberrypi.stackexchange.com%2fquestions%2f89444%2fhow-to-power-raspberry-pi-from-a-lab-power-supply-via-usb%23new-answer', 'question_page');

            );

            Post as a guest






























            1 Answer
            1






            active

            oldest

            votes








            1 Answer
            1






            active

            oldest

            votes









            active

            oldest

            votes






            active

            oldest

            votes








            up vote
            5
            down vote













            That should work. The data pins are not connected at the Pi end of the microUSB socket, the socket is purely for power.






            share|improve this answer
























              up vote
              5
              down vote













              That should work. The data pins are not connected at the Pi end of the microUSB socket, the socket is purely for power.






              share|improve this answer






















                up vote
                5
                down vote










                up vote
                5
                down vote









                That should work. The data pins are not connected at the Pi end of the microUSB socket, the socket is purely for power.






                share|improve this answer












                That should work. The data pins are not connected at the Pi end of the microUSB socket, the socket is purely for power.







                share|improve this answer












                share|improve this answer



                share|improve this answer










                answered 6 hours ago









                joan

                46.8k34578




                46.8k34578



























                     

                    draft saved


                    draft discarded















































                     


                    draft saved


                    draft discarded














                    StackExchange.ready(
                    function ()
                    StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fraspberrypi.stackexchange.com%2fquestions%2f89444%2fhow-to-power-raspberry-pi-from-a-lab-power-supply-via-usb%23new-answer', 'question_page');

                    );

                    Post as a guest













































































                    Comments

                    Popular posts from this blog

                    Long meetings (6-7 hours a day): Being “babysat” by supervisor

                    What does second last employer means? [closed]

                    One-line joke