I need to sense a logic low on the GPIO. The input will come from external resources (By end user) so I need to protect the circuit as well from high positive voltage. Generally the circuit will be used in places where I don't expect a voltage of more than 30 Volt. So from external input, it can be a ground (If user does it correct) or a max of 30 volt, in case user does a wrong wiring. Is this circuit going to be good enough?
Please suggest if there is any mistake and if this can be simplified.