Thank you. How exactly does the CTR of the optocoupler affect the output? Also, is the R1 the led limiting resistor? In the previous message you calculated R3 to be 10K, however I am required to use a 1k resistor after the signal. Should I just add a 9k resistor after? Thank you.It won't stay at 100%. Better designs will design for a lower CTR so that the degradation will take longer to impact the circuit.
As the other member said, an optocoupler isn't required. All you need is an inverter and a transistor to drive the LED high side.
If you're able to drive the LED low side, you don't need the inverter and can use either an NPN transistor or N channel MOSFET.


