In this application, from English documentation, we have the way to activate an AC load up to 10 W (100 mA) using an optodiac without the need for additional components. Excitation can be done via a CMOS port as indicated or directly via the output of a microcontroller. R1 will have 220 ohms to 330 ohms for 3.3 V or 5 V outputs.