JCA34F:
That type of relay module should be taken off the market, too easy for noobs to blow it up along with their Arduino.
Opto isolated relays should have SEPARATE terminals for coil power and logic, 2 terminals for coil + and -, 2 for signal common and input. And why bother making them active LOW when every noob in the universe expects HIGH to be ON?
Where did you find that schematic, Instructibles ?
Wouldn't be too much expense to put an extra 2 cent terminal and an Omron relay on what they have but they would have to jack the price up to $3.99 instead of $2.99 so they could say "our relay sells for less than $4.00".