PDA

View Full Version : Code for sinking SSRs



FireGod
08-13-2007, 07:40 PM
Here is the code for SSRs that requires the controller to sink the current to turn on the triac. The controller pin is +5 DC to turn off the triac and 0 DC to turn the triac on.

With this type of SSR, the LEDs need to be installed in the correct direction (long LED lead in the round pad, short LED lead in the square pad).

Also the module address is selected by NOT INSTALLING a shunt on the desired address. Install shunts on the other three selections.

Edit: Revised 60Hz Hex file on Oct 9, 2007

FireGod
05-08-2009, 03:17 AM
Below are HEX files to "hard code" the field module addresses instead of relying on the module selector shunts.
Advantage:
No 10 second boot up time
No addressing glitches due to faulty SSRs

Disadvantage:
Each IC has a dedicated address, you can no longer just have a pile of ICs, you will need to label them with their address.

Same as above: the code for SSRs requires the controller to sink the current to turn on the triac. The controller pin is +5 DC to turn off the triac and 0 DC to turn the triac on.

With this type of SSR, the LEDs need to be installed in the correct direction (long LED lead to the SSR, short LED lead to the PIC).

Also DO NOT INSTALL shunts.