TE
TechEcho
Home24h TopNewestBestAskShowJobs
GitHubTwitter
Home

TechEcho

A tech news platform built with Next.js, providing global tech news and discussions.

GitHubTwitter

Home

HomeNewestBestAskShowJobs

Resources

HackerNews APIOriginal HackerNewsNext.js

© 2025 TechEcho. All rights reserved.

DIY Adapter: Using an e-bike battery to run a laptop

137 pointsby transistor-manabout 2 years ago

19 comments

userbinatorabout 2 years ago
<i>20V is not a &#x27;stock&#x27; DC&#x2F;DC output voltage, so we&#x27;re going to look for something roughly 24V and find something that has an adjustable sense line for reducing the output to 20V.</i><p>Note that the absolute voltage limit is likely due to 25V electrolytic capacitors in the input circuitry (find a schematic for a model that uses the &quot;20V nominal&quot; PSU and inspect it to be sure), so 24V should be OK as long as you&#x27;re aware of how far the tolerance of the output of the PSU you&#x27;re using can be. I suspect the fact that laptop PSUs seem to come in a wide variety of very-close voltages around 20V (I&#x27;ve seen 18.5, 19, 19.5, 20, 21, even 18.75 or 19.25) is more for vendor-lock-in reasons than anything else --- 19V is only 5% less than 20V, and a PSU rated at 20V may even end up at 19V or less under full load from resistive losses. Due to using DC-DC converters, a slightly higher voltage may even increase efficiency as there&#x27;s less I^2R losses with the lower current that results.<p><i>I did check the stock laptop power supply and it came in at 20.4V, which was somewhat curious.</i><p>That&#x27;s only 2% high, and if it was measured unloaded, I wouldn&#x27;t be surprised.<p>I explained the reasons for the ~20V standard for laptops in this comment from almost a decade ago, and not that much has changed since: <a href="https:&#x2F;&#x2F;news.ycombinator.com&#x2F;item?id=7594383" rel="nofollow">https:&#x2F;&#x2F;news.ycombinator.com&#x2F;item?id=7594383</a>
评论 #35769446 未加载
评论 #35768318 未加载
评论 #35773074 未加载
评论 #35769951 未加载
zamnosabout 2 years ago
DeWalt (and the other power tool brands) now offer USB-C PD adapters for their batteries, which might be even easier to assemble if you have a modern laptop that takes USB PD and have already invested in a power tool brand.<p><a href="https:&#x2F;&#x2F;www.theverge.com&#x2F;23287770&#x2F;dewalt-dcb094-usb-c-pd-charging-kit-review" rel="nofollow">https:&#x2F;&#x2F;www.theverge.com&#x2F;23287770&#x2F;dewalt-dcb094-usb-c-pd-cha...</a>
评论 #35768557 未加载
评论 #35769268 未加载
评论 #35768438 未加载
评论 #35767906 未加载
transistor-manabout 2 years ago
I really enjoy working remotely, like properly out in the woods. For whatever reason most of the &#x27;desktop replacement&#x27; laptops refuse to use external USB-PD battery banks so I designed a quick in-line adapter around an industrial DC&#x2F;DC converter. Its fairly quick to assemble and thought this might be of interest to some of you.
评论 #35767693 未加载
评论 #35769897 未加载
owenwilabout 2 years ago
This is a great article with a lot of lovely detail and photos…and yet I was left wondering how the author actually connected it to the e-bike’s battery—was it directly? Via the bike’s charging port? I’d love to know more about the actual mechanics of _that_ and how they went about it because I’ve long wondered why these modern e-bikes don’t offer more ways to charge other devices from them (with a few exceptions in the Bosch lineup, with the ‘smart hub’ that they sell).
评论 #35769376 未加载
myself248about 2 years ago
Me over here just raw-dogging a Ryobi 18v pack directly into my thinkpad. It&#x27;s flawless.
评论 #35770801 未加载
评论 #35768343 未加载
yincrashabout 2 years ago
Why not use an adjustable buck converter? They are extremely cheap and smaller (but without an enclosure). 15A can be purchased for $12 - <a href="https:&#x2F;&#x2F;www.amazon.com&#x2F;Diymore-Adjustable-Regulator-Converter-Constant&#x2F;dp&#x2F;B072BN43P8&#x2F;" rel="nofollow">https:&#x2F;&#x2F;www.amazon.com&#x2F;Diymore-Adjustable-Regulator-Converte...</a>
评论 #35769302 未加载
评论 #35772250 未加载
gbraadabout 2 years ago
Made something similar that outputs 12V&#x2F;24V to use an inverter for 220V appliances. Which also allows generic USBC adapterw for the car to work, which do a much wider range of voltages than just 20V (with the ducurrent limitation of max 100W&#x2F;5A).<p>Mostly have been using it to charge Lipos for RC (cars and drones) on the go.
salvagedcircuitabout 2 years ago
Nice and tidy indeed! Overall packaging looks robust and the threaded gland nuts push it over the top. Nicely done. Now I just have to stop playing around with the embedded 3D model and make one for my scooter :D
m463about 2 years ago
I&#x27;ve been looking at less portable remote working.<p>I gradually moved away from larger and larger battery banks to a more DIY flavor, using lifepo4 batteries and inverters:<p><a href="https:&#x2F;&#x2F;www.amazon.com&#x2F;dp&#x2F;B098QL2VBZ" rel="nofollow">https:&#x2F;&#x2F;www.amazon.com&#x2F;dp&#x2F;B098QL2VBZ</a><p><a href="https:&#x2F;&#x2F;www.amazon.com&#x2F;dp&#x2F;B09DQ35JV7" rel="nofollow">https:&#x2F;&#x2F;www.amazon.com&#x2F;dp&#x2F;B09DQ35JV7</a><p>So this is AC -&gt; battery -&gt; AC but your DC setup should work too, skipping charging. The lifepo4 batteries have enormous capacity for not too much money.
quailfarmerabout 2 years ago
That DC&#x2F;DC converter is quite large and expensive for the rated power, no? If you’ve got a stable low-impedance DC source, I imagine you could do a lot better following a TI application note :)<p>I picked up a very tiny 65W GaNFET usbC brick recently, I’ve been curious to see DIY projects put that technology to use. Marginally higher part cost but significantly better efficiency.
评论 #35768274 未加载
ingenieroarielabout 2 years ago
I am doing a similar thing but for a Mac Studio running Asahi Linux (13 W idle, 215 W max), since DC&#x2F;DC was not an option I am using <a href="https:&#x2F;&#x2F;www.amazon.com&#x2F;CAT-Professional-Station-Starter-Compressor&#x2F;dp&#x2F;B088RMSXD1" rel="nofollow">https:&#x2F;&#x2F;www.amazon.com&#x2F;CAT-Professional-Station-Starter-Comp...</a> (200W max) which was half price at Costco. A power adapter that can also inflate tiers and jumpstart other veihicles.<p>Would anyone know if I can charge it while the computer is plugged? I usually assume that is a no &#x2F; no, but if I were to try, could something explode?
评论 #35771615 未加载
_Microftabout 2 years ago
&gt; Checking against the datasheet, I came up with ~12.7k to get to 20.4V and the closest I had on hand was 13K<p>You can measure the 13kOhm resistors that you have and see if there is one with a better matching value. 12.7k is ~97-98% of 13k which is well inside the tolerance of your resistors (it says 5% on the bag).
tppiotrowskiabout 2 years ago
What is the power loss to heat? I am thinking about using Rad Cycle batteries as a power source for my van (instead of a Jackery, Goalzero, etc) The batteries are 48V, 600Wh and I mostly just want to be able to convert to 5V up to 2.4amps. Is this possible and is this a dumb idea? Any pointers welcome.
评论 #35768848 未加载
aledalgrandeabout 2 years ago
I thought it was a &quot;ride faster if you don&#x27;t want your laptop to shut down and drop your call&quot; kind of experiment, but it&#x27;s more of a &quot;let&#x27;s run a laptop on a big battery from an e-bike&quot;, should have read the title more carefully.
评论 #35787770 未加载
JustSomeNobodyabout 2 years ago
Sort of off topic - But I think consumer UPS have fallen short. A) They stick with SLA and not something like LiFePO4 and B) They haven&#x27;t fully embraced USB-PD.<p>A UPS with LiFePO4 and USB-PD should give you hours of backup power.
carabinerabout 2 years ago
Nice work. So what&#x27;s the best folding e-bike
评论 #35767767 未加载
jojobasabout 2 years ago
For bonus fitness points, power it off an e-bike on a stand and pedal&#x2F;regenbrake all the time.
chwa982about 2 years ago
Interesting! What about using spare laptop batteries to DIY upgrade a normal-bike to an e-bike?
评论 #35770448 未加载
zeristorabout 2 years ago
What about using the camera batteries, based on Sony’s original Lithium ion battery pack?