Electronic – arduino – how to safely use triac

arduinopower

I ran into a problem lately, with using triac and because I don't have any engineering school just yet, I could make a mistake… and bad circuits with mains electricity? meh bad idea…

so, I have seen few circuits on Internet like this – that's what I found

I would use some kind of optocoupler triac driver… MOC30XX family – but what exact type? Since I want to use it on 240AC I guess the resistors need to be selected precisely… but how?

and about "if it is an inductive load" it is… but I have no idea how to measure "how much inductive it is"

I thank you for any answer or if you just redirect me somewhere I can find answer.

Best Answer

Correct use of triacs is not an easy task and requires some clarification. If you do not have electronics experience, it will be much safer for you to use a relay. It's simple to implement.