Renard-595 Converter

From doityourselfchristmas.com
Revision as of 05:54, 7 July 2007 by Wjohn (talk | contribs) (→‎BOM)
Jump to navigation Jump to search

Introduction


Mockup of the REN-C


The Renard-595 Converter (aka REN-C) is a proposed board that will allow a 64-Channel Olsen 595 Controller to be controlled through the serial port on a PC, and to be dimmed (this PCB would also work with the 64-Channel Grinch controller). This board is currently under development, and there is no guarantee that this development will be completed.

The existing 595 controllers (including the Grinch design) are designed to turn display lights on and off under computer control. They are be connected to a PC parallel port, with the possibility of daisy-chaining multiple controllers together. This allows up to around 1024 channels (circuits) to be controlled through one parallel port. There is a design that allows eight of these channels to be bundled together to form one dimmer control circuit, but this is relatively expensive and fairly rare. The most common versions of this controller provides simple on-off control, without any dimming capability.

The Renard-595 converter is designed for exclusive use with the 64-channel 595-style controller. The Converter has one serial input link (RS232 or RS485) that receives light control packets from the PC, one serial output link for sending data to another daisy-chained converter, and one port for connecting to a single 595-style controller. The 64 channels on this controller (previously on-off only) can now be dimmed, provided that the SSRs on this 595-controller have the capacity to be dimmed over 192 brightness levels. This setup (converter plus 64-channel 595-style controller plus 64 SSRs) now provides 64 dimmable channels.

The total number of channels (circuits) that can be provisioned on each PC port (serial port or USB-serial adapter port) depends on the baud rate and on the desired update rate. A typical number would be 288 channels, based on a 57600 baud rate and a 100 ms update period (576 channels if a protocol change is made or if certain dimmer levels are avoided). These controllers can be used by themselves, or freely intermixed with Renard controllers on the same serial port, as long as the baudrate is the same on all of the controllers. Here are two possible setups, one simple and one complex:

PC (serial port 1) -> Converter --> 64-channel 595 controller (dimmable)
PC (parallel port 1) --> 595 controller (non-dimmable) --> 595 controller (non-dimmable)
   (parallel port 2) --> 595 controller (non-dimmable)
   (USB port 1) --> (USB->serial adapter) -> Renard8
                                                 |
                                                 V
                                             Converter --> 64-channel 595 controller (dimmable)
                                                 |
                                                 V
                                             Renard64 (64 dimmable channels)
                                                 |
                                                 V
                                             Converter --> 64-channel 595 controller (dimmable)

The configuration can be as simple as just one Converter and one 595 controller. The allowable setups also depend on the capabilities of the software in the controlling computer (PC). The above example will work with vixen, taking advantage of its capability to drive multiple I/O ports on the PC.

Technical and Build Information

Schematic

Circuit Diagram 2.0.1

Connectors

The two RJ45 connectors on the right side of the schematic are used to connect to the 595 board, providing power to the Ren-C board as well as connecting various signals on the boards. JP1 is the output connector, and must always be present. JP2 is used to bring the output of the shift-register on the 595 board back to the controller to enable PWM operation (the cable can be omitted if PWM operation is not needed). Some of the signals on this board are fairly high-speed (2.5 MHz), and so the cables between the Ren-C board and the 595 controller should be a short as possible, on the order of 6" or so.

The RJ45 connectors on the left side of the board are used to bring RS232/RS485 input signals from the up-stream board (JP4) and connect the output signals to downstream boards (JP5). In addition, the zero-crossing signal can be brought into the board through pins 7/8 of JP4 (if Q1 and R9 are installed).

JP6 is a 6-pin connector that can be used to program the PIC in-circuit with either a PicKit2 Programmer or the bare programmer from PicKit1 (PG164101).

JP3 provides an alternate method for bring the zero-crossing signal into the board, as well as an alternate method of providing 5V DC power to the boards (Ren-C plus 595/Grinch).

BOM

The items here are all very preliminary. In some cases parts that were purchased for previous projects, so there may be better alternatives that haven't been considered. Also, the Reference Designators may change before the board goes to fab.

Qty    Mouser P/N          Ref. Des.                   Description and comments
 1    815-AB-20-B2        Y1                20.000 MHz Crystal, HC49U case
 2    581-SA102A220JAR    C1,C2             22 pf, 200V NPO Axial Ceramic Capacitors (subject to change)
 2    581-SA105E104MAR    C3,C5             .1 uF, 50V, Z5U Axial Ceramic Capacitors (to be verified)
 1    140-XRL10V10-RC     C4                10 uF, 10V, Radial Aluminum Electrolytic Cap
 5    604-WP7104GT        D3-D7             Green Transparent LED (T1)
 1    595-SN65LBC179P     U1                RS485 Receiver/Transmitter (DIP8)
 1    511-M74HC02         U2                Quad 2-Input NOR Gate (DIP14) (maybe replaced with CD4001???)
 1    579-PIC16F627A-I/P  U3                PIC (to be programmed by user)
 2    271-1K-RC           R4,R5             Resistor, 1K, 1/4W
 2    271-10K-RC          R8,R9             Resistor, 10K, 1/4W
 3    271-27K-RC          R2,R6,R7          Resistor, 27K, 1/4W
 1    271-120-RC          R3                Resistor, 120, 1/4W (maybe needs to change to 1% tolerance)                    
 1    652-4610X-2LF-470   RP                Resistor Network, 470, 10-Pin SIP, Isolated Resistors       
 1    78-1N5229B          D1                Diode, Zener, 4.3V, 0.5W
 1    78-1N5239B          D2                Diode, Zener, 9.1V, 0.5W
 4    571-5520251-4       JP1,JP2,JP4,JP5   Modular Jack, Right-Angle, 8-8  
 1    512-2N3904TA        Q1                Transistor, NPN, small signal

Optional
Qty
 1    575-199318          U3                18 Pin DIL socket
 1    575-199314          U2                14 Pin DIL socket
 1    575-199308          U1                08 Pin DIL Socket

There is no part number given for JP3 and JP6 because they are often built by cutting sections of a break-away connector, such as 571-41032390 (JP3 is used as an alternate method of supplying the zero-crossing signal and power to the board, JP6 is for use with some of the PicKit Programmers). In addition, R1 does not need to be installed unless pin 3 of JP3 is to be used as an alternate source of zero-crossing.