230V AC dimmer, mains isolated, using PIC12F629
This is a very simple mains isolated dimmer with a triac output (phase control). It uses timer0 to do the timing.
There is no user interface, the value of the triac ignition delay after a zero crossing is defined by setting the reload value of timer0 (Tmr0) in the software directly. This value can e.g. be derived from a user interface or sensor or some algorithm. In the example it is stepped trough a number of values sequentially.
230V AC dimmer, mains isolated, using PIC12F629 – [Link]