Arduino / Relay interface???

Youcan't drive the opto like that - that will blow the arduino pin. When you are not driving it low, it will float to 12V and damage the pin.