Teardown and exploration of Apple’s MagSafe connector

Ken Shirriff:

Have you ever wondered what’s inside a Mac’s MagSafe connector? What controls the light? How does the Mac know what kind of charger it is? This article looks inside the MagSafe connector and answers those questions.

This is an amazingly in-depth article written by Ken Shirriff detailing everything you could possibly want to know about Apple’s MagSafe connector, including writing an Arduino program to control the status light.