fix used optocoupler
add spec for optocoupler