Relay Module Information

The Relay Module is a small (approx 43x17mm) module that can be used with our SWE4 or SWE6 modules to allow larger loads to be switched. Up to two of these modules can be connected to either an SWE4 or SWE6.

Using a Relay Module with an SWE4 up to v2.0: (shipped before June 2023)

The easiest way to connect to an SWE4 (up to v2.0) is with a female-male jumper lead which can be purchased as an option with your relay module or separately on the "Misc Components" page. Using the lead connect the three pins on the Relay Module as follows:

VCC on the module to +5V on the SWE4
GND on the module to GND on the SWE4
IN on the module to either A1 or B1 on the SWE4

Using OWFS (or other 1-Wire software that supports the DS2413 on the SWE4) you can then write either 1 or 0 to PIO.A or PIO.B on the SWE4 to turn the relay on or off respectively.

Using a Relay Module with an SWE4 from v2.1 onwards: (shipped from June 2023)

The v2.1 and onwards SWE4 modules include a pair of pin headers (labelled as J2 and J3) designed to make connecting relay modules more straightforward. You need a female-female jumper lead and the three pins on the relay module simply connect to the corresponding pins on the SWE4 (VCC to +5V, GND to GND and IN to A1 or B1).

Using OWFS (or other 1-Wire software that supports the DS2413 on the SWE4) you can then write either 1 or 0 to PIO.A or PIO.B on the SWE4 to turn the relay on or off respectively.

Using a Relay Module with an SWE6:

The easiest way to connect to an SWE6 is with a female-female jumper lead which can be purchased as an option with your relay module or separately on the "Misc Components" page. Using the lead connect the three pins on the Relay Module to either the OUT or PIO header pins on the SWE6 as follows:

VCC on the module to the middle pin on the SWE6
GND on the module to the outer pin on the SWE6 (furthest from the screw terminals)
IN on the module to the inner pin on the SWE6 (nearest to the screw terminals)

Click here for an image showing these connections (opens in a new pop up window). In that image the Relay Module is connected to the "OUT" pins and the orange wire is "VCC", the red wire is "GND" and the brown wire is "IN".

Using OWFS you can then turn the relay module on or off by writing 0 or 1 to either "910/out" or "910/pio" on the SWE6 module. If your relay module is connected to the PIO pin you will need to tell the SWE6 you wish to use it as an output first, to do this write the value 25 to "910/pioc".

Please note that with the SWE6 the logic is reversed to the SWE4, i.e. writing 0 will turn the relay on and writing 1 will turn the relay off.

Go to Relay Module Shop Page
Go to Documentation Overview Page
Quick Find
 
Use keywords to find the product you are looking for.
Advanced Search
0 items