As someone who actually did this, before knowing better
You are not allowed to view links.
Register or
Loginand somehow even got on hackaday for it.
Let me advise against this and here is why.
Mainly, a Basic Stamp isn't fast enough to read the zero cross of the AC voltage.
You must read the zero cross so you can turn off the voltage at the right time in the AC cycle to achieve dimming.
To do dimming you must use a Triac.
Of course that assumes you want dimming, or you can just use cheap relays like I did.... I burned them out in a week.
The year after I used the Parallax SX and was actualy able to do dimming, and the boards work fairly well, and actually I am still running them today, 4 years later. But they are dependent on USB to serial, which is a drag. Would much rather have everything be pixelnet.
Long term, the solutions have already been done, and there is fairly standard equipment.
If you want to do it for fun and learning, then by all means go for it. Don't think it will save time or money though.
My site is You are not allowed to view links.
Register or
Login if you want to see more pictures of my journey.