499

This circuit has the following features: it works with the main frequencies of 50 or 60 Herz, it works with the main voltages of 117 or 220 VAC, it is connected in series...

This circuit has the following features:
  1. It works with main frequencies of 50 or 60 Hertz.
  2. It works with main voltages of 117 or 220 VAC.
  3. It is connected in series with the load and can replace any conventional switch without any modifications.
  4. It works with only one switch.
  5. It can control the brightness level of any heat element, incandescent or alogen lamp.
  6. It has the  ability to learn up to four  control codes of a common infrared control.  
Circuit description
--> look for the file description.zip in others files
 
I updated the sofware: now it has the capacity to store 8 codes!
I want to thank Ton for his help to modify the circuit to operate with 230 VAC as well as by his valuable time and effort that help me  to detect some bugs in the code.