A phase-cut AC dimmer that smoothly controls a mains lamp using zero-cross detection and an opto-isolated TRIAC.
Overview
The AC dimmer is one of those circuits where everything looks small on paper but the moment you plug it into the wall it demands a lot of respect. I built mine to actually understand zero-crossing, firing angles and TRIAC drive properly, instead of just memorising them for an exam.
Specifications
RoleCircuit designer and prototype builder
MicrocontrollerArduino-class controller
SensorsZero-cross detector
ModulesTRIACOptotriac driverPotentiometer / control input