RetroPie forum home
    • Recent
    • Tags
    • Popular
    • Home
    • Docs
    • Register
    • Login
    Please do not post a support request without first reading and following the advice in https://retropie.org.uk/forum/topic/3/read-this-first

    raspberry pi 3 power supply

    Scheduled Pinned Locked Moved Help and Support
    gpio
    21 Posts 3 Posters 2.1k 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.
    • LolonoisL
      Lolonois
      last edited by

      Nice hack.

      I assume the blue PCB is a TP4056? You should check to limit the charging current of the TP4056 to match the capacity of the Li-ion. Rule of thumb: Keep the charging current below or max. equal to the Li-ion capacity. F.i. if you have a 800mAh battery, set the charging current to 800mA max.Usually this means to replace a resistor on the TP4056 (check the datasheet of your model). Why? If you charge the Li-ion on higher current it will add to it's wearing/aging. (Eventually you may end up with an spicy pillow.)

      There is nothing wrong with powering a Pi via GPIO as long as you can assure that the voltage source is in between 5V +- 20% as you have no overvoltage/undervoltage circuit at the GPIO power lines (in contrast to the USB-powering).

      Good luck!

      Z 1 Reply Last reply Reply Quote 0
      • Z
        zipino82 @Folly
        last edited by

        @Folly hi listen I was thinking of doing this and what if instead of feeding it to the gpio the power to its connector? so I power in the right way with a 5000mah battery with the tc4056 module![batteria_raspi-transformed.jpg](Image dimensions are too big) ![batteria_raspi-transformed(1).png](Image dimensions are too big) 1714389503465-batteria_raspi-transformed-1.jpg

        F 1 Reply Last reply Reply Quote 0
        • Z
          zipino82 @Lolonois
          last edited by

          @Lolonois hi listen I was thinking of doing this and what if instead of feeding it to the gpio the power to its connector? so I power in the right way with a 5000mah battery with the tc4056 module1714389503465-batteria_raspi-transformed-1.jpg

          1 Reply Last reply Reply Quote 0
          • F
            Folly @zipino82
            last edited by Folly

            @zipino82 said in raspberry pi 3 power supply:

            @Folly hi listen I was thinking of doing this and what if instead of feeding it to the gpio the power to its connector? so I power in the right way with a 5000mah battery with the tc4056 module![batteria_raspi-transformed.jpg](Image dimensions are too big) ![batteria_raspi-transformed(1).png](Image dimensions are too big) 1714389503465-batteria_raspi-transformed-1.jpg

            Makes no sense !
            If there is somehow an overvoltage/undervoltage circuit then you will short that circuit with this method.

            You have to choose one or the other.

            Btw. I would not solder it to pin1 of the usb connector as it is too small.
            You could even shortcut pins on the connector if you somehow don't solder it correctly.
            If you manage somehow than the connection is very fragile.
            I know that from experience.

            The GPIO way is the best way.

            Z 1 Reply Last reply Reply Quote 0
            • Z
              zipino82 @Folly
              last edited by

              @Folly ok I trust you I'll move on to the gpio method Excuse my ignorance where would the overvoltage come from or vice versa?

              F 1 Reply Last reply Reply Quote 0
              • F
                Folly @zipino82
                last edited by

                @zipino82 said in raspberry pi 3 power supply:

                Excuse my ignorance where would the overvoltage come from

                From your power supply.
                But if you have a good supply it should not exceed the voltage normally.

                Z 1 Reply Last reply Reply Quote 0
                • Z
                  zipino82 @Folly
                  last edited by

                  @Folly I use a 3.7v 5000mAh battery with the TC4056

                  F 2 Replies Last reply Reply Quote 0
                  • F
                    Folly @zipino82
                    last edited by Folly

                    @zipino82

                    Can't help with your TC4056 don't know what your print exactly is doing.
                    But by the looks of it it's a li-Ion charger with buck-converter, a circuit with also the ability to convert the lower Li-Ion 3.7V-4,2V into 5V and supply your RPI.
                    Such things are always used with USB backup batteries.
                    I assume this is the same, otherwise you would not be able to use it with the RPI nor would that boy advise this circuit for the RPI
                    The 3.7 V doesn't mean anything to the RPI.
                    As long as your TC4056 outputs 5V +/- 20% between 5V and 5.2V as supply voltage for the RPI your good to go.

                    You could check that first without connecting it to the RPI.
                    But you know with USB backup batteries they only start if something is connected to it.
                    But if your print has the 5V printed on it then I would assume it will output 5V I would skip the checking part and just try.

                    1 Reply Last reply Reply Quote 0
                    • LolonoisL
                      Lolonois
                      last edited by Lolonois

                      I have the slight feeling your project may derail without drawing the schematics first and studying datasheets/pi specs.

                      The TC/TP 4056 is a Li-ion charger, by default 1A loading current (which is good thus you don't have to change anything on it, as your battery is 5Ah).

                      On the Out+ / Out- of the TP4056 you get the battery voltage / loading voltage, but never 5 volts.

                      As Folly wrote, 3.7V won't start the Pi. You will need a so called boost-buck converter to step up the voltage to 5V.

                      Edit: cf. https://electronics.stackexchange.com/questions/284149/using-the-tp4056-to-charge-a-lipo-battery-and-supply-power-to-my-circuit

                      1 Reply Last reply Reply Quote 0
                      • F
                        Folly @zipino82
                        last edited by Folly

                        @zipino82

                        I think Lolonois has a point.

                        Make a blockdiagram.

                        Btw :
                        Found that 5V +/- 20% (would be between 4V and 6V) and is too high.
                        It should be between 5V and 5.2V

                        LolonoisL 1 Reply Last reply Reply Quote 0
                        • LolonoisL
                          Lolonois @Folly
                          last edited by

                          @Folly ouch, right: 6V is the maximum rating of the chip. 4.75 to 5.25 is the safe operating voltage (which is 5V +- 5%)

                          1 Reply Last reply Reply Quote 0
                          • 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.