AC dimmer explained| Design your own dimmer PCB for Arduino| Phase angle control using TRIAC