I gave up on "off the shelf" power banks a long time ago. Years ago you designed a TP4056 / FS312 LiIon charger circuit. Since then I incorporate charging circuits into most of my projects. The power banks I design and use have an ON/OFF switch. That's it! NO auto-OFF.
@vidrepo301710 ай бұрын
You can add an offset to the current sense with just 2 resistors: one resistor between the 10mR and VSN, and the other from VSN to GND. The first resistor allows you to offset the voltage at VSN while only drawing a very small current to GND. Example resistor values of 2.2R for first resistor, and 18k for second resistor will only waste
@gertk230310 ай бұрын
As others mentioned also: insert a resistor in series with the VSN pin, the current sensing input is probably quite sensitive so the series resistor will not have much influence on its own but it makes it much easier to inject a low voltage offset on the VSN pin.
@bro_leo10 ай бұрын
I already do this on my power bank like 2 years ago and still in use until now. I am inspired by using the 555 timer one. But I do something more less power consumption, because pulsing constant load at the USB output still uses a lot of current in my case, because my power bank module need like above 200mA to stay awake. So instead of pulsing constant load at the output, I use the same 555 timer circuit to drive an optocoupler, thus the pin 3 and 4 of the optocoupler will connected parallel to the power button. Since the power bank also will stay awake every time we press the power button to reset the timeout, why not use 555 timer circuit to "press" the power button every 10 second or something to reset the power bank timeout so it will stay awake forever. This method use more less power because optocoupler LED doesn't need so much current to light up. I only connect 75 ohm resistor in series with the optocoupler LED pin.
@denzo_029810 ай бұрын
How do you fit an extra circuit in your power bank??
@bro_leo10 ай бұрын
@@denzo_0298 My pb is DIY one. I only bought the module with the LCD display, and made a custom housing by myself, so I already thinking for extra space for the extra circuit. But if you used a commercial power bank that already premade, you could always reduce like 1 cell to give space for extra circuit, in return, replace all cells with higher capacity per cell. For example the amount of cell inside is 5cell with 2000mAh each, 10,000mAh in total, replace it with 3000mAh cell, so you can reduce 1 cell. Now you will need only 4 cells with 3000mAh each, 12,000mAh in total, but now you have an extra space from one reduced cell. You can put your extra circuit there.
@vencdee10 ай бұрын
Pure genius... dead man's button for powerbank... excellent idea!
@pault653310 ай бұрын
Sometimes there is an Easter egg to activate low power mode. Multiple presses or long press on. Other power banks have two outputs, one high current 2.1A and the other 0.5A. Choose the lower of the two. There are also LED area lights much like the resistor and that could work too. Add a switch for when it’s not needed. Or use two jacks at the same time.
@FreeCircuitLab10 ай бұрын
Cutting the VSN point and adding a voltage divider might help(a series resistor from shunt VSN to IC VSN, then another resistor from IC VSN to GND). That will reduce the IC VSN point voltage slightly smaller than VSP, it will think current is above threshold.
@AboubakrA10 ай бұрын
Yup, was about to suggest that
@borincod10 ай бұрын
the problem with this solution is that the powerbank will never be able to go to standby mode anymore even when no load is attached to it. From that perspective n555 solution seems more flexible and less intrusive
@AboubakrA10 ай бұрын
@@borincod yes you’re right it would probably drain batteries much faster when the Power bank is stored with no load.
@bornach10 ай бұрын
Eplop Electronics (UK) sell a Power Bank Keep-Alive kit based on a 555 timer. Mr Carlson's Lab also did a 555 timer circuit to keep a power bank from sleeping but he chose the RC values to connect the shunt resistor for 3s and disconnect for 25s. This worked well for all but one of my powerbanks. That one fell asleep after only 12s so I added a fast option dip switch to my version of the 555 circuit.
@Chickey10 ай бұрын
Many thanks for the mention.
@sp-vt4je10 ай бұрын
It has a 50% duty cycle tho, which is too much
@Chickey10 ай бұрын
@@sp-vt4je When coming up with the figures i settled on a quite aggressive 50% duty cycle as some powerbanks required this and i am trying to make it work with as many power banks as possible as it's a fixed device. As bornach mentioned you can get the kit version and use whichever resistor values you wish to change the duty cycle and power drawn.
@vencdee10 ай бұрын
I realized something better by using SOC and shorting transistor by which I can program the on/off period freely. Because some powerbanks only need about 20s pulses to stay alive and the minimum current need may also be different. The huge problem is that every powerbank behaves slightly different. Solution with USB-C PD chip is also possible but the consumption may be quite high. I will definitely measure the still draw to the chip next time.
@ANANTHASANKAR_UA10 ай бұрын
As a regular viewer of your channel, this video is very much useful for electronics hobbyist like me , I have tested and works fine ❤❤❤ Now I can run very low current loads without "No load shutdown" problem....Once again thanks a lot 🙏
@osmanpasha_diy10 ай бұрын
I did a pulse circuit with a Attiny13, it had far less components, and cost around the same if you are not mass-producing it.
@derickmacharia713810 ай бұрын
Thanks for this hacks, I struggled with this for a while, I even had to add a boost converter together with a tp4056 just to avoid the power bank modules all together.
@greatscottlab10 ай бұрын
Glad I could help :-)
@foogod423710 ай бұрын
You could just hack in a completely manual override: Make a separate 10,000:1 voltage divider between VSP and ground, and then add a switch that switches the VSN pin between its original resistor point or the fixed voltage divider. As long as the switch is flipped, it will always think the same amount of current is flowing, regardless of what actually is (this does have the drawback of losing the ability to sense overcurrent, though).
@FelipeLenschow10 ай бұрын
I think that using a diode would be better. Just cut the trace between VSN and the shunt pad, and add a diode between VSP and VSN. Maybe will be needed to have resistor between VSN and GND to act as a load to the diode. But, even with and 0.3V diode, the IC would think it's flowing 30A and turn off as current protections, which leads me to think about a super diode, which uses an op amp to make the voltage drop of the diode be reduce by the factor of it's open loop gain
@greatscottlab10 ай бұрын
Hmmmm also sounds interesting.
@Eversor8610 ай бұрын
@@greatscottlab Diode could probably work, especially with voltage divider and "adding" original shunt, so that the diode v-drop divided down would provide the minimum voltage for current measuring to keep device up, while at full load the v-drop of the diode wouldn't really change that much - so the divided V measured would like be still smaller compared to the original shunt at 1-2A so the current limit shouldn't drop much - like 2x to 3x times the minimum required current for continuing to work - Schottky would go from like
@DragoEliteN10 ай бұрын
Literally from the datasheet for IP5328P: "If key is pressed, whether or not load is on VOUT1 port, VOUT1 port output will be force to open; but the VOUT2 and USB C port will open only when load is detected on the according port, or the output on these port will be closed. So VOUT1 must be retained if only one VOUT port is needed, if VOUT2 or VBUS is not needed, MOSFET can be eliminated, but the 10uF capacitor should be retained." And, if you need all ports to be working - thus lesser voltage on VSN pin. So then cut the trace and attach a voltage divider(100 to 1 to get 4.95v, 1000 to 1 to get 4.995v) from shunt to the VSN, simple as that.
@obsurdhotdog84424 ай бұрын
but that ruins his example... lol
@danbolademarte10 ай бұрын
Not that long ago I had to browse the internet in the search of something like this for a project. Really nice to see it well documented in a video.
@arp_catchall10 ай бұрын
I solved this in the past by having timed pulse on one of the spare pins on Arduino controlling a fet with 150 ohm/1w resistor. To power up the power bank I wired another resistor with its power button. Works great.
@Doc_Fartens10 ай бұрын
Someone needs to get this man a bolder marker so that he doesn't have to go over everything he writes multiple times.
@greatscottlab10 ай бұрын
I like it that way though ;-)
@p.k.9539 ай бұрын
😂😂😂 rightly said
@MucaroBoricua8 ай бұрын
Leave his OCD alone. 🤣
@allthings3d3 ай бұрын
Not sure if you are joking, but I think he uses this technique for emphasis as he completes and explanation. He appears to have had drafting experience as well, so pretty sure he has a decent stock of engineering pens in a multiple of thicknesses. Frankly, I really like this low-tech way of identifying and emphasizing an illustration or number.
@Doc_Fartens3 ай бұрын
@@allthings3d I was joking, yes. I appreciate the drafting information though. I was not aware of that. Thanks!
@piconano10 ай бұрын
I built my own using a TP4056 and a SDB628 (MT3608) boost converter module for less than 50 cents for both!!! Added two USB connectors, power switch, terminal blocks, and enclosed in a 3D printed case. Voila. Always on @ +Whatever volts. That boost converter is magic. works down to 2V which consuming microAmps of quiescent current. Brilliant times.
@MCsCreations10 ай бұрын
Fascinating indeed! I guess the solution would be to go with USB C and embed that circuit into the project itself (so you don't need 2 USB cables). Thanks, dude! 😊 Stay safe there with your family! 🖖😊
@greatscottlab10 ай бұрын
Good point!
@Vaionko10 ай бұрын
Does USB C even need anything more complicated than a couple of resistors on the CC pins?
@MCsCreations10 ай бұрын
@@Vaionko That's a good question, I don't really know.
@giovannigrosso692010 ай бұрын
I believe the PD protocol requires some kind of handshake between the device and the power source, and this means you actually need to integrate some suitable ic in your PCB
@ActuallyDarcy10 ай бұрын
@@giovannigrosso6920You can buy little PD boards for around $2. Very useful
@flyhigh_hifi10 ай бұрын
For low power projects it's easier to take 2s liio batteries with xt30 which is usually made for RC stuff and add simple usb converter and over discharge protection
@bosstowndynamics548810 ай бұрын
IMHO just buying a cheap type C trigger board that lets me use any of my existing power banks is much easier than effectively building a custom power bank from scratch
@adinko710 ай бұрын
This video reminded me of a car ride when I was little. It was hot and I decided to make a portable fan to cool down (car didn't have ac). Like a day prior to the trip I got an old usb cable and a 12V fan and connected them together. The fan was spinning pretty slowly but it was enough to get a cool sensation on your skin. The drive took a few hours and 3/4 of the way I was clicking the button on my power bank to wake it up like every 30seconds becouse the fan wasn't drawing enough current to keep it awake. Good times...
@greatscottlab10 ай бұрын
Haha thanks for the story :-)
@adinko710 ай бұрын
@@greatscottlab Thanks!
@stefflus0810 ай бұрын
You had USB when you were little!? Now I feel old
@adinko710 ай бұрын
@@stefflus08 Yes, in a while I will start to feel old.
@nvmyutube10 ай бұрын
@@stefflus08 and powerbanks too... yupp, feeling old over here too...
@halbvoll110 ай бұрын
I love the idea with the 555 circuit and if you want to make it even more efficient you can use as load a capacitor that discharges via a diode at the 5v output or feeds the 555
@Droidy7710 ай бұрын
Great idea! It's very frustrating that with so many little gadgets getting USB-C nowadays for their tiny batteries or low power draw, your best quality power banks are the most likely to refuse to recognise them.
@WarriorRev630010 ай бұрын
@LewisOSLife2984Patreon.
@Craig-ti7ke10 ай бұрын
@LewisOSLife2984the video is released earlier for people who pay
@greatscottlab10 ай бұрын
@LewisOSLife2984 Patreon viewers can watch early 🙂
@ninad.d10 ай бұрын
@LewisOSLife2984Time Travel
@steve_150710 ай бұрын
I really hate USB-C. It should be a standard, not a family of standards. There are already dedicated connectors for all the things it does, but there is no confusion what port and what cable support what standards, what bricks can deliver what PD mode, etc..
@darikdatta10 ай бұрын
You just need to spend more on your powerbanks. The ones I have can be put in a trickle mode which disables the low current shutoff.
@mattanderson11110 ай бұрын
Yeah I have an Anker one. I just double click the button on it, and it goes into trickle mode. Works great
@darikdatta10 ай бұрын
@@mattanderson111 Mine are Ankers too, l wouldn't buy one without the trickle feature, it's very useful.
@greatscottlab10 ай бұрын
Honestly never heard of this feature. But awesome that something like this is out there.
@bosstowndynamics548810 ай бұрын
I think these approaches are still very valuable, personally I'd rather use my old power banks that have nothing else to do to power my projects rather than buying more new expensive ones and wasting the old, otherwise perfectly good ones.
@FriendlyIntentions10 ай бұрын
From the datasheet"Discharge: If key not pressed, only when sink device attached will the output port open, non-attached output port will not open. If the opened output port current is less than 180mA @ 10mOhm, it will wait for a period of time before close the port automatically. The output current is detected by the voltage drop between VSN to output, 180mA current is equivalent to 1.8mV on 10mOhm, when the resistance (including MOSFET internal resistance) between VSN and ouput is larger than 10mOhm, the current threshold will be decreased proportionally." So all you need to do is attach a 555 timer to the KEY pin and pulse it periodically. It should stay on without drawing extra current or messing with the current sense
@glowpon310 ай бұрын
If you're going to that much trouble, just get the lithium battery and the battery bank circuit and use it for charging only, then wire the lithium battery to a voltage circuit or just use as it for your project.
@mathematicalmachinery793410 ай бұрын
“Micro watt hour per minute” is my new favourite unit
@EKUL3410 ай бұрын
It can be insanely frustrating trying to buy a power bank when most don't publish the full specs or features they have. It can often feel like a gamble. One feature I like is pass through which allows for the battery to charge while also discharging it great to use like a sort of UPS. Also nice for connecting small solar panels too things you need to power throughout the night until the sun comes back up. Maybe this would be hard but it would be cool to be able to buy one endorsed by you
@UltimateDIY6 ай бұрын
The older, single cell powerbanks don't automatically shut off, no matter the load. I upgraded the cells in a bunch of them, to have more available capacity.
@boristheengineer516010 ай бұрын
I wonder if instead of pulsing a load resistor you could supply pulses to a capacitor that then powers your project, so it would pull the same average current but in narrow spikes that ought to trigger the load detection. On the plus side it should still shut down if your circuit is properly off, but on the minus side you'll have ripple which might or might not be a problem?
@MadScientist26710 ай бұрын
With the units I have they seem to play the game of averages... which is likely why he went after 100mA pulses when the verified steady current threshold was only 50mA. It's hard to tell *exactly* what is going on inside them but it would seem that the longer a load has been near the threshold, the more readily it will trip with just a slight further decrease in current. I think the pulse approach has a benefit efficiency wise because it may take a bigger hit on the averaging cap, keeping it further away from the cutoff point. That said, this is essentially what buck and boost converters do. It's an "everything you got for a moment" followed by "let that soak in", on repeat. So you could probably half get around this simply by using another converter that follows the one in the battery. It isn't going to really "gain" you much tho, you're adding on another "base" load that doesn't actually "do" anything, putting you back in simple minimum load resistor category.
@pascalmathieu933210 ай бұрын
Hi, as many projects require 3.3V and not 5V, you can use a 3.3 LDO regulator with overdischarge protection directly on the li-ion or li-po battery inside the powerbank. 3V is enough for low power projects (SMt32 + data acquisition + oled for exemple) , a low cost LDO is sufficient in this case
@papaalphaoscar553710 ай бұрын
I use a lot of those power bank modules in my projects. I go around this limitation in my projects by using one of the MCU pins in the main project board to drive a transistor to flash an LED or just shunt current through a resistor intermittently to keep the circuit "alive".
@fusseldieb10 ай бұрын
Basically what he showed in the video lol
@papaalphaoscar553710 ай бұрын
@@fusseldieb Mine is actually part of the circuit and not an attachment to the USB port. Instead of a 555, the flashing is handled by the MCU of the main circuit
@tomteiter719210 ай бұрын
Another annoying problem is that most powerbanks turn off the output when you connect a charger. Otherwise you could use them as a small UPS. For a raspberry pi for Example...
@pahom210 ай бұрын
I've figure out that this also depends on the voltage of the charger. If charger has a good cable and the voltage on the input port stays close to 5V my power bank doesn't turn of the load and indeed works like a small UPS. But if you plug it in a weak charger and the voltage on the input drops to say 4.5 it disconnects the load until fully charge itself.
@MrSofSof10 ай бұрын
Nice Video. But a few warnings are missing for unexpierenced people. Especially for soldering Lithium Batteries
@mueffe135710 ай бұрын
Ive been using that 555 timer to wakeup my bluetooth board for years. Never failed, works great and cheap.
@cselectronics10 ай бұрын
Instead of trying to increase voltage of the IC VSP pin , it might be better choice to cut the VSN pin of the ic and put a resistor between shunt VSN TO IC VSN and a another resistor between IC VSN TO GROUND so that the ic vsn pin voltage get reduced than IC VSP voltage, may be it will think output current is above the threshold value
@stefanmuller101710 ай бұрын
Funny, because i recently made exactly the opposite experience. 😄 I bought absolutely cheap beard trimmer for traveling. But this one had a) old NiMh batteries and b) an extra adapter. So i used a step down converter to the used 3V and an old USB cable to use it with a standard USB adapter. But than the charging always stopped after less than a Minute! I thought a made a mistake but than i realized that this only happens when the battery is full and the flow is dropping. Which is perfect because the original Adapter dopes not stop charging, so you never knew when the battery was already full. But because of the auto-stop of the converter now it does. So now i have a USB cable to charge and additional an auto-stop. Win-win. 😄
@matthewsheeran10 ай бұрын
A better option is another lower power piggybacked power bank of your own design. Just need to isolate and regulate output from charging input so as no over voltage or spike on the low power device at the very end of the chain! Just need to turn on the first in the chain occasionally to charge the second. Easy and less work. Simplest option of all: plug into a mains usb charger which won't cut out for low power devices! :-)
@bikkiikun10 ай бұрын
If the powerbank comes with wakeup button (or the control IC has a pin for that), you could use a 555 timer to trigger it in certain intervals (depending on IC's sleep timer... check datasheet). Should be even more efficient, than the 555 Timer with load solution. Or, you could check the Datasheet, whether the sleep timer itself can be set/changed (e.g. via resistor). Though that is unlikely possible in most. Oh, and to save some more power, you use a CMOS variant of the 555.
@vencdee10 ай бұрын
Simulating dead man's button... nice... but you need to open the powerbank and solder. If you for some device use multiple powerbanks (e.g. replace with another one newly charged) you must do this modification for each of them.
@vencdee10 ай бұрын
Simulating dead man's button... nice... but you need to open the powerbank and solder. If you for some device use multiple powerbanks (e.g. replace with another one newly charged) you must do this modification for each of them.
@bikkiikun10 ай бұрын
@@vencdee I mean, there are powerbanks, that can be easily opened. I personally prefer powerbanks that are filled with 18650 cells, that you can easily replace. On those you have easy access to the PCB. And if you do many projects, you might want to add one additional to the top of the list, a custom powerbank. There are plenty of good pre-built powerbank circuits available, along with 18650 cells. But of course, there are different solutions for different kinds of people with different skillsets and levels.
@lmwlmw446810 ай бұрын
I use the pulse method in a small circuit mounted on top of the 555 itself that I put inside the power banks and it pulses the output every 30 seconds for 1 second, and it works fine...!!! Great video.
@schaltnetzteil49510 ай бұрын
I've built such a circuit on a breadboard a while back. I chose the 555 timer route because it's simple and dosen't draw much power. My powerbank (20000mAh) turns off after 30 seconds with no or too little load. That current threshold is around 70mA with my powerbank. So my circuit draws around 150mA for around a second every 20 seconds. My (USB operated) NiMh battery charger can sometimes draw too little current for the powerbank to stay on.
@rewolff210 ай бұрын
If you cut the trace to the LOWER of the two current sense inputs and add a 1:10000 voltage divider, the measured current will be about .5mV higher than what it really is. No opamp required. The only drawback is that the "amplification circuit" inside the chip may expect an about 10mOhm output resistance of the current sense resistor so it might be designed to draw a significant current. But I'd start out with a pretty high-impedance voltage divider. At such a ratio the big resistor actually becomes "almost a current source" So you almost get an actual .5mV offset as you wanted. Try 1M/100 Ohm, if that doesn't work, try 100k/10 and 10k/1 ohm respectively.
@some-random-guy-l4r10 ай бұрын
I was looking for this topic previously, now I know how to keep them alive
@greatscottlab10 ай бұрын
Glad I could help :-)
@platima10 ай бұрын
Could you not bypass the shunt completely - just swap it with a 0ohm, so 5V goes to both VSP and the USB port without interruption, then put a 1ohm resistor from that 5V line to VSN, so regardless of the current actually drawn, VSN sees the drop from 5V to 4.98V (assuming VSN sinks 30mA) and this is over the 18mA threshold to keep it on?
@PlatimaTinkers10 ай бұрын
Yeah what other me said... I feel like I'm missing something obvious though!
@brucehanson414710 ай бұрын
A couple years ago I made a 3S pack using a cheap BMS board and a buck converter, put a toggle switch on it and wrapped it in fish paper (after I had an oops and had to replace the BMS board). Crude but effective. I did have to dedicate a power supply to it for charging with a current limiting circuit hacked onto it to prevent the supply from shutting down on overcurrent when charging.
@sajidmohammad319010 ай бұрын
Have faced this a lot in the past. But never tried working on this as I didn't need it too much and also got busy in work.
@kikihun972610 ай бұрын
You can just use an usb-c powerbank with a type-c breakoiut board, set both CC 5.1K to GND with a resistor to get 500mAh output on that port and keep all other ports awake with higher output.
@mAlphaKilo10 ай бұрын
The datasheet lists a parameter about light load detection which uses the voltage between the positive USB voltage rail (connected to pin VOUT1/2, VBUS) and VSN. Seems like they use the output FET as a shunt. If less than 1.8mV is measured, light load is detected. Maybe a low forward voltage diode (e.g. Schottky diode) between the positive USB rail and VOUT could do the trick without affecting charge/discharge current protection. Although, the datasheet is a bit conflicting at that point 🤔
@jovialcupid96875 ай бұрын
I highly recommend big powerbank empty cases for 18650. It's the best case for DIY electronics. - no need for hack like in video, just connect pin as input and u can read button pushes for custom special actions and every 10-30s set the same pin as output high for few ms to mimic single button push and that will prevent powerbank from turning off. - dont use all 18650, take one of two less and put mcu there.. - cut plus or minus line from usb port and put mosfet in the middle and u have 5v line that is being controlled by PWM - if u need more control then single button can provide u can remove LED and put pushbutton there (no need to drilling that is never perfectly centered so if have OCD u still be happy how project looks in the end) - case for 8 cells (and u can put up to 7) costs only 5$ (cheaper then plastic case, usb ports and li-on charger separately)
@johnm926310 ай бұрын
for these earlier power banks, you can put a switch on that resistor circuit, so you can get what most commenters are saying: a "trickle charge" or "low power" mode where you basically switch between the ultra-low power mode and normal operation, depending on your needs
@tech29X10 ай бұрын
I bought a power bank that has 4x 18650 protected button top cells wired in parallel and they are user replaceable with a slide off battery cover. I slide the battery cover off and insert the jumper leads to + and - bypassing the the electronic circuit board if I want to use with low power devices like micro controllers. It provides plenty of runtime for small loads, and if I want to be more exact with voltage or use maximum amount of power from the 18650, then I can plug a small DC-DC boost converter.
@scuzzo710 ай бұрын
Im sure I’m not the first one to mention this but most usb powerbank have two outputs, so you could put the timer in one and your application in another. It would probably be fairly easy to miniaturize into a tiny dongle.
@chetansharma634410 ай бұрын
Many power banks do come with a low power draw mode. What I would like to see is to **how to use them as UPSes** since most of them turn off for a second when AC power turns off or on.
@tarakivu886110 ай бұрын
I think rather the cheap ones turn off when AC-power changes to have a cheap but still safe renegotiation of protocols and capabilities. But you can probably be super cheap and simply add a large enough capacitor to survive the downtime. While they do work greatfor UPS applications, such on-line UPS systems wear out the battery quickly. better would be to use it as standby once power drops (like most USPs do)
@chetansharma634410 ай бұрын
@@tarakivu8861 Would it be safe to add a 1.5F 5.5V Super Capacitor across the power bank's output? I would like to use it as a UPS for raspberry pi 4.
@bosstowndynamics548810 ай бұрын
Modifying a power bank to act as a UPS would be much more complex than these mods, so it probably makes more sense to just buy a power bank with passthrough charging/UPS mode to begin with (fairly common these days).
@BradTech.10 ай бұрын
The 555 timer ic makes a come back! 🙌
@kjur1810 ай бұрын
If your project contains microcontroller and you have spare output pin and some space on board you can program pulse draw, or use second small dedicated microcontroller like Attiny5 and some transistor with load resistor to do it.
@epiendless112810 ай бұрын
Yup, I've done this. Spare PWM pulsing the power with a MOSFET.
@braddofner10 ай бұрын
Those are great! I love the pulse circuit! Ingenious! had that shutdown problem once, and since then, I have bought power banks that support low current devices. With the Anker 737 I have right now you can hold the button down for a few seconds to lock on. And draw as little as you want.
@bornach10 ай бұрын
Although he wasn't the first to make use of a 555 for this purpose. I recall Mr Carlson's Lab made a version in a video titled "Power Bank Stay Awake!" over 3 years ago.
@francoisrevol792610 ай бұрын
The venerable 555 still being useful!
@AstroSpark210 ай бұрын
Thank you a lot for making this video, I was SO over with this feature.
@greatscottlab10 ай бұрын
Glad I could help!
@MoErfan_EVP10 ай бұрын
I just replaced the momentary button with a self locking one it kept the power bank on forever the bonus here that stand by mode could be switched on or off 😁😁
@RubenKelevra9 ай бұрын
My powerbank can actually be set to a "disable auto shutdown"-mode which also switches off any fast charging. It just provides stable 5V. It's a ROMOSS Sense 8P+. The mode can be activated by a double tap on the on/off button while it's on.
@AaAndz10 ай бұрын
I've worked on a similar probkem, but my circuit can also be powered by standard 3.3V. My sokution was to buy a DYI powerbank, female USB-C which i drilked a hole for, and a 1S BMS. Connecting the 1S BMS in parallel to the battery connections on the powerbank cirxuit, and then to the female USB-C. Now im able to pull directly from the batteries, without step-up loss, have some protection, and can be charged like a regular powerbank (using the existing connections).
@marcogenovesi857010 ай бұрын
Great designs! I think the 555 circuit is plenty good enough for people that need the convenience of a powerbank. The "pre-made" power banks are meant for expedient use anyway so as long as it's not discharging the battery for nothing it's fine. People that actually care about doing a "most efficient battery powered IoT whatever" will just embed the battery and add a basic BMC in their device (ie the little boards that just protect the li-ion cells from over/under voltage and overcurrent). Nobody should be getting a power bank and then try to hack it, just get a BMC board and cells and make a "dumb" battery
@sandordugalin8951Ай бұрын
Best DIY electronics channel on KZbin.
@mtokarczyk10 ай бұрын
Assuming your project has microcontroller you can use it to time pulses to load thus skipping 555 timer circuit entirely
@xStStSx10 ай бұрын
IP5328 have I2C communication, u can easily configure this behavior throuhg it. First power on by button , to power the mcu, mcu sending "always on" to IP5328. This shunt 10mOhm it's for charging/boost current sense. I bet the whole IC get crazy after you changed it :)
@AKG58Z10 ай бұрын
I experienced it alot, An led can also be used as a load for output spikes preferably an SMD one. Or just force button press of the power bank to keep it turned on all the time using of course a signal instead of manually physically doing it.
@tjwatts10010 ай бұрын
Yay for the 555. Useful in 1978* Still useful in 2024! * Marketed in 1972. But I was using it as a kid a tad later 😅 Think the cmos version came out in my youth too...
@electronics.unmessed10 ай бұрын
I recently had that problem, thanks for sharing your solutions!
@Fred_Klingon10 ай бұрын
Maybe someone else already suggested this solution, but probably the easiest one is to modify a power bank by removing the stock PCB, and installing two premade devices: 1) Li-Po charger with USB-C input 2) Dc-dc converter to have constant 5v (or another voltage as required) 3) (optional) for those power banks having more outputs, add a secondary dc-dc converter configured for an higher output voltage, like 12V In order to avoid discharging, all dc-dc converters must be connected to a switch, in order to cut the power when not in use. 😊
@Un_Pour_Tous10 ай бұрын
The engineer who thought that shutting off the power bank if it does not detect 500ma is a id10t. Its in the same field as a cloud service for appliances.
@greatscottlab10 ай бұрын
500mA is quite big.
@Un_Pour_Tous10 ай бұрын
@@greatscottlab Agree it is a dumb circuit lol
@JohnClark-tt2bl10 ай бұрын
Well these things were mostly designed for phone charging, and even old phones usually drew at least 500ma. Newer banks take into account that you might be using them for other things.
@RWBHereАй бұрын
You could also add a switch to bridge your higher value sense resistor with the smaller resistor for the times when you need to supply higher currents.
@TheUnknownCatWarrior10 ай бұрын
Use a shunt resistor that is 2-3 times higher reisstance than the one on the borad.
@ChallengeTheNarrative10 ай бұрын
Add custom circuit directly to battery inside, add switch to flip between original circuit (charge device) and bespoke circuit (low power output)
@mirkohanen94318 ай бұрын
Alternatively and what I think is nicer: a small 3.3 V battery that is connected to the power bank via a relay/Mosfet to wake it up. (when most power banks are last switched on) The small battery is permanently connected to the Arduino. Advantage: The small battery can be recharged directly from the battery pack depending on the duration and wakes it up at the same time. :)
@petersage515710 ай бұрын
It's nice to see Scott using Everyone's Favorite Timer Chip in a project again. Coulda done it with a cheap, ubiquitous microcontroller, but where's the sport in that? (Seriously, as much as I love the 555, there's something to be said for a chip that only requires a bypass capacitor and a load resistor to perform the same function, and the micro could easily be heat-shrinked into a tiny USB pass-through dongle.) By the way, Paul Carlson built a similar 555 timer "stay awake" circuit a few years ago. It still bugs me that power bank enginerds don't realize that many consumers need this functionality.
@3nertia10 ай бұрын
Should be considered basic functionality to charge something like a headlamp :/
@bosstowndynamics548810 ай бұрын
It feels wrong using an entire microcontroller to just pulse a circuit though :/ As for power bank engineers, they do realise, it didn't actually take very long after low power type C devices like true wireless headphones came on the market for power banks to start including low power modes. The problem is that the cheap power banks just recycle the old designs so you usually only get these modes on mid to higher end ones.
@petersage515710 ай бұрын
@@bosstowndynamics5488 I meant the ubiquitous $0.03 one-time programmable 6- or 8-pin chips. Just a few lines of code to grab a brief pulse of current every few seconds, 100 nanofart bypass capacitor, appropriately sized load resistor, USB connector traces directly on the PCB...Bob's your auntie.
@Chickenbreadlp25 күн бұрын
Some powerbanks have what's called a "Trickle charge" mode.. This mode forces the powerbanks output to always stay on. I've seen it being a thing on some of Anker's powerbanks, where you longpress the powerbutton and the indicator LED turns from blue to green...
@stitchinginthebarn830710 ай бұрын
Thank you for the 555 schematic! I keep having this problem with older usb power banks I want to use to run LED lights with.
@greatscottlab10 ай бұрын
Glad to help
@chemicalvamp10 ай бұрын
I also go back over my sharpie marks repeatedly until it bleeds though the other side of the paper. 50-60% saturation is just not the same as 85-100%
@haydenc274210 ай бұрын
What size are those shunt resistors (1206)?, you should be able to find or stack resistors rather than just unsoldering it, however the testing to figure out how to fix the shutdown problem is pretty awesome! Keep em coming!!!!
@4bSix86f617 ай бұрын
If your just powering an ESP32 with the power bank then just use a bare 1s 18650 battery pack. The boost converter that steps the 4.2v to 5v does draw some power as in those aliexpress 3 for something .99 diy power banks.
@iblackfeathers10 ай бұрын
there are two common problems in see with power banks. 1. threshold voltage over time. your video addresses this. most i have tested cut off after around 30 seconds with small current used, or the consumption is too low to even keep it running. yours sounds to solve this. 2. passthrough charging use case: sbc like a raspberry pi using a power bank like a ups. it should only allow mains power until there is an outage then kick in. most power banks do not have passthrough chargung. it would be helpful to have a power switcher that would activate any powerbank when an outage occurs, probably with a capacitor in order to keep continuous power right when the power bank is about to activate. that way you can use any powerbank in whatever useful form factor to go with your project. by default, powerbanks simply drain out. you don’t have the option to use mains then power bank as secondary. some solutions are clunky with a custom circuit and no power bank while others just use a power bank tethered to mains but it is still using the battery first.
@irshadali966110 ай бұрын
The resistor hack is very useful if the max output is 5v 100mA.. this way you cant damage sensitive circuits that uses few little mA to run .. also useful if you repair low power devices.. i did this hack long ago with my powerbank and i still use it to repair devices... i live in a 3rd world country and buying the cheapest variable power supply from ebay would require me to work for 2 months without eating just to buy it.. but its very useful to repair all sorts of circuits
@NicosLeben10 ай бұрын
My big problem with powerbanks is that they usually can not be used as an UPS. I would be really nice if they could be charged while giving power to other devices. 😞
@xDavelia10 ай бұрын
Hi Scott, here is my solution: I had an esp32 lying around, wrote a short micropython-script, it connects to wifi and starts WebRepl (both not necessary), then goes into deepsleep for 28 seconds. I also "removed" the LED (with an electrician screwdriver). I'm sure it will draw more energy, but it was simple for me to implement. Thx for your videos from bremen!
@mrofinUtortxoF10 ай бұрын
low power mode can be activated on majority of branded powerbanks. the real problem is that some powerbanks may turn off after charging your device instead of acting like a wall charger (until power bank drains).
@JanPawel310 ай бұрын
I work mainly with phones. For example, just by the current that the iPhone draws, you can tell what is damaged in it. I have a 20,000mAh and 20W Powerbank from BaseUS and it drives me nuts when it turns off after 15 seconds of no or low power consumption (around 0.05A). I was thinking about making a PCB for it to artificially consume power, but I put it off until later. Btw my old Xiaomi 10 000mAh Powerbank with 5V2A output supports low power mode by simply clicking power button 2-3 times. Then it will never turn off, but I can't always use it, especially when I need Fast Charging. Thanks GreatScott!
@OscarSommerbo10 ай бұрын
The IP 5328 chip is programmable, granted it only mentions charge curves, but probably also has provisions for setting the auto shut off value. Using TP4056 and a 18650 cell we bypass the cut-off problem altogether. And while the TP4056 draws 20µA that will take awhile to discharge with no load attached.
@AABattery10 ай бұрын
Also a problem with some small synthesizers. I found that some old small cheap powerbanks don't have a switch-off (ir it is very low). One soultion: using a USB hub and plugging in a USB lamp additionally. Then it stays on.
@tahmidrahmankhan120410 ай бұрын
On Xiaomi powerbank, long press on power btn turns the low power mode on.
@dbijenhof7 ай бұрын
I like the second solution: Periodically drawing enough power to keep the power bank activated. You could incorporate this in your project, by periodically enabling an output of your Arduino, for example, to power a LED.
@ryanordiales37708 ай бұрын
Disconnect the VSN from the circuit. Then make a voltage divider circuit that will feed in a delta 50mV to VSN. Let say you constantly draw 10uA on your divider circuit. 50ohm from VSP to VSN, and 500k from VSN to GND.
@DarkRedZane10 ай бұрын
Of all the options you provided, I liked the one that gives pulses the most
@bwselectronic10 ай бұрын
One thing I would like to see is a low voltage input cutoff on powerbanks. I have several that will draw all the way down and not shut off when they get low. I don't like the batteries going that low. Luckily I'm using recycled laptop batteries that were free. They would last longer if they didn't draw down so low.
@Sydney26810 ай бұрын
You could probably just put a 10k or so(would depend on input impedance of course) resistor between the shunt and the VSN pin
@sroesner4 ай бұрын
I found another hacky solution for my powerbank: I just press it's button once every few seconds (with a NE555 timer), which lets it stay on. That does not even draw any wasted current (except a few mA for the NE555) and works perfectly (for me)
@MrPafleouf10 ай бұрын
thank you so much !!! i use an old powerbank to light up my gunpla, but i had to "turrn it on" when i wanted to show to someone.
@bazrazin110 ай бұрын
i faced similar issue to power up my lcd clock from a power bank which would turn off in a minute due load current of less than 1mA, so i made a bms with a boost circuit to 5V which never turns off still working great.
@MetaphysicalEngineer10 ай бұрын
Great video! I like the pulse circuit. Could dial it in to trigger right before the shut down of the power bank to minimize how much power is drawn instead of the 8 second interval used for demonstration. Maybe as a subsystem added to the small projects themselves to allow function with any power bank without external modules. I know the current draw is quite small, but were there any voltage dips presented on the output side from the pulse?
@marklewus546810 ай бұрын
A simpler way to do the pulse load would be to use an ATMega328. With the 5v supply it would not need any external regulator, just a bypass capacitor at VCC. It draws around 8 µA with the watchdog enabled in sleep. Just wake it up every x seconds and parallel four or five output ports with a 47 ohm 1/4 w resistor attached to Vcc. The outputs can handle 20 mA each (easily) and you can use the internal clock so you just need one chip, one resistor, one bypass cap and you’re done.
@SianaGearz10 ай бұрын
If you already have a microcontroller within your project, you can have keep-alive at the cost of one pin, a random tiny little MOSFET, and a couple resistors, one to tie down the gate against floating and one for the actual load. Or a random BJT then one resistor is to limit base current, it doesn't necessarily need anti-floating.
@bikkiikun10 ай бұрын
Ultimately, the 555 timer solution is the most practical and universally applicable.
@McTroyd10 ай бұрын
The shunt resistor mod gives me an idea... what about a voltage divider on the 555's reset pin, carrying (or transistor buffering) current? Pull RESET low when current exceeds a certain threshold, so we're not unnecessarily pulsing the load when the attached device exceeds the minimum draw. Might be useful for something like a remotely deployed ESP32, where it''s mostly idle, but occasionally has a bunch of Wi-Fi connected work to do, for example.