Dear Arduino community;
How do I add reverse voltage protection to the analog input pin? There are loads of tutorials on the interwebs for batteries and digital input pins where a small voltage drop does not really matter, but if you want to measure voltage, this could be issue.
A little more detail: I want to hook up a laser triangulation sensor (Keyence LK-G 32) to the Uno. It is possible to scale the measurement nicely to 0-5 Volt, or however I wish---which is great. However, the sensor outputs -10 V, if the measurement is out of range, supposedly this is for diagnostics purposes. This situation is likely to occur, and unfortunately I can't turn this stupid "feature" off. This could fry the UNO.
Thank you for your attention.