Hello,
I want to create some solid state relays controlled by ESP32. The loads will be up to 15A (110v). So the live wire would enter in AC IN #1 and exit from AC IN #2 to be switched.
1. Do I need more resistors on the AC side? How can I know the resistance needed between the fuse and the optocoupler? I wrote 150 but I can be totally wrong. And do I need a 1/2W, 1W or more?
2. The capacitor on the DC side is needed?
3. I think I should add a snubber circuit because it would be used with different loads?
Thank you very much!

I want to create some solid state relays controlled by ESP32. The loads will be up to 15A (110v). So the live wire would enter in AC IN #1 and exit from AC IN #2 to be switched.
1. Do I need more resistors on the AC side? How can I know the resistance needed between the fuse and the optocoupler? I wrote 150 but I can be totally wrong. And do I need a 1/2W, 1W or more?
2. The capacitor on the DC side is needed?
3. I think I should add a snubber circuit because it would be used with different loads?
Thank you very much!
