Properly decouple Arduino in and output with opto coupler from engine noise

Looks good.

Remember the cutoff frequency is a sine wave. A 1.2kHz square has higher frequency components. If you have an oscilloscope check the signal. You still want to have a nice rising edge.

Arduinos do not have automotive grade protection circuits. You should look into this. I have seen users describing their Arduinos fate when connected to their cars electrical systems without protection. Boom. :slight_smile: