Use rectifier, switching, Zener, Schottky, light-emitting, and photodiodes. Design rectifiers, clamps, protection networks, voltage references, and simple optical circuits.