Dimming A/C Lighting by Microcontroller
I think using a Triac and a Opto-coupler hooked up to your MCU GPIO or PWM output it is enough... check this circuit for reference...
I have used a similar circuit to control transformers instead lights to deliver DC current and works nice

Circuit example