Detecting ignition on/off through GPIO in a 12V automotive scenario. What is the preferred way to drive the input, protecting it from getting fried by electrical disturbances at a budget?
Will a voltage divider and a Zener diode pretty much suffice or will galvanic separation be necessary? Does anyone know/have an out-of-the-box solution?Thanks,Mike