Quick hack to add a Li-ion battery to a Raspberry Pi Zero

Поделиться
HTML-код
  • Опубликовано: 25 июл 2024
  • Video describes how to add a 3.7V Li-ion battery to a Raspberry Pi Zero by mounting a small £1.70 power board (link below) from eBay.
    www.ebay.co.uk/itm/2A-Lithium...
  • НаукаНаука

Комментарии • 101

  • @anant8449
    @anant8449 3 года назад +10

    I was looking for such setup for a very long time. Thanks for sharing 👍

  • @shashidharybhat
    @shashidharybhat 3 года назад +8

    Great content mate. You will get far in youtube. Take my word and continue.

  • @randomrant3886
    @randomrant3886 3 года назад +2

    This is exactly what I have been looking for. Thank you!

  • @horstao
    @horstao 3 года назад +1

    Been searching for this for some time, thank you very much for the tip !!!

  • @ninline2000
    @ninline2000 3 года назад +7

    That's pretty slick, thanks!

  • @chrisarmstrong2721
    @chrisarmstrong2721 9 месяцев назад

    Great little video Tim

  • @hulkhatson8536
    @hulkhatson8536 3 года назад +1

    Thanks pal for wonderful video

  • @brianwestbye9015
    @brianwestbye9015 2 года назад

    This is what I've been looking for!

  • @Kst_101
    @Kst_101 4 месяца назад +1

    Good tutorial brother,but one should also notice the max current(A) consumption of the raspberry pi under full load, so looking for max current output on the board(charging board) is also a good idea!

  • @gd.ritter
    @gd.ritter 3 года назад +7

    Is there a diode on the Pi Zero between power input and the 5V headers? Possibly if you connected the boost to the 5V pin directly you could use the existing charge port to also recharge the battery.

  • @t1mmy13
    @t1mmy13 3 года назад +1

    Legend. Time to stop mucking about with 18650 batteries this is so much better!

  • @kenthe6reat
    @kenthe6reat 3 года назад +1

    thats a great setup

  • @thuff3207
    @thuff3207 3 года назад +1

    Not a bad idea and thank you for sharing.

  • @TheSlimbridge
    @TheSlimbridge 3 года назад

    Brilliant hack!

  • @jena_thornwyrd
    @jena_thornwyrd 3 года назад +9

    Yeah, it's not a "crazy" hack, but definitively nice, fun and useful, thanks for this highlight !

  • @indrajithlal6160
    @indrajithlal6160 3 года назад +1

    awesome but can i make it like using the pi normally would also charge the battery

  • @HijabiVFXGirl
    @HijabiVFXGirl 3 года назад

    Hi I’m looking to make my own version of a ring doorbell. I’ve got the coding, which I’ll need to put on a micro sd card. Could I use this zero with battery and camera to make it?

  • @alfieh93
    @alfieh93 9 месяцев назад

    Very cool! Looking at making something for a pwnagotchi as I can't really find the pisugar battery's in the UK?

  • @Spawn-wt6ul
    @Spawn-wt6ul 3 года назад +1

    Wonder if your setup will still allow this to fit in a Retroflag Gameboy Pi Zero case, hmmmm I shall try.

  • @TobiKellner
    @TobiKellner Год назад +1

    Does it have low-voltage cutoff (undervoltage protection)? One problem with combining LiPo and boost-converters is that you can drain the battery to a level where it suffers irreversible damage.
    Might not be a problem for applications where you can monitor battery levels on a regular basis...

  • @batner
    @batner Год назад +1

    Is it possible to make charging work from the rpi's usb ?

  • @RaspberryPiGirls
    @RaspberryPiGirls 3 года назад

    I only tried 18650 batteries, will try Li-Ion battery someday.

  • @DiyEcoProjects
    @DiyEcoProjects 10 месяцев назад

    Thats cool, thank you. Can i ask something please. What power in would it need to charge the battery? would that be 5v 2.5amps? im looking to add a small solar panel to charge it.

  • @rag.animations
    @rag.animations Год назад +1

    Is the extra micro usb port necessairy? Does it work if I just leave those pins untouched?

  • @luked3172
    @luked3172 2 года назад

    What gauge wire are you using between the power board and the usb board?

  • @hclchgm
    @hclchgm 2 года назад +1

    Does it only power the Pi Zero W for 10 minutes?

  • @allamb3260
    @allamb3260 3 года назад

    Whats going to happen when you backpower it when plugging in the RPi to your computer? Do you know?

  • @convolution223
    @convolution223 2 года назад

    if I'm understanding correctly, you plug the pi zero to the micro usb chip that you soldered onto the OUT pins of this chip, right?

  • @Skaz1hiphop
    @Skaz1hiphop 2 года назад

    Does everything I need come in the eBay link? I mean other than a soldering equipment I already have that. But like the wires and the USB port and all of it comes in the link? Everything except the battery right?

  • @dealshare2956
    @dealshare2956 3 года назад +1

    Doesn’t the battery keeps charging and discharging? Does this work as ups ? The reason I am asking this is, I used a normal power bank and kept power bank always connected to power which caused the power bank to bloat in less than a month

  • @Grolboy
    @Grolboy 2 года назад

    hey i cant find a charging board but you used one in your video that you put on the other side of the board do you have by any change the link for that

  • @lagratm297
    @lagratm297 Год назад

    Do you use a safe shutdown script for this? Because a in the interrupt or not so good for the SD-Card

  • @geirha75
    @geirha75 3 года назад

    how did you electrically isolate ebay devices from pi. Is there like some kind of insulator between?

  • @udirt
    @udirt Год назад

    Do you know if could also handle LiFePo? I'm so paranoid with the LiIon/LiPo batteries. really great work!

  • @k4rliky
    @k4rliky 3 года назад

    This is cool asfck

  • @superkewlboy1
    @superkewlboy1 2 года назад

    i wonder if you could scavenge a similar power converter from some old electronic that might be laying about. I was thinking maybe off a laptop charger or even like on a cellphones board maybe on a portable charger brick. I imagine that piece or something nearly exactly similar would be easy to snag off of something, but i can also see Rpie needing something designed specifically. Idk if anyone happens to see this comment and has an idea of how i could achieve my scavenger dreams let me know for sure.
    Great video thanks dude you got my gears spinning

    • @fcf8269
      @fcf8269 Год назад

      That is not just a charger but a step up converter. The Pi works with 5V at 1A max; these Li-ion batteries are 3.7V, so the board need to upscale the 3.7V to 5V for the Pi to be able to use it. A phone charger does the opposite; takes the 5V from USB or wall charger and use it as is or reduce it to 3.3V, which is what usually internal logic chip uses

  • @Rulas_Boy
    @Rulas_Boy 2 года назад

    This looks amazing, but I have a question, could it make shortcut the rest of that power supply with other parts that are touching the Rpi?

    • @fcf8269
      @fcf8269 Год назад

      Yep, the solder joints and the pads on the RPI could easily short; and the sticky pads used to keep the board on it is not ideal as solution for EM and heat dissipation.

  • @robertgreen1339
    @robertgreen1339 3 года назад +1

    Hey man would it be okay if you could tell me what that adapter is called that allows you to plug in the lithium battery to the board??

    • @timskillman
      @timskillman  3 года назад

      Hi - I used a 2.54mm JST connector like this ...
      www.ebay.co.uk/itm/5-PAIRS-2-Pin-JST-XH2-54-Connector-Plug-Socket-2-54mm-190mm-Cable-1S1P/272253345370
      www.ebay.co.uk/itm/230PCS-JST-XH-2-54mm-2-3-4-5-Pin-Male-Female-Housing-Connector-Crimp-Terminals/232925383226
      The connector pins are shallow enough to solder onto the board.
      Please check that these are the right size for your battery connector.

  • @mevlutkazan767
    @mevlutkazan767 3 года назад

    Can you share link of the battery on the video?

  • @mikeymop
    @mikeymop 3 года назад

    Do you think this small board could easily be adapted for solar usage with a solar charge controller? Do you know of any that are similar in low profile?

    • @timskillman
      @timskillman  3 года назад +2

      ... I suppose that will depend on your solar charge controller outputting a steady 5V/current when charging the battery. The other board I was using might also be useful;
      www.ebay.co.uk/itm/Lithium-Li-ion-18650-3-7V-Battery-Charger-Module-DC5V-Converter-UPS-Power-Supply/254369683869
      However, please note the max charging rates for the type of battery (and JP1 configuration) ... info on 2nd image of the listing.

  • @master-python
    @master-python Год назад

    I have a question. How long does the 1000mAh battery last?

  • @biswajeetsingh4994
    @biswajeetsingh4994 9 месяцев назад

    Thank you for the nice info. But can the PI Zero be powered by 3.7 volts lithium ion battery. As far I know the PI needs 5 volts. Anyway, thanks again.

  • @phillytechclub7089
    @phillytechclub7089 2 года назад

    #Brilliant ! 💡

  • @williamgroeneveld2812
    @williamgroeneveld2812 3 года назад

    Hi Tim,
    this setup looks great! Very eager to try this.
    Do you also have a link to the second board you have added to this setup? Many thanks

    • @timskillman
      @timskillman  3 года назад +2

      Yes, sure - here's the eBay link for the 2nd board ... www.ebay.co.uk/itm/Lithium-Li-ion-18650-3-7V-Battery-Charger-Module-DC5V-Converter-UPS-Power-Supply/254369683869
      and the one in the video: www.ebay.co.uk/itm/2A-Lithium-Li-ion-18650-3-7V-Battery-Charger-Module-DC-5V-Converter-Power-Supply/254369681028

    • @thekuba9352
      @thekuba9352 2 года назад

      @@timskillman hey tim, this is a very old comment but i was wondering if you knew how to solder the second board, as the board you linked here is different to the second board in the video

    • @convolution223
      @convolution223 2 года назад +1

      @@timskillman those don't seem to be the ones you used in the video. We're looking for the lithium battery adaptor and the micro usb chip

    • @superkewlboy1
      @superkewlboy1 2 года назад

      @@timskillman Timmothan james rex you get back here and answer your fans. Ty in advance daddy :*

  • @TheDradge
    @TheDradge 2 года назад +3

    It's a decent idea but you're relying on the green solder mask as insulation between the other pads on the battery board and the tracks on the Pi. Really should use some insulated washer between the boards for security.

    • @superkewlboy1
      @superkewlboy1 2 года назад +2

      Thanks for the tip thats a good build note in general

  • @BurkenProductions
    @BurkenProductions 2 года назад

    Nice!

  • @apruszko
    @apruszko 3 года назад +4

    There is risky approach, due to shorts between charger pcb and ra-pi pcb.

    • @ophello
      @ophello 3 года назад

      Not if you put a non-conductive barrier between them. A small piece of paper would work.

    • @Frantichairguy
      @Frantichairguy 2 года назад

      @@ophello or kapton tape, paper is a poor isolator. 10 bucks of kapton will last you a lot longer than a fried RPI Zero.

  • @zazuradia
    @zazuradia 9 месяцев назад

    how big can you escalate this? f.e. can you attach a 50Ah battery?

  • @soulrobotics
    @soulrobotics 3 года назад

    Noisy?

  • @smartassist9700
    @smartassist9700 3 года назад

    Awesome! ...but what can I use it for?

    • @timskillman
      @timskillman  3 года назад +2

      ... any type of portable / handheld device you can think of created with a Pi Zero!

  • @Lp-ze1tg
    @Lp-ze1tg 3 года назад

    What is the run time of this setup if I use it as security camera?
    Thank you

    • @timskillman
      @timskillman  3 года назад +1

      I must admit I haven't tried it with a Pi Zero camera - but it will depend on the size of your battery. If I get round to it(!) I'll have a go with what I've got and let you know.

    • @gd.ritter
      @gd.ritter 3 года назад +4

      Depending on your exact setup, you'll be consuming 200mA. Assume a 15% loss on the boost circuit probably and then it's just math. 1000mAh battery - 15% = 850mAh / 200mAh = 4.25 hours.
      Figure out the exact draw of your hardware/software setup and then you can compute what size battery you need to get the runtime you're after.

  • @fez7115
    @fez7115 2 года назад +2

    How long does it last when Pi is running?

    • @crocomire9482
      @crocomire9482 2 года назад

      It depends on the battery size and how stressed the pi is, but with the 1000 mAh battery he used, it should last about 2 hours

  • @ironaddicts
    @ironaddicts 7 месяцев назад

    What's the battery capacity

  • @wildfrog2000
    @wildfrog2000 2 года назад

    Can you do this on the raspberry pi zero W aswell?

  • @lorddorogoth
    @lorddorogoth 3 года назад +1

    This is cool! will you have any new videos about the game engine?

    • @timskillman
      @timskillman  3 года назад

      Hi Lord Dorogoth - yes I will be producing more videos on the game engine through several 'complex' examples such as my full blown 3D editor. I'm taking the engine through it's paces to work well in 2D & 3D games and Raspberry Pi specific apps.

    • @lorddorogoth
      @lorddorogoth 3 года назад +1

      @@timskillman Cool, Thanks! :)

  • @t0mcat33
    @t0mcat33 2 года назад

    Cool

  • @milesmoore5422
    @milesmoore5422 3 года назад

    But you had to add the Female battery connector to the board. How did that work ?

    • @nagsterthegangster3548
      @nagsterthegangster3548 3 года назад

      Literally just solder it on via the 2 pin holes. Nothing fancy :D

    • @milesmoore5422
      @milesmoore5422 3 года назад

      Is this up grade meant to power the Rasp by the 3.7v batt ? Or just add a 3.7v charger to the back of the Rasp that is going to be powered by the 5v power supply. 2a charging to a Lipo batt sounds like alot ?

  • @cybexemoto6575
    @cybexemoto6575 3 года назад

    But not 0w?

  • @rakin6488
    @rakin6488 3 года назад +4

    Can we use power bank module to power raspberrypi zero?

    • @johntitor6851
      @johntitor6851 3 года назад +2

      Yes. Much better to use if you hate soldering stuff.

  • @bccornzz
    @bccornzz 4 месяца назад

    This is, I'm going to soder on. And make a little wireless device

  • @dj-aj6882
    @dj-aj6882 3 года назад

    That's an easy way. Unfortunately you skip software shutdown when the battery is low and cuts the power of. This might corrupt the SD card

    • @timskillman
      @timskillman  3 года назад +1

      Hi DJ-AJ - You're right - that is a risk which needs to be taken into account.

  • @obsoletepowercorrupts
    @obsoletepowercorrupts 3 года назад

    I like the video.
    Personally I think it is long overdue in the retropie world that everybody stops pussy footing around with wee batteries. We need a chunky ps2 (or xbox duke) controller look-and-feel as a nintendo 3DS shape (sort of but with xbox360 chatpad) so that each "handle" either side has two C side batteries (totalling 4). At circa 1.5 volt (probably less) these easily give the 5volt (or potentially 6 volt) trimmed down via resistor. Then lots of power can drive a screen or whatnot... and they are commonplace. Plus AA batteries can slot in instead during hard-times. It would blatantly be able to power 5volt usb devices such as ps2 eye-toy cameras etc.

  • @loggjohnable
    @loggjohnable 2 года назад

    The board does not have over discharge protection though and will drain you battery to 0% which is bad

    • @crocomire9482
      @crocomire9482 2 года назад

      Can’t you get batteries with that built in tho?

    • @loggjohnable
      @loggjohnable 2 года назад

      @@crocomire9482 Yeah. Also in this case the raspberry pi will shutdown before the battery is dead, so it's no problem. Just if you use it for something else.

  • @GGShinobi77
    @GGShinobi77 2 года назад

    "In just 10 minutes..."... I think I would need at least an hour to do that! X'-D

  • @tehKaito23
    @tehKaito23 3 года назад

    Same for some arduino models pls :)

    • @ZuhebusMaximus
      @ZuhebusMaximus 3 года назад

      for that you can just connect the output pads of the battery board to the vin and ground pads of the arduino
      *edit, i think its the 5v pad, but I'm not too sure. You can also power it with usb, with the power wires of the usb connected to the output 5v of the battery board

    • @tehKaito23
      @tehKaito23 3 года назад

      @@ZuhebusMaximus cool will try thanks

  • @fcf8269
    @fcf8269 Год назад

    great find for this board; but your solution is uber dangerous. You are directly placing a PCB on top of the Zero, which has exposed pads as you can see, and I that would require to place something in between to isolate the 2 PCB so they do not short or send noise signal (anything dealing with electricity produce noise, more on that later). Also that board is made for 18650 batteries, which are quite large and with a large capacity; so using smaller batteries like the flat packs is not really safe for the battery either.
    The other issue is related to heat: as that PCB looks like a cheap step-up converter that increase voltage from 3.7V to 5V required by a PI to work. That means that it will get hot while it step up the voltage; the pi get hot too, and having 2 PCB so close together when they heat up is never a good idea; especially because as temperature raise, the EM permeability affects signals too, and that board has no shielding for EM noise nor any sort of protection from what I can tell; so there is a good chance that you could just cause damage in the long run to the RPI.
    All that you have to do is to put a spacer in between the 2 boards with some non-conductive material that can dissipate heat and you should be good to go. It won't be super thin but you have a safer and proper connection at that point; using some .1 pitch headers probably (which is why headers are also helping with heat and EM noise, beside being used for connections).

    • @jeffschroeder4805
      @jeffschroeder4805 7 месяцев назад

      he did mention adding an adhesive pad to attach the module to the back of the pi zero.

  • @Omarkanashe
    @Omarkanashe 8 месяцев назад

    The only way I could do that was if you wanted

  • @Vtrontv
    @Vtrontv 8 месяцев назад

    I've used power bank to power an old monitor and this PI :) ruclips.net/video/NsimbAXDnMQ/видео.html

  • @jjohnson4153
    @jjohnson4153 2 года назад

    1:12 Little bit of pad damage there huh. Somebody doesn’t know how to solder. No just kidding, desoldering can be a bitch.

  • @Omarkanashe
    @Omarkanashe 8 месяцев назад

    The first time the team had played a match was when they won a match in which the players had a goal in hand to win a penalty and a goal in front goal in a match that would be a penalty for a goal difference against a team in a match in a game played in which they had won a goal difference in their home game and scored in a penalty area in a match in which the players had to play in their respective positions to make their team qualify to qualify in a game

  • @dan_y2k
    @dan_y2k 3 года назад +4

    dont do coke