https://www.mathaelectronics.com/diode-tutorial-guide-to-use-and-applications/