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 Sep 27 at 17:10









      gioele

      12016




      12016




















          1 Answer
          1






          active

          oldest

          votes

















          up vote
          5
          down vote



          accepted










          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



            accepted










            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



              accepted










              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



                accepted







                up vote
                5
                down vote



                accepted






                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 Sep 27 at 17:13









                joan

                47k34679




                47k34679



























                     

                    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













































































                    Popular posts from this blog

                    How to check contact read email or not when send email to Individual?

                    Christian Cage

                    How to properly install USB display driver for Fresco Logic FL2000DX on Ubuntu?