Opto-isolated 12V output interfaced to 5V TTL

Job ID: 38161984

Budget: $30 – $250 USD

I need a circuit design for a simple interface for a 5V TTL input derived from a 12V opto-isolated output. It's intended for use in an industrial environment, so the design should be robust and reliable.

See the attached document for specific requirements.