When the internal rechargeable battery in his wireless mouse died, [cmot17] decided it was the perfect excuse for making a couple of modifications. The Logitech MX Master isn’t exactly a budget mouse to begin with, but that doesn’t mean there’s no room for improvement. With the addition of a larger battery and USB-C charging port, a very nice mouse just got even better.
As it turns out, there’s plenty of empty space inside the Logitech MX Master, which made it easy to add a larger battery. The original 500 mAh pack was replaced with a new 950 mAh one, which is often sold under the model number 603443. Realistically, if you wanted to go even bigger it looks like any three wire 3.7 V Li-Po pack would probably work in this application, but nearly doubling the capacity is already a pretty serious bump.
Adding the USB-C connector ended up being quite a bit trickier. [cmot17] ordered a breakout board from Adafruit that was just a little too large to fit inside the mouse. In the end, not only did some of the case need to get cut away internally, but the breakout PCB itself got a considerable trimming. Once it was shoehorned in there, a healthy dose of hot glue was used to make sure nothing shifts around.
Since [cmot17] didn’t change the mouse’s original electronics, the newly upgraded Logitech MX Master won’t actually benefit from the faster charging offered by USB-C. If anything, it’s actually going to charge slower thanks to the beefier battery. But considering how infrequently it will need to be charged with the upgraded capacity (Logitech advertised 40 days with the original 500 mAh battery), we don’t think it will be a problem.
Over the years, we’ve seen plenty of stuff crammed into the lowly mouse. Everything from a full computer, to malicious firmware code has been grafted onto that most ubiquitous of computer peripherals. So in the grand scheme of things, this is perhaps one of the most practical mouse modifications to ever grace these pages.
It’s a very brave person who takes a Dremel or similar to the case of their svelte new laptop in the quest for a new connector, it sounds as foolhardy as that hoax from a while back in which people tried to drill a 3.5mm jack into their new iPhones. But that’s what [BogdanTheGeek] has done, in adding a USB-C port to his Acer.
Of course, the port in question isn’t a fully functioning USB-C one, it’s a power supply jack, and it replaces the extremely unreliable barrel jack the machine was shipped with. He’s incorporated one of those little “ZYPDS” USB-C power delivery modules we’ve no-doubt all seen in the usual cheap electronic sources, and in a move of breathtaking audacity he’s cut away part of the Acer mainboard to do so. He’s relying on the laptop’s ability to accept a range of voltages, and presumably trusting his steady hand with a rotary tool. Some Kapton tape and a bit of wire completes the work, and with a carefully reshaped hole in the outer case he’s good to go.
The result is beautifully done, and a casual observer would be hard pressed to know that it hadn’t always been a USB-C port. We’re sure there will come a moment at which someone will plug in a USB-C peripheral and expect it to work, it’s that good.
If you’d like to know a little bit more about USB-C, we’d like to direct you to our in-depth look at the subject.
USB-C has been around for a while, and now that it can charge phones and Macbooks and Thinkpads, the hackers are starting to take note of power adapters that can supply lots of current. [Alex] was turned on to USB-C after he charged a laptop, Nintendo Switch, and phone with one power adapter. This led him to create a USB-C battery charger for all your LiPos.
The high-level design of this project is simply a board with a USB C port on one end, an XT60 plug on the other, and some support for balance leads. Plug this board into a USB C adapter, plug a battery in, and the battery will charge automagically. The only UI is an RGB LED. It’s difficult to imagine a battery charger that’s easier to use.
For the electronics, [Alex] is using an STM32G0 for the smarts of the device, which includes handling the USB PD spec. This gives the charger 20 Volts to play with, and this is then regulated and sent into the battery. Right now, this board will charge 2-4c batteries. That’s a good enough proof of concept to charge some quadcopter batteries, or just as a really simple way to charge some LiPo cells.
DC power bricks were never a particularly nice way to run home electronics. Heavy and unwieldy, they had a tendency to fall out and block adjacent outlets from use. In recent years, more and more gadgets are shipping with USB ports for power input. However, power over USB has always been fraught with different companies using all manner of different methods to communicate safe current limits between chargers and hardware.
These days, we’re lucky enough to have the official USB Power Delivery standard in place. Even laptop chargers are using USB now, and [FPVtv DRONES] decided to see if it was possible to use such a device as a high current power supply to charge batteries.
The test starts with a MI brand USB C laptop charger. A USB power meter is plugged inline to determine voltage and current output of the charger, while a small microcontroller device is used to speak with the laptop charger and set it to high voltage, high current delivery mode. A lithium battery charger is then plugged in, and the setup is tested by charging two large 4-cell LiPos at over 1.4 amps concurrently.
The setup demonstrates that, with the right off-the-shelf modules, it’s possible to use your laptop charger to run high-current devices, as long as you can spoof it into switching into the right mode. This is the natural evolution of USB power technology – a road which started long ago with projects like the MintyBoost, way back when. Video after the break.
Continue reading “Charging LiPos With USB Power Delivery”
When it was introduced in the late 90s, USB was the greatest achievement in all of computing. Gone were the PS/2 connectors for keyboards and mice, ADB ports, parallel ports, game ports, and serial ports. This was a Tower of Babel that would unite all ports under one standard universal bus.
Then more ports were introduced; micro, mini, that weird one that was a mini USB with more connectors off to the side. Then we started using phone chargers as power supplies. The Tower of Babel had crumbled. Now, though, there is a future. USB-C is everything stuffed into one port, and it can supply 100 Watts of power.
Delivering power over a USB-C connector is an interesting engineering challenge, and for his Hackaday Prize entry, [Chris Hamilton] is taking up the task. He’s building a USB-C battery charger, allowing him to charge standard R/C battery packs over USB.
There are two major components of the charger. The first, a Cypress CCG2 USB Power Delivery negotiator, handles all the logic of sending a command to the USB power supply and telling it to open up the pipes. It’s an off-the-shelf part and the implementation is well documented in app notes. The second major component is the battery management circuit built on a TI BQ40z60RHB. This includes the charger control logic and the ability to balance up to four cells. Battery connectors are XT-30, so all your drone battery packs can now be charged by a MacBook.
Quick Charge, Qualcomm’s power delivery over USB technology, was introduced in 2013 and has evolved over several versions offering increasing levels of power transfer. The current version — QCv3.0 — offers 18 W power at voltage levels between 3.6 V to 20 V. Moreover, connected devices can negotiate and request any voltage between these two limits in 200 mV steps. After some tinkering, [Vincent Deconinck] succeeded in turning a Quick Charge 3.0 charger into a variable voltage power supply.
His blog post is a great introduction and walk through of the Quick Charge ecosystem. [Vincent] was motivated after reading about [Septillion] and [Hugatry]’s work on coaxing a QCv2.0 charger into a variable voltage source which could output either 5 V, 9 V or 12 V. He built upon their work and added QCv3.0 features to create a new QC3Control library.
To come to grips with what happens under the hood, he first obtained several QC2 and QC3 chargers, hooked them up to an Arduino, and ran the QC2Control library to see how they respond. There were some unexpected results; every time a 5 V handshake request was exchanged during QC mode, the chargers reset, their outputs dropped to 0 V and then settled back to a fixed 5 V output. After that, a fresh handshake was needed to revert to QC mode. Digging deeper, he learned that the Quick Charge system relies on specific control voltages being detected on the D+ and D- terminals of the USB port to determine mode and output voltage. These control voltages are generated using resistor networks connected to the microcontroller GPIO pins. After building a fresh resistor network designed to more closely produce the recommended control voltages, and then optimizing it further to use just two micro-controller pins, he was able to get it to work as expected. Armed with all of this information, he then proceeded to design the QC3Control library, available for download on GitHub.
Thanks to his new library and a dual output QC3 charger, he was able to generate the Jolly Wrencher on his Rigol, by getting the Arduino to quickly make voltage change requests.
Continue reading “Look What Came Out Of My USB Charger !”
Remember when you first saw a USB port in a standard wall outlet? It was a really great idea at the time, but how’s that 500mA charge holding up now? Fresh from a random press release, here’s a USB 3.0 wall outlet, with USB A and C ports. 5A @ 5V. Future proof for at least several years, I guess.
This is what you call ‘pucker factor’. An Air France A380 traveling from CDG to LAX suffered an uncontained engine failure somewhere over Greenland. Everyone on board is fine, except for the fact they had to spend the night in Goose Bay, Canada. Want the best Twitter/YouTube account of being a passenger? Here you go. Want to know why it landed in Goose Bay? This video is about ETOPS which really doesn’t apply in this instance but it’s a sufficient introduction to diverting airplanes after engine failures.
There are mysterious pylons going up alongside bridges and tunnels in NYC (auto-playing video). No one knows what they are, and the transportation board for New York is hiding behind a cloud of secrecy. We do know there are ‘fiber optics necessary for Homeland Security items’ inside, so place your bets. It’s facial recognition, or at the very least license plate readers. You know, exactly what New York and dozens of other cities have been doing for years.
Did somebody lose a balloon? A Raspberry Pi high-altitude balloon was found on the beach in south-west Denmark.
[Peter] is building an ultralight in his basement. We’ve covered the first part of the build, and we’ve been keeping tabs on him with semi-weekly updates. Now he’s fiberglassed the fuselage and started construction of the wings. Updates of note this week: he’s found a shop with an 8-foot CNC hot wire cutter for the wings. That really cuts down on the build time and it’s actually pretty cheap. One interesting part of this build is a ‘landing gear ejection system’, or a spring thing that allows the landing gear to fall away with the tug of a wire. Why would anyone want a landing gear ejection system? In case he needs to land in a soybean field. A flat bottom means a smoother and more survivable landing. If anyone is still concerned about [Peter]’s safety, this is a put up or shut up situation. Pitch in ten bucks for a parachute if you’re so concerned.
Hoverbike Kalashnikov! What? It’s a guy’s name. No big deal.
Open Hardware Summit is this week in Denver. What will be the highlights of the event? Well, last year, OSHWA announced the creation of an Open Hardware license. This is an all-encompassing license for Open Source Hardware that’s trying to solve some very, very hard problems. Copyright doesn’t work with hardware (except for boat hulls) like it does with software, and this Open Hardware license is the best we’ve got going for us. We’re going to get an update on how well this license is propagating. Also on deck for Summit attendees is a field trip to Sparkfun and Lulzbot. Want to see the world’s second largest 3D printer bot farm? It’ll be awesome.