USB Gadget Modes

All variants of the Raspberry Pi Zero feature two Micro-B USB sockets, one that carries no data (“PWR IN”, for powering the Pi) and a second one labeled “USB”. Most Zero users I’ve met find that “USB” port annoying because it requires using a special cable in order to turn it into a regular USB host port.

But what if I told you there’s a lot more you can do with this port beyond plugging a few devices like mice and keyboards ?

For that port is actually a USB OTG port, even though it’s using the wrong connector.