The problem is that it's burning the resistors on the 220v side of the optocoupler when I increase the load to 80W but that's working as expected since the resistors I'm using are rated at 1W.
Taking the context that I want to switch on/off a light bulb of ~80W, my questions are:
Are those resistors (R19, R20, R21) really needed there ?Yes they are, BT139 datasheet clearly states that.
R22 and C13 are also needed ?Acts as a Snubber - Wikipedia, so it's required.
Yes I read it.. otherwise how would I figure out the pinout ?
For instance the 360R resistor: v=220 r=360 so wattage should be ~135w.. 2x thats 270w.
Looking at Farnell and Digikey the max wattage I see for a 360R resistance is 6W (Farmell) and 10W (Digikey)..
And I know how dangerous it is, don't worry with that part.
OK, so 1W resistance should handle it, 2W should be ideal.
The gate is connected to pin 4 of the MOC, so R20 should be 1W/2W.. how about R19 ? That one is connected to T2.
You're right, the brunt resistor was the one directly connected to T1 thus having 220V passing trough it.
A five minute test with an 80W load turns out OK, more testing needed tough.
Another lesson learnt, ALWAYS trust the datasheet's examples.