4N33 needs 10mA to turn on the output well.
So arduino output to Anode, cathode to resistor to ground would suffice.
Resistor = (5V - 1.2Vf)/.01A = 380 ohm, Vf typical is 1.2V from datasheet.
4N33 needs 10mA to turn on the output well.
So arduino output to Anode, cathode to resistor to ground would suffice.
Resistor = (5V - 1.2Vf)/.01A = 380 ohm, Vf typical is 1.2V from datasheet.