I'm designing a little car computer and wanting to over-do the input circuits. Looking at other posts, I'm trying to find out how to come up with the right resistor values. It will be for simple external switches (gnd on end of switch), but just in case something shorts, power touches it, etc...
R1 - 1K, that seems to be the norm for current limiting.
R2 - I read that 10K is good for the BAT54S diodes to allow current drain.
R3 - External pull-up, I came across one post talking about the MCU impedance, but my head started to develop it's own magic white smoke.
R1 - 1K, that seems to be the norm for current limiting.
R2 - I read that 10K is good for the BAT54S diodes to allow current drain.
R3 - External pull-up, I came across one post talking about the MCU impedance, but my head started to develop it's own magic white smoke.