Since you’ve done a lot with Apple chargers, I thought you might be interested in my article on the Magsafe connector on Mac chargers. I tore down the charger connector, determined that it communicates with the Mac via the 1-wire protocol and a DS2413 1-wire switch chip, and I used an Arduino to read the charger’s ID and control the status light.
All the best,
Make a robot friend with Adafruit’s CRICKIT – A Creative Robotics & Interactive Construction Kit. It’s an add-on to our popular Circuit Playground Express, FEATHER and other platforms to make and program robots with CircuitPython, MakeCode, and Arduino. Start controlling motors, servos, solenoids. You also get signal pins, capacitive touch sensors, a NeoPixel driver and amplified speaker output. It complements & extends your boards so you can still use all the goodies on the microcontroller, now you have a robotics playground as well.