Step 1 : Overview
This How-To describes how to build a simple PIC16F688-based dimmer. It is controlled through the PC's serial port, and they can be cascaded up to about 100 channels. This project/design is named 'renard'.
Various disclaimers:
1) The design is currently at alpha-test status, and so everything here should be taken with a grain of salt. If you are in a position to check things out and would like a copy of the program to be placed in Flash inside the PIC16F688, send me an email at justswitch @ yahoo.com.
2) As with most of the designs on this site, this one is intended for temporary, seasonal use.
3) You should be familiar with with electricity, electrical construction techniques and electrical safety before attempting these projects.
4) This How-To also assumes familiarity with electronic design techniques, and omits a lot of background material about constructing electronic devices. You may advised to take a look at relevant books in your local library or bookstore before starting in.
NOTE (Sept 8, 2006). Significant changes were made today to allow higher channel counts in the future. An ad-hoc discrete serial interface circuit was replaced by the MAX232, and a crystal oscillator was added. Both changes are needed in order for the baud rate to be increased from 19200 to 115200 in the future (the firmware doesn't actually use the oscillator at the moment).
There are a number of possible design variations that can be made, although they do need some electronic and/or programming knowledge. Some ideas for changes include replacing the H11AA1 zero-crossing circuit (see below) with a transformer and transistor circuit, changing to a PIC with a larger pincount for use with a crystal and/or diagnostic LEDs, and replacing the RS232 interface with a RS485 interface.