I'm new to the world of electronics and I have a quite simple question.
Can I control my light bulb with something like this schema?
Power source is regular AC 230V (~320Vrms) source.
Here is The MOC3052 data sheet.
I want to control this using Arduino but is the underlying principle OK or not?
EDIT:
Modification with respect to Spehro's comments:
But now I do not know how to connect the TRIAC :)
EDIT:
Would this circuit be OK?
Now the optocoupler is switching the triac.