SDG Electronics

SDG #055 Testing AC Dimmer Modules - Lighting Controller Project - Part 1

This is the opening instalment of a mains lighting controller build, and it starts where it should: with the theory behind phase-angle dimming and a hard look at the low-cost TRIAC dimmer modules that flood the hobbyist market. These boards typically pair an opto-isolated zero-cross detector with an optotriac driving a TRIAC, giving a microcontroller two jobs: spot the mains zero crossing, then delay the gate pulse by a calculated fraction of the half cycle. Understanding that timing relationship is what separates a dimmer that behaves predictably from one that flickers, buzzes or hums at low brightness.

The practical value here is in the caveats. Phase control chops the AC waveform, so the load matters enormously: incandescent and mains halogen lamps behave well, while many LED retrofit lamps and switch-mode drivers were never designed to be fed a truncated sine wave and will strobe or refuse to dim smoothly. Current rating on these modules is also usually optimistic, with small TRIACs and minimal heatsinking, so derating is sensible if the intended load is more than a lamp or two. Mains isolation, creepage and clearance on the PCB, and how the low-voltage control side is separated from the live side all deserve inspection before a module goes anywhere near a project enclosure.

For anyone planning a similar controller, the takeaway is that the module itself is the cheap part. Firmware timing accuracy, load compatibility and proper mains safety practice determine whether the finished dimmer is usable. A useful groundwork video before the hardware build in later parts.