This Devantech USB relay board provides 8 voltage-free contact latching relay outputs with a current rating of up to 16A each. Controlled and powered from any standard USB bus, no separate power supply is needed. Latching relays stay in their last position when power is removed.
A low power version of the USB-RLY16 module, the USB-RLY16L is powered solely from the USB bus and provides eight volt free contact relay outputs with a current rating of up to 16Amp each. The relays are SPCO (Single Pole Change Over) types and provide position 0, position 1 and common pins (latching relays and have no "normally open" or "normally closed" contacts) on the screw terminals labeled as 0, C and 1 accordingly. The relays will also retain their state in the absence of power.
Operating Temperature
-40C to +70C
Board Dimensions
LED indication
The USB-RLY16L provides a red LED mounted immediately next to each relay to indicate whether it is in a position 1 state (LED on) or position 0 state (LED off).
Relay power rating
If the relay is used at a voltage or current exceeding this specification, the life of the contacts may be significantly shortened.
- 16A Switching Capabilities
- Latching Relay
- Capacitor load up to 200uF (Min. inrush current at 500A/10μs)
- Min. inrush current Capacitor 170A(1A 1C)
- Environmental friendly product (RoHS compliant)
- Outline Dimensions: (29.0 x 13.0 x 15.7)mm
First Step - Install the Driver
The USB-RLY16L module uses the Microchip PIC18F14K50 to handle all the USB protocols. Before using the USB-RLY16L you will need to download the Devantech inf files and unzip them into a temporary folder. Connect the USB-RLY16L and windows will detect it and ask for the drivers. Point windows to the inf folder and it will install the driver. The USB-RLY16L will now appear as a com port.
Which COM port?
After installing the drivers, and plugging in the USB-RLY16L module to a spare USB port, you will want to know which COM port it has been assigned to. This will vary from system to system depending on how many COM ports you currently have installed. To find out where it is, right click on your "My Computer" desktop icon and select the "Device Manager" tab. Now scroll down and open the "Ports (COM & LPT)" tab. You should see the USB serial port listed - COM2 in the example below. If you want to change the COM port number - just right click on it, select properties, select advanced and select the COM port number from the available list. The COM port may be left at the default baud rate etc, because they are not actually used - there is a direct USB connection into the processor.
Commands
The USB-RLY16L operates with an easy to use command set as described in the table below. Most commands are only a single byte and if applicable the USB-RLY16L will automatically send its response. The only exception to this being the "Set relay states" command which requires an additional desired states byte to be sent immediately after the command byte.
Command | Action | |
dec | hex | |
90 | 5A | Get software version - returns 2 bytes, the first being the module ID which is 15, followed by the software version |
91 | 5B | Get relay states - sends a single byte back to the controller, bit high meaning the corresponding relay is in postition 1 |
92 | 5C | Set relay - the next single byte will set all relays states, All in position 1 + 255 (11111111) All in position 0 = 0 |
93 | 5D | Get DC imput voltage - returns the supply voltage as byte, this is fixed at 50 meaning 5.0V DC |
100 | 64 | All relays to position 1 |
101 | 65 | Relay 1 position 1 |
102 | 66 | Relay 2 position 1 |
103 | 67 | Relay 3 position 1 |
104 | 68 | Relay 4 position 1 |
105 | 69 | Relay 5 position 1 |
106 | 6A | Relay 6 position 1 |
107 | 6B | Relay 7 position 1 |
108 | 6C | Relay 8 position 1 |
110 | 6E | All relays to position 0 |
111 | 6F | Relay 1 position 0 |
112 | 70 | Relay 2 position 0 |
113 | 71 | Relay 3 position 0 |
114 | 72 | Relay 4 position 0 |
115 | 73 | Relay 5 position 0 |
116 | 74 | Relay 6 position 0 |
117 | 75 | Relay 7 position 0 |
118 | 76 | Relay 8 position 0 |
Characteristics | ||
Insulation Resistance | 1000MΩ (at500VDC)/td> | |
Dielectric Strength | Between coil and contacts | 4400VAC 1min |
Dielectric Strength | Between open contacts | 1000VAC 1min |
Creepage Distance | 8mm | |
Operate time (at nomi. volt.) | 15ms max. | |
Release time (at nomi. volt.) | 15ms max. | |
Shock Resistance | Functional | 98m/s² |
Shock Resistance | destructive | 980m/s² |
Vibration Resistance | 10Hz to 55Hz 1.5mm DA | |
Humidity | 5% to 85% RH, 40°C | |
Ambient Temperature | PCB | |
Termination | -40° C to 85°C | |
Unit weight | Approx. 13g | |
Construction | Plastic sealed, Flux proofed |