Does anyone know how a diode prevents current from flowing in one direction but permits it in the other?
For the case of a semiconductor-based diode see the discussion of a p-n junction on the semiconductor page. Someone might want to adapt this for the Diode main page. -- Matt Stoker