DIY 5V 18650 Li-ion UPS for Xiaomi CCTV Camera or Arduino | Does it work?

Поділитися
Вставка
  • Опубліковано 14 лис 2019
  • Update:
    A working 5V UPS module: s.click.aliexpress.com/e/_A9tn87
    In this video, I perform a review and test of a DIY Uninterruptible Power Supply (UPS) advertised as 5V 1A output for smart IP Cameras like Xiaomi 360 CCTV or Arduino or Raspberry Pi projects etc. It has an 18650 cell charger using TP4056 and a Li-ion protection circuit using DW01. The output is an independent 5 Volts boost converter circuit.
    However, looking at the circuit, I have doubts on the functioning of the UPS as claimed. There is no bypass circuit and the TP4056 charger is charging the cell as well as powering the boost circuit. So, please watch the video and find out my test results.
    I also propose a very simple solution to make the circuit work. I added two 1N5822 40V 3A Schottky diodes to the circuit as shown in the schematic below:
    i.ibb.co/wMhqLTg/DSmart-Life-...
    I bought the DIY KIT from AliExpress which includes an 18650 cell holder.
  • Наука та технологія

КОМЕНТАРІ • 76

  • @Basbekema
    @Basbekema 3 роки тому +1

    Very well explained. Thank you!

  • @sanjalon
    @sanjalon 2 роки тому

    Good detailed explanation. Thank you

  • @Dinesh-Bhardwaj
    @Dinesh-Bhardwaj 5 місяців тому

    That's why built my own UPS with bypass function in past.

  • @erboy5546
    @erboy5546 4 роки тому +5

    great research :)

  • @calvinhuanweichen1809
    @calvinhuanweichen1809 2 роки тому

    Thx for this video🤠, I watch this video exactly for the same purpose like you (Xiaomi camera) 🤣thx for the information tho

  • @matematto2.0
    @matematto2.0 3 роки тому

    Very very clear, thanks a lot :-)

  • @daltonthompson5375
    @daltonthompson5375 4 місяці тому

    Thank you, the extra knowledge was good for me.
    Question. Did you follow thru with the modification of the diodes, did it really work?????

  • @arunraja7739
    @arunraja7739 3 роки тому

    Thank you❤️

  • @svetoslavnikolov2969
    @svetoslavnikolov2969 2 роки тому +1

    Thank you for the detailed explanation of the flaw, really appreciated.
    I went and bought the module you have suggested in the description, however I was sent a board named LI-M-1P-D, and the seller states it's the "latest model" which is quite doubtful. It's different visually from the one advertised. Do you have any idea if it serves the same purpose, and eventually if it has that same flaw you're describing?

  • @andreimaizing
    @andreimaizing 3 роки тому

    Did you make any video for the new schematic??

  • @Amit_Gode_MCHJ
    @Amit_Gode_MCHJ Рік тому

    This is really helpful, which circuit I can use for DC 5v to 5v 2A uninterrupted power supply.

  • @souhailla10
    @souhailla10 3 роки тому +1

    very interesting .. is there a print on the market that is working without the need of modification ?

  • @sandeep909b
    @sandeep909b 4 роки тому

    Superb explanation 👌

    • @sandeep909b
      @sandeep909b 4 роки тому

      I have ordered 12v from Aliexpress, but would like to build one meantime for my 12 v router, so I am planning to do it with TP4056 and XL6009 DC-DC Step-Up Converter, should I still use your hack with schottky diode to have 1A

    • @DSmartLife
      @DSmartLife  4 роки тому +1

      I can't understand your configuration/circuit. You want to use a Lithium ion cell and boost it to 12v right. What's your input voltage to the TP4056 charger? 5V right? So you will use an additional USB charger to charge the batteries I guess. You can have the schottky between the 12V output of the Boost converter and the router input where the 12V ac adapter is connected to prevent back flow. You also need a DW01 Lithium ion cell protection circuit between the cell and the boost circuit. Let me know if I'm right.

    • @sandeep909b
      @sandeep909b 4 роки тому

      @@DSmartLifeThanks for your quick reply. Sorry I should have explained it little bit more, yes you are right, I will use 5v USB charger as input voltage to TP4056(with DW01) to charge Li-ion and output of TP4056 to 12v boost converter. This is what I was thinking, please correct me if I wrong, and does it work as UPS.

    • @DSmartLife
      @DSmartLife  4 роки тому +1

      I think it's possible if you can use the output of the DW01 to power the boost converter to step up from 3.7 to 12V . But you should check the current capacity of the Protection circuit. Else you can buy a dedicated 5A-10A Lithium ion single cell protection circuit for usage. It's not expensive.

    • @sandeep909b
      @sandeep909b 4 роки тому

      @@DSmartLife Thanks bro.. Cheers👍

  • @ManishMoorjmalani
    @ManishMoorjmalani 2 роки тому

    thank you

  • @simhachalamallada2316
    @simhachalamallada2316 3 роки тому

    Hello sir this ups Module use 8 Chanel relay module ok or problem

  • @MaqqleGames
    @MaqqleGames 4 роки тому +2

    Gud job bro

    • @DSmartLife
      @DSmartLife  4 роки тому

      Thank you for your comment!!

  • @ajaytanwar9467
    @ajaytanwar9467 2 роки тому +1

    Can you please suggest me a good 5v ups module for this camera?

  • @epedja
    @epedja 3 місяці тому

    I have this module but I need 6V output. It is not readable which chip is used in DC boost circuit so I cannot find specs. Has anyone done voltage change or at least knows what chip is in DC boost converter?

  • @VforValenti
    @VforValenti 3 роки тому +3

    8:59
    You subtract amperage @3.7V by amperage @5V. This is wrong.
    Actually, we have 0.58A@5V input (ie 2.9W) and 0.27A@5V output (ie 1,35W). So there is 1.55W going to battery and leaks (thermal, EMS etc). At 4.2V charging voltage this is up to 0.37A.

    • @DSmartLife
      @DSmartLife  3 роки тому +3

      You are right if the charger uses a buck converter. In this case, the charger is linear, so the current going into the battery is the same as at the input 5V. Hence I subtracted directly. Thanks for your comment.

  • @javierfileiv4758
    @javierfileiv4758 4 роки тому

    Hi, thanks for your explanation. Only one comment, when connected de diodes, if no USB power connected the Boost input is gonna be 3.2v as you said, but when USB power is connected, Boost input is around 4.5v. How do you manage to get 5v on the output if input value changes regarding the power source? Thanks again for the video!

    • @DSmartLife
      @DSmartLife  4 роки тому +2

      Yes it's true, because of the diode's forward voltage drop, the USB voltage will drop. That is why we connect both the cell's output and the USB output to the input of the Boost converter to get a fixed 5V out irrespective of the input voltage fluctuations. The Boost converter has a constant voltage output of 5V with a variable input, hence it does not have any problem when the voltage changes due to source change. This is the basic function of a PWM based constant voltage boost converter. So no problem in getting a 5V output. Thanks.

    • @javierfileiv4758
      @javierfileiv4758 4 роки тому

      @@DSmartLife didn't know it was a pwm boost converter. Thanks :)

  • @rijalfadilah1192
    @rijalfadilah1192 4 роки тому

    can i use multiple 18650 batt, to increase mah capacity? what should i do for that?

    • @DSmartLife
      @DSmartLife  4 роки тому

      Yes you can use multiple 18650 cells in parallel to increase the capacity. There are no specific modifications required for this. Make sure you add the two schotky diodes as I explained in the video and check the video description for the schematic. Thanks.

  • @jokke0099
    @jokke0099 4 роки тому +1

    Thanks for warning regarding the voltage drop to the (in my case) MCU. I noticed a jolt in voltage when switching from USB to or Battery power or vice versa (using the DD06CVSA )causing the MCU to reboot. Quick question if you can recommend any better boards on ali?

    • @DSmartLife
      @DSmartLife  4 роки тому

      I think you can look into this one: a.aliexpress.com/3StVuASG
      But sorry I haven't tested it. I have tested one 9V/12V version in my other video here:
      ua-cam.com/video/ZYRci_WHuh0/v-deo.html
      It works well. See if you can use that.

    • @jokke0099
      @jokke0099 4 роки тому +1

      @@DSmartLife Yeah I was looking at that one. Just ordered one (4 cell variant), gonna take a while to ship during the holidays.

    • @DSmartLife
      @DSmartLife  4 роки тому

      @@jokke0099 Oh great. Please let me know the performance after you get it. Thanks.

    • @jokke0099
      @jokke0099 4 роки тому

      @@DSmartLife The main thing is that the MCU (using an esp8266 + atttiny2313) stays operational during a power shift (charging to discharging and vice versa). Currently I have to hard reset the esp when this happens (the esp crashes). Just thinking out loud: the 5v drops too much, the ldo taking it down to 3.3v (for the esp which is very sensitive) has a 1.25V drop and therefore causes a drop under 3.3V). I know there are better solutions of getting a stable 3.3.. wanted to keep it cheap and simple. The attiny has no problem of coarse with the unstable 5v.

    • @PARACHOQUEDECLIO
      @PARACHOQUEDECLIO 3 роки тому

      @@jokke0099 hi, did you find a board that doesnt disconnect during power shift? Im searching for one for my security cameras

  • @jainztalks6170
    @jainztalks6170 4 роки тому

    I have a doubt bro ... suppose i am not using that ups section while its charging, in this case that the battery dose get full charge?

    • @DSmartLife
      @DSmartLife  4 роки тому

      Yes. It will be fully charged of you aren't using the output. But a UPS should always power the load right. Thanks.

  • @ziauddin787
    @ziauddin787 4 роки тому

    Model number ?

  • @jakirhossain1310
    @jakirhossain1310 4 роки тому

    i have brought this type of a module for my router and i am really facing this type of problem. would please suggest me good module to use my router and onu. tnx for the video.

    • @DSmartLife
      @DSmartLife  4 роки тому

      Is your router 5V or 12V? If it is 5V then you can do the modification I suggested at 11:50. I have already tested it using two 1N5822 40V 3A Schottky diodes and it works really well, even for Arduino Backup. But if your Router is 12V you should look into the module I used in my other video: ua-cam.com/video/ZYRci_WHuh0/v-deo.html Thanks for your comment.

  • @sleepyvoyager
    @sleepyvoyager 4 роки тому

    Please share the purchase link

    • @DSmartLife
      @DSmartLife  4 роки тому

      You can buy it from here
      a.aliexpress.com/NBCzRDlI
      But you should note that, as described in my video, it's not working as intended unless you implement my suggested modifications. Thanks.

  • @sumanth7445
    @sumanth7445 4 роки тому

    Nice explanation bro, I want to build ups for router 12v and I am thinking to do it with TP4056 and XL6009 boost module but after watching your video I got a question in my mind will battery charge with less Amp in my case also? What if I connect dc to dc buck module before TP4056 to down 12v to 5v ? Please suggest me some good way for making ups of 9v and 12v as well. If possible make a video on it. Thank you.

    • @sumanth7445
      @sumanth7445 4 роки тому

      One more thing, I don't want always on battery circuit for router ups can you please help me to build it. Like it show switch to battery power when power goes and work on adapter power when power is there

    • @DSmartLife
      @DSmartLife  4 роки тому +1

      Yes your setup cannot charge the battery as well as power the router, it will drain the battery. But I can help. The best solution is to get the module that I used in this video ua-cam.com/video/ZYRci_WHuh0/v-deo.html. It's a 12V UPS module and can be used for a Router. If it's not possible to buy this module, please let me know. I will give a schematic using schottky diode to make your UPS setup work. But you will need a 5V DC module right to power the 4056 charger. Anyways let me know.

    • @sumanth7445
      @sumanth7445 4 роки тому +1

      @@DSmartLife, thanks for prompt response and I searched every Indian electronic component website for the module you used in the said video but I couldn't find it on any Indian site and if order it from aliexpress it may take longer than usual. Can you please provide me link to any Indian site or any other medium to buy this module. Please help me.

    • @DSmartLife
      @DSmartLife  4 роки тому

      @@sumanth7445 Yes, it seems very hard to import now a days due to the current scenario. Please let me know what are the components you have right now. Do you have some schottky diode? How do you plan to get the 5V DC supply for the charger? Or Do you have 5V 3A power supply? I can suggest some schematic. Let me know. Thanks.

    • @sumanth7445
      @sumanth7445 4 роки тому

      @@DSmartLife normal components like resister, capacitor and diodes I can get those from local store and preferably I am thinking to use the navite adapter 12v/9v provided by router manufacturer and use some DC-DC step down. Is it possible? . If not I can use 5v 2A or 3A circuit available in market. Please suggest what to use. Or what if i use 3x 18650 cells with 3s bms board and input 12v adapter as charger and output to be taken from bms board output

  • @The_fappening
    @The_fappening 4 роки тому

    Or, use an simpel liitokala charger with 2x 5.000 mah 26650 batteries between your power source and camera. Automatic switch between regular power and battery.

  • @sagit0007
    @sagit0007 4 роки тому +1

    Could you share the module photo with modification?

    • @DSmartLife
      @DSmartLife  4 роки тому

      I have uploaded the modified module pic here ibb.co/0hLfLP2 You can also image at my channel's theme. You can see the two diodes that I have soldered on the module to make it work. Thanks

    • @sagit0007
      @sagit0007 4 роки тому

      @@DSmartLife Thank you. But image quality is not so good. Is it possible to make a photo of the original board and paint diodes just over the image?

    • @DSmartLife
      @DSmartLife  4 роки тому

      @@sagit0007 I have uploaded the schematic here ibb.co/PwGyYRj. Sorry the pic quality was bad before. Thank you.

    • @DSmartLife
      @DSmartLife  4 роки тому

      @@sagit0007 Yes it is correct. Thanks.

    • @sagit0007
      @sagit0007 4 роки тому

      @@DSmartLife Thank you!

  • @The_fappening
    @The_fappening 4 роки тому

    Or, use an liitokala charger with 2x 5.000 mah 26650 batteries between your power source and camera. Automatic switch between regular power and batterie..

  • @antistress8689
    @antistress8689 4 роки тому

    u should buy xiaomi powerbank, they support pass througt

    • @DSmartLife
      @DSmartLife  4 роки тому +1

      No it will not work. Pass through charging in power banks will work for charging phones. But when the USB 5V input is disconnected, the power bank needs few seconds to transfer power to the output from its batteries, hence it is not uninterruptible and cannot be used for our intended UPS application. This problem was demonstrated in my video here: t.ly/MZ6D . The only Mi power bank that does not have this problem is the Pro PLM01ZM version shown here: t.ly/5Ssv. But Unfortunately it has been discontinued and no longer available. Anyways thanks for your comment.

  • @geene3186
    @geene3186 4 роки тому

    А теперь по русски напишите, что за диоды добавили в схему???

    • @DSmartLife
      @DSmartLife  4 роки тому +2

      I added the 1N5822 40V 3A Schottky diode and it works well. Thanks.

    • @geene3186
      @geene3186 4 роки тому

      @@DSmartLife Получилось! )) Теперь все правильно работает.

    • @sagit0007
      @sagit0007 4 роки тому

      @@geene3186 какие дорожки нужно рвать и куда паять диоды? Есть фото переделанного модуля?