PIC Based Auto Dimmer

The operation of the dimmer is based on phase control; during a full cycle of an AC waveform, a thyristor will only allow a part of the waveform to be delivered to the load. Take a look at the following waveforms: The only difference is that the waveform on the left will bright the lamp higher than the waveform on the right. That is because, on the left waveform, the triac will be conductive earlier than the triac shown in the right waveform. The time that the triac becomes conductive is symbolized with the Greek letter α (ALPHA) , called firing angle, so controlling this angle you can control the phase voltage, and is measured in angles from the zero point of the waveform. This zero point is the point that the voltage is 0 volts, and this happens 2 times every one full period of the wave form. When the α becomes smaller, then the dimmer becomes conductive sooner and the lamp is brighter. When the α becomes bigger, then the triac delays more to become conductive and thus th...