We found this circuit in a 2005 Linear Technology application manual. The circuit makes use of a Darlington optocoupler, but one can have a direct output. The data obtained are inverted.

We found this circuit in a 2005 Linear Technology application manual. The circuit makes use of a Darlington optocoupler, but one can have a direct output. The data obtained are inverted.