Smartphone Runs Home Server

It’s one of the great tragedies of our technological era. Smartphones that feature an incredible amount of computational power compared to computers the past, are largely locked down by carriers or manufacturers, dooming them to performing trivial tasks far below their true capabilities.

But there is hope. In part one of this build, a OnePlus 6T is stripped of its Android operating system in favor of postmarketOS, a Linux distribution based on Alpine designed for a number of Android phones and tablets as well as some Linux-only handhelds. The guide also demonstrates how to remove the battery and use a modified USB-C cable to essentially trick the battery management system into powering up the phone anyway. The second part of the project dives into the software side, getting the Linux system up and running before installing Docker and whichever Docker containers the user needs.

There are a few downsides to running a server from a smartphone. Although there’s plenty of processing power available for a wide range of applications, most phones won’t have Ethernet support out-of-the-box which forces the use of WiFi. There’s also limited storage options available, so a large NAS system may be out of reach. But for something like a home automation system or a music streaming server this could put plenty of older devices to work again. And if you don’t want to hunt for an Android phone that isn’t completely hobbled out-of-the box you might want to try a phone that’s Linux-based from the get-go instead.

Thanks to [JohnU] for the tip!

Reverse-Engineering Makita Batteries To Revive Them

Modern lithium-ion battery packs for cordless power tools contain an incredible amount of energy, which necessitates that they come with a range of safeties. Although it’s good when the battery management system (BMS) detects a fault and cuts power to prevent issues, there exist the possibility of false positives. Having an expensive battery pack brick itself for no good reason is rather annoying, as is being unable to reuse a BMS in for example a re-manufactured battery. This was the reasoning that led [Martin Jansson] down the path of reverse-engineering Makita batteries for starters.

After that initial reverse-engineering attempt involving a firmware dump of the NEC (Renesas) F0513 MCU, [Martin] didn’t get back to the project until recently, when he was contacted by [Romain] who donated a few BMS boards to the cause. One of these features an STM32 MCU, which made the task much easier. Ultimately [Martin] was able to determine the command set for the Maxim OneWire-based communication protocol, as was a hidden UART mode.

Due to the critical timing required, off-the-shelf programmers didn’t work, so an Arduino Uno-based programmer (ArduinoOBI) was created instead, which can be found on GitHub along with the Open Battery Information desktop application which provides access to these BMS features after connecting to the battery pack. Although only Makita is supported right now, [Martin] would like to see support for other brands being added as well.

Fighting Back Against Dodgy Dyson Batteries

If you’ve ever worked with multi-cell rechargeable battery packs, you know that the individual cells will eventually become imbalanced. To keep the pack working optimally, each cell needs to be analyzed and charged individually — which is why RC style battery packs have a dedicated balance connector. So if you know it, and we know it, why doesn’t Dyson know it?

It’s that question which inspired [tinfever] to start work on the FU-Dyson-BMS project. As you might have surmised from the name, [tinfever] believes that Dyson has intentionally engineered their V6 and V7 batteries to fail by not using the cell balancing function of the onboard ISL94208 battery management IC. What’s worse, once the cells get as little as 300 mV out of balance, the controller considers the entire pack to be shot and will no longer allow it to be charged.

These missing resistors deserve justice.

Or at least, that’s what used to happen. With the replacement firmware [tinfever] has developed, the pack’s battery management system (BMS) will ignore imbalanced cells so you can continue to use the pack (albeit at a reduced capacity). Of course the ideal solution would have been to enable cell balancing on the ISL94208, but unfortunately Dyson didn’t include the necessary resistors on the PCB. Though it’s worth noting that earlier versions of the board did have unpopulated spots for them, lending some credence to the idea that their omission was intentional on Dyson’s part.

But not everyone is onboard with the conspiracy theory. Over on the EEVBlog forums, some users pointed out that a poorly implemented cell balancing routine can be more problematic than not having one at all. It’s possible that Dyson had some bad experiences with the technology in earlier packs, and decided to move away from it and try to compensate by using higher-quality cells. That said, at least one person in the thread was able to revive their own “dead” battery pack by installing this unofficial firmware, so whether intentional or not, it seems there’s little debate that usable batteries are indeed being prematurely marked as defective.

Proper cell balancing is key even in DIY projects, so we do have to agree that it seems more than a little unusual that Dyson would intentionally turn off this important feature in their packs. But the jury is still out on whether or not Sir James is trying to pull a fast one on his customers — as Hanlon’s Razor states, “never attribute to malice that which is adequately explained by stupidity”.

Continue reading “Fighting Back Against Dodgy Dyson Batteries”

Ammo Can Battery; 50 Ah LiFePO4 Clad In Army Green

For the price of a mid-range Android phone, [Kenneth Finnegan] turned a 50 caliber ammo can into a 50 amp-hour portable power supply. The battery pack uses four 3.5 V LiFePO4 cells wired in series to achieve a nominal 12 V supply that stands in for a traditional lead-acid battery. The angel of second-hand purchases was smiling on this project as the cells were acquired on eBay in unused condition, complete with bus bars and mounting spacers. All it took to fit them in the case was to grind off the spacers’ dovetails on the outer edges.

