Quick tutorial on handling an isolated input to a microcontroller, how to wire up a OPTO isolator and allow for anything from 3 to 24Volts to be detected as a sensor input but isolated from the microcontroller for protection.
No download links available.