Want to control your room lighting using your computer? Then buy some triacs and opto couplers, build this gadget and plug it into your PC parallel port and voila!
The opto-triacs part number is TLP160G. The pull-down resistors (at the inverters input) are there to make sure the lights stays off when the interface is disconnected from the parallel port. You can add leds showing which outputs are active.
Article By Raphael Ass?nat at http://www.raphnet.net/electronique/triac_lights/triac_lights_en.php
Visit Here for more.