This is my setup in progress for protecting the pins from overvoltage. i would be happy for corrections.
target is that the LED does not get more that 3.3v (representing an analog in of a esp32) , the current sensor represents a fuse that should snap on failture, the source represents a 10A/1V current sensor.