The basic idea of the circuit is to replace the variable resistor that is connected to the knob of a dimmer with an optoisolater. The optoisolator is connected to an operational amplifier that interfaces with the stamp.
http://www.cs.cmu.edu/~RAS/Docs/space/dimmer.html
Lamp dimmers using traics can be quite simple, nothing more than a potentiometer, resistor, capacitor and triac with a built-in diac.The circuit below is similar to designs using unijunction transistors to generate the triggering pulse.
http://www.techlib.com/electronics/power_control.htm
A pulse width modulator (PWM) is a device that may be used as an efficient light dimmer or DC motor speed controller. The circuit described here is for a general purpose device that can control DC devices which draw up to a few amps of current. The circuit may be used in either 12 or 24 Volt systems with only a few minor wiring changes.
http://www.solorb.com/elect/solarcirc/pwm1/
The following circuit is a lamp dimmer circuit that is capable of controlling up to 1200 Watts. The circuit uses the Q4015LT combination Diac and Triac.
http://home.cogeco.ca/~rpaisley4/x1200WControl.html
This circuit is used to fade a pair of red LEDs. In this version, the lamps are faded by varying the duty cycle so that higher power incandescent lamps can be used without much power loss.
http://ourworld.compuserve.com/homepages/Bill_Bowden/page6.htm#eyes2.gif
It uses 0-10V control signal
http://www.vego.nl/3/6/3/3_6_3.htm
http://www.techlib.com/electronics/power_control.htm
http://www.neonshop.com/neonweb/nn/dimmer2.gif
http://www.call-n-deal.de/uwe/projekte/stagelightning/pp785/
change the brightness of lamp, with a only key of touch. This circuit is based on S566B IC from SIEMENS
http://users.otenet.gr/~athsam/touch_dimmer.htm