There are many benefits to Lithium Iron Phosphate chemistry over traditional lead acid and [Kenneth] spells that out in his discussion of the battery management system at work here. While the newer technology has a much better discharge curve than lead-acid, there’s a frightening amount of power density there if these batteries were to have a catastrophic failure. That’s why there are Battery Management Systems and the one in use here is capable of monitoring all four cells individually which explains the small-gauge wires in the image above. It can balance all of the cells to make sure one doesn’t get more juice than the others, and can disconnect the system if trouble is a-brewin’. Continue reading “Ammo Can Battery; 50 Ah LiFePO4 Clad In Army Green”

Fail Of The Week: How Not To Electric Vehicle

If you ever doubt the potential for catastrophe that mucking about with electric vehicles can present, check out the video below. It shows what can happen to a couple of Tesla battery modules when due regard to safety precautions isn’t paid.

The video comes to us by way of [Rich], a gearhead with a thing for Teslas. He clearly knows his way around the EV world, having rebuilt a flood-soaked Tesla, and aspires to open an EV repair shop. The disaster stems from a novelty vehicle he and friend [Lee] bought as a side project. The car was apparently once a Disney prop car, used in parades with the “Mr. Toad’s Wild Ride” theme. It was powered by six 6-volt golf cart batteries, which let it maintain a stately, safe pace on a crowded parade route. [Rich] et al would have none of that, and decided to plop a pair of 444-cell Tesla modules into it. The reduced weight and increased voltage made it a real neck-snapper, but the team unwisely left any semblance of battery management out of the build.

You can guess what happened next, or spin up to the 3:00 mark in the video to watch the security camera mayhem. It’s not clear what started the fire, but the modules started cooking off batteries like roman candles. Quick action got it pushed outside to await the fire department, but the car was a total loss long before they showed up. Luckily no other cars in the garage were damaged, nor were there any injuries – not that the car didn’t try to take someone out, including putting a flaming round into [Lee]’s chest and one into the firetruck’s windshield.

[Rich] clearly knew he was literally playing with fire, and paid the price. The lesson here is to respect the power of these beefy batteries, even when you’re just fooling around.

Continue reading “Fail Of The Week: How Not To Electric Vehicle”

Make or buy lithium ion battery pack

Comparing Making To Buying A Lithium Ion Battery Pack

At Hackaday we’re all about DIY. However, projects can have many components, and so there’s sometimes a choice between making something or buying it. In this case, [GreatScott!] wondered if it would be cheaper to make or buy a lithium-ion battery pack for his new eBike kit. To find out, he decided to make one.

After some calculations, he found he’d need thirteen 18650 cells in series but decided to double the capacity by connecting another thirteen in parallel. That gave him a 5 Ah capacity battery pack with a nominal voltage of 48.1 V and one capable of supplying a constant current of 40 A. Rather than connect them by soldering the nickel strips, he purchased a kWeld battery spot welder, adding to the cost of the build. He charged his new battery pack using his bench power supply but being concerned about uneven charging of the cells over the battery pack’s lifetime, he added a Battery Management System (BMS). The resulting battery pack powers his eBike motor just fine.

After adding up all the costs, he found it was only a tiny bit cheaper than prices for comparable battery packs on eBay, which were €24.4 per Ah (US$29.5 per Ah). The only way it would be cheaper is if he made multiple packs, spreading out the one-time cost of the battery spot welder. So that means it’s really up to your preference. See his video below to judge for yourself if you’d rather do it the DIY way. And then let us know what you’d do in the comments below.

Continue reading “Comparing Making To Buying A Lithium Ion Battery Pack”

Refurbishing Armored Tablets

Who can resist the insane deals on bizarre hardware that pop up on auction websites? Not [Dane Kouttron], for sure. He stumbled on Armor X7 ruggedized tablets, and had to buy a few. They’d be just perfect for datalogging in remote and/or hostile locations, if only they had better batteries and were outfitted with a GSM data modem… So [Dane] hauled out his screwdrivers and took stuff apart. What follows is a very detailed writeup of the battery management system (BMS), and a complete teardown of this interesting tablet almost as an afterthought.

First, [Dane] tried to just put a bunch more batteries into the thing, but the battery-management chip wouldn’t recognize them. For some inexplicable reason, [Dane] had the programmer for the BMS on-hand, as well as a Windows XP machine to run the antiquated software on. With the BMS firmware updated (and the manufacturer’s name changed to Dan-ger 300!) everything was good again.

Now you may not happen to have a bunch of surplus X7 ruggedized tablets lying around. Neither do we. But we can totally imagine needing to overhaul a battery system, and so it’s nice to have a peek behind the scenes in the BMS. File that away in your memory banks for when you need it. And if you need even more power, check out this writeup of reverse-engineering a Leaf battery pack. Power to the people!