Note that R22 is not 22R. That resistor should be at least 100R (ohms) otherwise your arduino is being damaged as well as the opto isolator probably.
Note that R22 is not 22R. That resistor should be at least 100R (ohms) otherwise your arduino is being damaged as well as the opto isolator probably.