https://www.akehedman.se/wordpress/?p=10412
Protecting Inputs in Digital Electronics - Microcontroller Solutions | DigiKey