Posts

Showing posts from November, 2019

Dell power supply emulation

Image
The original idea for this came from hacking a dell power adaptor , which I found after taking my laptop to Australia and finding the USB-C PD to dell adaptor I took with me would power my laptop, but not charge it. I ordered some 3-wire cables on e-bay and resolved to try this at some point. I'm now in the process of building a dock for my laptop, in which I've used one of the 3-wire cables. Before that can be any use, I've got to get this working. There's a one wire library called  OneWireHub  which includes a  sketch specifically for emulating a dell power supply . It's easily the best example, with a clear menu of power supplies to emulate. OneWireHub can be found in the Arduino library manager. I was going to use a Digispark clone, but the OneWireHub library doesn't compile in the Aduino IDE (or in the eclipse arduino plugin for that matter). That's because they both use an older GCC version for the ATtiny85. I suspect there's no reason for th