Skip to main content
MikeMike
Visitor II
May 16, 2022
Question

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?

  • May 16, 2022
  • 2 replies
  • 982 views

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

This topic has been closed for replies.

2 replies

gbm
Lead III
May 17, 2022

Single 220 kOhm series resistor should be enough.

My STM32 stuff on github - compact USB device stack and more: https://github.com/gbm-ii/gbmUSBdevice
Javier1
Principal
May 18, 2022

*automotive scenario*

hit me up in https://www.linkedin.com/in/javiermuñoz/
Javier1
Principal
May 17, 2022

https://www.sunrom.com/p/tvs-diode-12v-bidirectional-smbj12ca-smb

check out TVS (Transient voltage supressor) diodes .

in automotive scenarios i always protect against 120V spikes from the battery (they do happen specially at motor startup/stall)

hit me up in https://www.linkedin.com/in/javiermuñoz/