Your Powerbank has 1 BIG Problem! (That we can "Hack")
Вставка
- Опубліковано 13 тра 2024
- Get A Coupon for Free flexible PCBs (100*100mm, yellow): jlcpcb.com/AAA
JLCPCB 3D Printing from $0.3: 3d.jlcpcb.com
Try the world's most trusted PCB design software, Altium Designer with
365, for free and 25% off your purchase:
www.altium.com/yt/greatscott!
Check out Altium 365: www.altium.com/altium-365
Check out OctoPart: octopart.com/
You can get the shown components/powerbanks here: (affiliate links)
USB Tester: s.click.aliexpress.com/e/_DBj...
USB Load: s.click.aliexpress.com/e/_Dl0...
My favorite Big Powerbank: s.click.aliexpress.com/e/_Del...
My favorite Small Powerbank: amzn.to/48LeavE
USB Ports: s.click.aliexpress.com/e/_DBX... s.click.aliexpress.com/e/_DmR...
555 Timer: s.click.aliexpress.com/e/_Dnq...
Capacitor Kit: s.click.aliexpress.com/e/_Ddk...
Resistor Kit: s.click.aliexpress.com/e/_Dm1...
You can download the Pulse Circuit schematic here:
/ powerbank-pulse-96346146
Previous video: • I tried OVERPOWERING m...
555 Timer IC Video: • Electronic Basics #26:...
Facebook: / greatscottlab
Twitter: / greatscottlab
Instagram: / great.scott.lab
TikTok: / greatscottlab
Discord: / discord
Support me for more videos: www.patreon.com/GreatScott?ty=h
In this video we will be having a closer look at powerbanks and their one flaw. Now I do love powerbanks because they are the perfect portable power source for your electronics projects. They provide 5V, are super easy to handle, safe and cheap. Only problem is that they turn off automatically when there is only a small load attached which can be a problem for some of my projects. So in this video I will explore 4 solutions or "hacks" in order to get rid of this problem. Let's get started!
Websites that were shown during the video:
www.sztuofeng.com/upload/15868...
Thanks to JLCPCB for sponsoring this video.
Visit jlcpcb.com to get professional PCBs for low prices.
0:00 Powerbanks have 1 Big Problem
1:24 Intro
2:11 Why Auto Turn Off?
3:21 Solution 1 USB-C Powerbank
4:11 Solution 2 Constant Load
5:05 Solution 3 Pulse Circuit
7:25 Solution 4 Hardware Hacking
11:44 Verdict - Наука та технологія
A lot of the Anker banks can go into "low power draw" mode if you double tap the battery state button. Usually the "25%" LED will change colour to indicate it. I used to get super frustrated on long hikes when my power bank would stop charging my earphones or light batteries, but then I learned I could double tap and it stays on.
Thanks for the tip. Sounds like an awesome mode. Sadly though my Anker powerbanks seem to be too old. They do not have this mode.
Mi powerbanks also has this mode. Double tapping power button. It starts blinking it's main leds synchronously
@@greatscottlab It only works for the PowerCore (Mini/Fusion/Slim/Solar/Pro) 5000 and higher versions.
Xiaomi power bank have this option also
I use the low power mode on my Xiaomi powerbanks to charge low current devices such as the Xiaomi smart band
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.
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.
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
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.
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.
How do you fit an extra circuit in your power bank??
@@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.
Pure genius... dead man's button for powerbank... excellent idea!
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.
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.
Glad I could help :-)
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.
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.
Many thanks for the mention.
It has a 50% duty cycle tho, which is too much
@@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.
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.
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
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 🙏
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
Hmmmm also sounds interesting.
@@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
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).
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...
Haha thanks for the story :-)
@@greatscottlab Thanks!
You had USB when you were little!? Now I feel old
@@stefflus08 Yes, in a while I will start to feel old.
@@stefflus08 and powerbanks too... yupp, feeling old over here too...
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.
Yup, was about to suggest that
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
@@borincod yes you’re right it would probably drain batteries much faster when the Power bank is stored with no load.
Someone needs to get this man a bolder marker so that he doesn't have to go over everything he writes multiple times.
I like it that way though ;-)
😂😂😂 rightly said
Leave his OCD alone. 🤣
“Micro watt hour per minute” is my new favourite unit
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
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
I recently had that problem, thanks for sharing your solutions!
I was looking for this topic previously, now I know how to keep them alive
Glad I could help :-)
Thank you a lot for making this video, I was SO over with this feature.
Glad I could help!
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
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".
Basically what he showed in the video lol
@@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
The 555 timer ic makes a come back! 🙌
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.
Yeah I have an Anker one. I just double click the button on it, and it goes into trickle mode. Works great
@@mattanderson111 Mine are Ankers too, l wouldn't buy one without the trickle feature, it's very useful.
Honestly never heard of this feature. But awesome that something like this is out there.
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.
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.
WAIT HOW DID YOU POST THIS COMMENT 13HRS AGO WHEN IT WAS RELESED 18 MIN AGO??????????????????????????????????????????
@@LewisElectronicLife2984Patreon.
@@LewisElectronicLife2984the video is released earlier for people who pay
@@LewisElectronicLife2984 Patreon viewers can watch early 🙂
@@LewisElectronicLife2984Time Travel
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.
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.
I'm just starting to need information like this, thank for your insights.
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?
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! 🖖😊
Good point!
Does USB C even need anything more complicated than a couple of resistors on the CC pins?
@@jussapitkaranta566 That's a good question, I don't really know.
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
@@giovannigrosso6920You can buy little PD boards for around $2. Very useful
Frohes neues Jahr, danke für dein Video❤
Great video as always
Good options.
I think the LM555 is the most elegant!
Thanks for sharing your expirences with all of us.
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
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.
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.
I Love em toooo!!! i have like 20, and that isnt including the DIY ones ive made. Perfect for emergency lighting with various types of USB/5v LEDs.
And props for using the same USB Tester as me lol
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.
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.
Glad to help
Thank you! Very helpful video
I was just facing this problem recently. Thank you
Happy to help :-)
Just what I needed, thanks!
Glad I could help!
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.
Thanks for the great tip, i really learned a lot❤❤
Can you do a video on how to change the 5v to 9v from the IC?
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!!!!
Really great discovery on the data sheet! Nice thinking
Glad you liked it!
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 🤔
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?
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.
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.
Yup, I've done this. Spare PWM pulsing the power with a MOSFET.
This is a first class of work., Thank you v much indeed.
The venerable 555 still being useful!
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.
First of all congrats for your dedication bro
Another informative video as expected from you bro
Super 💯👍👍👍👍👍
Thank you so much 🙂
Of all the options you provided, I liked the one that gives pulses the most
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. 😄
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
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.
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.
Ive been using that 555 timer to wakeup my bluetooth board for years. Never failed, works great and cheap.
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.
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.
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 😁😁
👍 building that sooner or later, thanks
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.
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.
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...
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.
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
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.
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.
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.
@@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.
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).
Hi love all your videos. Anyway you could hack a power bank to become passthrue power bank (like having usb camera that can stay on after powr failure or evan Rasberry PI) without the need to buy ups?
The 555 timer was the first IC I learned how to make circuits with back in highschool in my electronics class.
... Back in 2000, (Class of '02)
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!
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.
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.
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)
@@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.
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).
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
This is epic. Thanks!
I feel like hooking up 3 different resistor values to a switch would be a good option. Allows for low power use when needed and standard etc
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...
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.
Cool video. Could you do a video like this for battery powered bluetooth speakers? I have a similar problem, it seems. I have scoured the market for a decent portable battery powered speaker that I can use as a speaker for portable keyboards/groove boxes. I don't even care about the BT functionality, I just want the ability to plug a headphone cable out of my music device and into the aux in of the speaker. The problem with this is that every speaker I have tried seems to have a similar auto-shutoff so if I stop playing even for just a few moments, then the speaker goes to sleep and it takes a few strikes of the keyboard to wake it up again. I wonder if if this has a similar solution, where we can remove the autosleep altogether, or perhaps send it a subsonic or supersonic audio pulse at regular intervals to keep it awake. Of course if it is an outside of case solution, I don't know how I would power the thing that creates the pulse.
Did you consider making an additional port for your “ultra low power” projects, and using the normal ports for projects that you do want the shutoff protection?
I love you component sorting drawer. Did you 3d print it? If yes then can you share the stl file please. Btw love your videos
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
I would love to see how you organised your workbench and parts cabinet
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
can you make a brushed motor esc as we already saw brushless. it would be very informative as i couldn't find anywhere on internet.
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.
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.
Should be considered basic functionality to charge something like a headlamp :/
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.
@@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.
alternatives to the mpsa42? thanks
and what are mh1 and mh1 lines on the male connectors?
could you charge a capacitor with the spike, and use that energy to power the output, and when the cap is getting low, turn on the input again? would it be a problem if the power bank was cycled on and off?
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.
Hi ! You mentioned IP5328P and it's really cheap. I have a scooter battery with dead bms and it has 30 li-ion elements. I thought I'd want to create 3 power banks out of it to charge outdoor cameras when I go there so IP5328P would definitely work. I was wondering if there are any other cheap boards that could also provide optional charging voltage for laptop like air over USB-C. Can You suggest any?
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.
so whith this 10mOhm to 200mOhm mod you can adjust the load value of a small lithium battery not being overcharged by the recommended spec?
Because the ali-express battery pack module does not have a load limiter by my understanding, and could easy overheat small batteries in little projects.
like 2000mA batteries have a max load current of 650mAh - but the module exeeds this and goes to 1Ah - what could potentially damage the battery over time.
can i change the 10mOhm to a 100mOhm for this example?
The pulse circuit is a neat idea, and the 555 makes it cute :) I guess a deluxe version would use an attiny
why use an attiny to do the job of a 555, have some respect for the microcontrollers lol
This video will be useful for me.
I have this little radio(powered via a microUSB connection) at work and when I turn the volume down to 0 or put it into standby the power bank turns off.
Hi ..Dear Scott, where can I purchase the bypass/bridge Wire that you use in circuits.
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.
i was having this problem when trying to run one of my blink cameras from a powerbank. I ended up basically doing what you did with the resistor in parallel except I put a LED along with it for at least some visual feedback.
5:11 As a newbie to electronics can someone in layman’s term explain why on the output Vcc is connected to GND 🤔. Listened through a couple of times and seemed to have missed something. TIA