There is software around to overcome these problems but only for some of the controllers and the software is often quite expensive. Of course sudden loss and restoration of cell voltage is often considered “unsafe”. This lets the controller to disconnect the pack permanently if it detects an “unsafe” condition. Two for the usual main over current protection and two that allows the controller to heat up an internal resistor enough to blow the main fuse. As a final hurdle, many battery packs have a special fuse with four connections. Removing cell voltage during the change will often wipe the controller completely. The controller in the battery tracks the loss of cell capacity so a simple cell replacement won’t restore it to original condition. Posted in ATtiny Hacks, laptops hacks Tagged battery pack, SMBus, T420, thinkpad Post navigation The ThinkPad has long been the hacker’s favorite laptop, and we can think of no machine more worthy of a fully open hardware and software battery pack. This project is obviously still in a relatively early stage, but we’re very interested to see take it all the way. He came up with a simple PCB design to hold the MCU and support components, which eventually he plans on putting inside of a 3D printed case that actually plugs into the back of his T420. says his firmware still doesn’t do a great job of reporting the actual battery capacity remaining, but it’s close enough for his purposes. The code was shifted over to an ATtiny85, with a voltage divider wired up to one of the pins so it can read the pack voltage. He was slowed down a bit by an undocumented CRC check, but in the end he was able to come up with a fairly mature firmware that even allows you to provide a custom vendor name and model number for your pack. From there he wrote some Arduino code that would mimic a battery as a proof of concept. From a more practical standpoint, it also meant he’d be able to create a higher capacity battery pack than what was commercially available should he chose to.Ī logic analyzer wired in between one of the third party batteries and a spare T420 motherboard allowed to capture all the SMBus chatter between the two. Which from the sounds of it, wasn’t a very high bar. By reverse engineering how the battery pack communicated with the computer, he reasoned he would be able to come up with an open source firmware that worked at least as well as what the the third party ones are running. Which is why decided to take the road less traveled and scratch built a custom battery for his ThinkPad T420. You can often get two or three of the knock-offs for the same price as a single real battery, but they never last as long as the originals. Which means you also know how much legitimate OEM packs cost compared to the shady eBay clones. If you own a laptop that’s got a few years on the clock, you’ve probably contemplated getting a replacement battery for it.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |