Why an opto?
And a schematic might help.
Because you say:
dagoston93:
And if i upload a code to the arduino and the IO pin goes low
a) Why would the output go low when you upload?
b) So a low will turn on the relay?
Why an opto?
And a schematic might help.
Because you say:
dagoston93:
And if i upload a code to the arduino and the IO pin goes low
a) Why would the output go low when you upload?
b) So a low will turn on the relay?