Figure below shows the wiring diagram of the AC Dimmer. If you intended to check the output waveform using an oscilloscope, you must not connect your oscilloscope probe’s ground lead to the dimmer output or nowhere on the mains.

Attention: Never connect your oscilloscope probe directly to the mains. The probe’s ground lead can build a closed loop with the mains terminal. It would blow up everything in the path, including your circuit, probe, oscilloscope, or even yourself!


To overcome this problem, you have 3 options. Using a differential probe, using a floating oscilloscope (the majority of the oscilloscopes are ground referenced), using a 220V-220V isolation transformer, or just simply use a cheap step-down transformer, such as 220V-6V or 220V-12V … etc. In the video and figure-11, I used the last method (step-down transformer) to check the output.

Figure below shows the complete AC dimmer unit. I’ve connected two boards using a 14-way flat wire. 


Figure below shows the zero-crossing points and the Triac’s ON/OFF time. As it is clear, both the rising/falling edge of a pulse was considered to not to face any flickering and instability.