I have an application where a Teensy 4.1 pin is used as an input. The input is a dry input (no voltage) where the pin is pulled to ground.
However, I am concerned that someone would mistakenly apply a voltage to that pin (up to 24V DC) which would probably brick the board.
How can I protect that pin from accidental damage if a high voltage (> 3.3V and < 24V) is applied to it? I understated that a Zener diode may be used but have not found a circuit explaining connections and values.
Thanks in advance.
Code:
pinMode(loop1, INPUT_PULLUP);
However, I am concerned that someone would mistakenly apply a voltage to that pin (up to 24V DC) which would probably brick the board.
How can I protect that pin from accidental damage if a high voltage (> 3.3V and < 24V) is applied to it? I understated that a Zener diode may be used but have not found a circuit explaining connections and values.
Thanks in advance.