I'm trying to design a circuit from scratch with a 5V supply, USB connectivity and an AVR chip, for the sake of learning more about building power supplies, and implementing over-voltage protection on for example USB ports.
The last thing one would want to do is burn a USB port on quite an expensive MacBook Pro.
So where can I get a fairly decent explanation on how overvoltage protection works, and how I could design my circuit?