This is a simple schematic which can be assembled to control a lamp with a Sony TV remote control. Circuit uses a PWM signal connected to photocoupler which isolate the power part from microcontroller. Power part has very interesting solution on how halogen lamp is driven because works in DC and a Zero-crossing detection of the AC mains is not required. This solution it is not very efficient but it is less noisy as a triac one.
Ir PCB & power supply module and case of remote control lamp
For power supply I have used a Sony Ericsson mobile phone charger with 10 turns additionally coil in secundary winding. The teletext buttons are used for control: red for reduce light, green for turn on, yellow for increase light and blue for turn off the light.
Sony TV remote control
Source code for PIC16F628 is available for download.The receiver module used for this circuit works on a center frequency of 40kHz and it is produced by Rohm.