8 ms·
Hacking together a USB-C charger for a cheap Chromebook
- kalleboo 6y agoI have a 12V camping fridge for use in a car, and when we don't need it, I have it in my office to keep a couple drinks cold for long meetings. The wall to 12V brick I had was massive, and caused lots of noise on the mains (that could be heard in the speakers). Eventually I found on Amazon a USB-C to cigarette lighter outlet cable, so now instead I'm using a compact GaN USB-C charger to power it, it works great!
- londons_explore 6y agoBeware those camping fridges tend to use 10 amps @ 12 V without a thermostat (so not safe for meat long term), which will cost you about ~$150/year at typical electricity costs. That's much more than a full-size fridge... It's also more amps than USB-C is rated for, so depending on the model of charger and fridge, this might not work reliably.
- masklinn 6y agoTBF any compact fridge will likely have higher running costs because part of what makes them compact is way less insulation, otherwise their internal volume would be way too small for most people to accept.
- hinkley 6y agoA big part of what makes a deep freeze efficient is that the opening is at the top. There are refrigerated coolers out there, which have essentially the same structure in miniature. You still have cheapo compressors, insufficient or bad foam (some foams embrittle when exposed to sealed car temperatures, I don't know if that affects the R value but I wouldn't be surprised), but at least you can fix the seal, and have a form factor people are still familiar with.
- kalleboo 6y agoI don't run it continually, only for a couple hours on the days when I actually need it, so I'm not worried about power consumption. The small size is rather a plus since it cools down quickly when I need it. It only needs to hold a few bottles of seltzer or coke zero. It's only rated at 2.8A (34W) so it's within USB-C spec. It can probably exceed the spec when the compressor starts, but it hasn't been a problem. Mine does have a thermostat control, and it can keep things frozen well. Used it with a portable 220Wh Li-ion battery to keep ice frozen during a party, it kept it frozen solid on a hot day in direct sunlight for 5 hours
- VLM 6y agoFun to run the math sometimes. As an engineering estimate the system wide COP of a peltier device is at most 0.05 vs pumped freon running around ten (to one sig fig). So with a solid state peltier device the 30 watt device sucks 1.5 watts of heat out of the fridge and dumps 31.5 watts into the heatsink (your room, eventually). A pumped freon unit like the one in your kitchen would suck 300 watts of heat out of the fridge and dump 330 watts into your room. Anyway the definition of a BTU can't be more accurate than 1% for a bunch of boring thermodynamic reasons, but a good engineering estimate is one BTU is 1/3 of a watt-hour. So running your cooler will suck about 5 or so BTU out of the fridge every hour. A BTU unit is very convenient as it changes the temp of one pound of water by one degree. And to one sig fig a 20 oz soda bottle is about a pound. So one bottle in an otherwise empty cooler should drop about 5 degrees per hour in your cooler. Figure a "few" bottles means they'll drop about one degree per hour. Yeah its gonna take "a couple hours" as you state to cool it down. A pumped freon fridge could cool your soda close to 200 times faster than your cooler. That seems "about right" as a case of beer takes a couple hours to be drinkable. I'm not sure if there are any residential "convection fridges" on the market. I'm sure the moving parts fan would increase future sales figures. Another interesting idea would be something like "NEST" thermostat to control the cooler temp while using as little power as possible. Might make some interesting startup ideas.
- kalleboo 6y agoYeah these things aren't designed to cool things down, they're designed to take something that's already chilled, but in an inconvenient location (such as in your kitchen, past a sleeping infant), and keep it cool in a more convenient location (your home office). Anyway if you want to check your math, I did a quick experiment. My fridge cooled a 1.5 liter bottle of room temperature (25.6 C) tap water to 18.4 C in one hour, and 11.9 C in 2.
- mschuster91 6y agoTake care that you don't fry that outlet cable and the power bank if that fridge is compressor powered. Peltier ones will only leech the battery dry in minutes, but compressors have huge inrush currents when turning on, and many powerbanks and converters aren't exactly built to tolerate overcurrent conditions.
- bartvk 6y agoI no longer buy anything without a USB-C port. I hit a snag with my beard trimmer and my first-gen OnePlus bluetooth earbuds, which can only be charged with a USB-A-to-USB-C cable. But other than that, I'm good to go. I understand the many, many articles that claim it's a mess. And although that may be true, I'm very happy with USB-C.
- voltagex_ 6y agoA USB C to USB C cable should still work. Anker even sell some charge-only ones (or at least, they're only USB 2 inside)
- bartvk 6y agoAs far as I know, a USB-C charger should never have a hot V+/V- and that is what my beard trimmer requires. EDIT: alias_neo corrected me, and pointed out that it's D+/D- I'm thinking about. On the other hand, this is expected behavior for a USB-A charger, and thus for a USB-A-to-C cable.
- pantalaimon 6y agoThe USB-C Madness never seems to stop.
- auxym 6y agoWait... How does it charge if it does not supply voltage?
- bartvk 6y agoAnother poster on this same level provided the info! I made an error.
- alias_neo 6y agoPerhaps you mean D+/D-? You won't get very far if V+/V- aren't supplying any current.
- martin_a 6y agoNice! I like little soldering projects like these. More people should be "brave" enough to start tinkering around with their home electronics.
- ylyn 6y agoYou can now buy ready-made USB-C to <barrel-jack of your choosing here> on Taobao for like a few dollars. It's designed and sold as a complete product and just looks like any other dongle/adaptor cable.
- MrBuddyCasino 6y agoCan confirm they work very well, used one to extend the battery life of a PartyBox 100 (see https://www.reddit.com/r/JBL/comments/ivdkrg/jbl_partybox_100_mod_to_extend_battery_life_with/ https://www.reddit.com/r/JBL/comments/ivdkrg/jbl_partybox_10...). The new USB Power Delivery 3.0 PPS (Programmable Power Supply) standard even supports requesting arbitrary voltages, but I haven't yet found an adapter that is programmable and supports this.
- nicoburns 6y agoInteresting, those PartyBox 100's have very good reviews and I've been considering getting one. How much play time do you get with that power bank?
- MrBuddyCasino 6y agoWith the power bank plus the internal battery, it plays for at least 10 hours on full volume, probably 12. Also the sound is better with the external power bank, as the DSP limits volume and bass response when running on internal power. The PB100 is good value for the money, but don’t expect hifi quality. Its currently the best off-the-shelf solution for something you can still stuff in a backpack, unless you spend the big bucks and go with a Soundboks. They really half-assed it tho: - the LED lights are erratic and don't look that great - the BT range is crap - no built-in connector to connect external DC power like in the PB300 - internal battery life is not great, just 2400mAh, also not swappable - no second set of tweeters like in the PB300 - takes a long time to boot (~20secs) - no app to adjust the DSP or disable the startup sound
- baybal2 6y agoThis one does: https://m.aliexpress.com/item/4001219988981.html https://m.aliexpress.com/item/4001219988981.html
- fireattack 6y agoJust a quick heads-up, all the images in this article are stretched.
- FiloSottile 6y agoFixed, thanks!
- tiku 6y agoWhile looking for the usb charger board i found a lot of charging cable "fakers" for just about any brand of notebook, so no soldering needed.. They are around 5 dollar.
- paulcarroty 6y ago> my awfully cheap ($190 for 4GB of RAM) Samsung Chromebook 3 Wait, for $190 you can buy a better used i3/i5 laptop? At least in pre-codvid times, not sure about today.
- martin_a 6y ago> in pre-codvid times, not sure about today Covid really ramped up prices. The "big" webcams we use in our conference rooms just got 30% more expensive since the start of the whole Covid situation. Prices also seem to stay up high. Also delivery takes 8 weeks or more now instead of one week. Supply and demand I guess...
- rob74 6y agoWhen I read "hacking together a charger" I already had visions of people following this blog post poorly and burning down their houses. But fortunately it's just a low-voltage adapter, not a complete charger...
- MayeulC 6y agoWhy not go the extra mile and try to integrate it inside the case? It would make it much more easy to carry around. I wonder if some adapters couldn't be designed to replace a USB-A port? It would be nice to solder them in place, and pull two extra cables to the charging circuit.
- oxplot 6y agoIf you're looking for a bit more flexibility around the current and voltage setting as well as a more solid mounting option and safety features, take a look at fpx board [1]. fpx is open source. Disclosure: I'm the author [1]: https://fpx.oxplot.com/ https://fpx.oxplot.com/
- enragedcacti 6y agoI don't have a need for this right now, but I love your method for configuration. It seems really easy and user friendly :)
- fergbrain 6y agoI love the configuration method! I used something similar for a security token project I did.
- ajb 6y agoVery interesting. There are so many USB charging standards - I had been thinking that it should be possible to construct a universal USB power converter. (Even in the case where the charger can't supply the watts the device wants, you could accumulate some energy in a small battery large cap and charge intermittently). But I suspect the reason it hasn't been done so far is liability - there are bound to be a few devices that don't play ball and blow up.
- nathancahill 6y agoThat's really cool. Will keep it in mind for future projects.
- 21eleven 6y agoI remember filippo.io from the days of the heartbleed vulnerability! Had a great heartbleed checker that I used several times.
- twiclo 6y agoWhat ghost theme is this?
- AdmiralAsshat 6y agoThe idea of "hacking together" a charger sounds worrisome on the surface. Does anyone remember "Benson-approved" USB-C chargers? The first generation of USB-C chargers were so bad that a Google Engineer (Benson Leung) had a side-project to test every USB-C cable he could find off Amazon and determine if it correctly followed the USB-C spec. The reason why he was doing this became clear when one of the cables he tested was so bad that it fried the USB port on his Chromebook Pixel 2015.[0] [0] https://www.androidpolice.com/2016/02/02/google-engineer-benson-leung-finds-a-usb-type-c-cable-that-isnt-just-dangerous-on-paper-it-allegedly-fried-his-hardware/ https://www.androidpolice.com/2016/02/02/google-engineer-ben...
- nudgeee 6y agoIn order to carry the USB logo, chargers/cables/connectors/etc must pass a suite of compliance testing to get certification. Specifically for USB-C, you can find details of the USB Power Delivery 2.0/3.0 Compliance Plans at https://www.usb.org/usbc https://www.usb.org/usbc. This of course does not stop cheap knock-offs being made without proper compliance testing. I think as long as these hacks stay in 'prototype' mode, and is clearly called out as such, then it is fine. Once it goes beyond that (ie for sale without proper testing, etc), then it gets worrisome.
- gambiting 6y agoNintendo Switch has the official USB-C logo on the box and it's not compliant, in fact plugging in the "wrong"(but also USB-C compliant) charger can break the device.
- Dylan16807 6y agoThe only chargers to break the switch were putting 9 volts on a low voltage data wire. Definitely not compliant. The switch has a couple issues with how it requests power but they're minor and mostly on the dock rather than the actual console.
- OJFord 6y agoThe way around it's done in TFA though (adding a USB-C port to a DC barrel) seems least risky thing you could do to me - assuming you're using a known-good standards-compliant supply, you're only relying on the 'PD trigger' board requesting the correct voltage. Could add OV protection or a regulator if you don't trust it.
- ce4 6y agoHere's a nice project built on top of ChibiOS with open sourced hardware / firmware (0) Comparable to ChromeOS's USB-PD Sniffer Twinkie [1] [0]: https://hackaday.io/project/20424-pd-buddy-sink https://hackaday.io/project/20424-pd-buddy-sink [1]: https://www.chromium.org/chromium-os/twinkie https://www.chromium.org/chromium-os/twinkie
- throwanem 6y agoI have the same Chromebook, and have had good results charging it from USB-A via a 5V-12V boost converter with a barrel plug on the 12V end. The one I use [1] was $8 on Amazon back in 2019, and I wouldn't trust it with a high-current load, or leave it unattended while charging - it gets pretty warm charging the Chromebook, enough so that I'm glad I only got it for occasional emergency use with the big 26Ah USB pack that lives on the side of my backpack. I fully expect it to let the smoke out some day, but with a supply voltage less than half what it's delivering, I don't think it can fail in a way that'll hurt the Chromebook, and until it does I'm happy to have it as an option. And I bet those dinky little un-heat-sinked boost converters from the article likewise get pretty warm, too. (Also, passive USB-C to USB-A female converters are trivially inexpensive, enough so that I just got a big bag of them so I don't have to care if they disappear on account of being tiny. For a new-build project, it makes sense to go straight to the connector, but for back compat purposes I can definitely recommend having a good supply of them on hand - USB-C cables seem in general to be either expensive or unreliable still, so being able to adapt old cables to new sockets saves a lot of headache. Especially when the old cables are permanently mounted to devices!) [1] https://www.amazon.com/gp/product/B01ID90K4A https://www.amazon.com/gp/product/B01ID90K4A - no longer available, but plenty of similar ones are. Don't trust any of 'em, would be my advice
- hinkley 6y agoI would love a general solution to this problem. I have a little array of SBCs powered off of a USB charging station, except for the switch, and one SBC that demands a 12V barrel connector. USB-C to barrel connectors as packaged goods would have been useful. As far as I'm aware USB is the only standard charging connector that allows for negotiating voltage and amperage. We should use it more (or perhaps have another standard that can also handle USB charging).
- aj7 6y agoI found the reason why you have a cheap Chromebook more interesting.