User Manual
User Manual
04 Aug 2017
User Manual
Date: 04 Aug 2017
-1-
USB 16 Relay Board Virtual Com Port Controlled - User Manual
04 Aug 2017
Content
1. Specification ..................................................................................................... 3
2. Applications examples ..................................................................................... 3
3. Relay module overview .................................................................................... 4
4. USB port ........................................................................................................... 5
5. Relay contacts .................................................................................................. 6
6. Power connector .............................................................................................. 7
7. Drivers Installation ........................................................................................... 8
8. Protocol ............................................................................................................ 9
9. Software.......................................................................................................... 12
10. Appendix 1. Connections ............................................................................. 13
11. Appendix 2. PCB dimensions ...................................................................... 14
-2-
USB 16 Relay Board Virtual Com Port Controlled - User Manual
04 Aug 2017
1. Specification
16 x SPDT relays - 10A / 250VAC, 15A / 120VAC, 10A / 28VDC;
USB connector - type B
Power supply requirements, selectable during purchase:
o 12V DC / 600mA
o 24V DC / 400mA
Converter chipset: FT232RL
FT232RL optical isolation against communication noises
Communication: serial USB communication (Virtual Com Port)
Led-s: Relay Led, Power ON Led, USB ON Led, Rx Led, Tx Led
Operating temperature range: from -30ºC to +80ºC
PCB parameters : FR4 / 1.5mm / two layers / metalized holes / HAL / white
stamp / solder mask / Extra PCB openings for better voltage isolation /
Doubled PCB tracks for better voltage isolation
Dimensions: W=82mm x L=203mm x H=24mm
SKU:
o DAE-CB/Ro16-12V-USB-PCB for 12VDC PCB version
o DAE-CB/Ro16-24V-USB-PCB for 24VDC PCB version
o DAE-CB/Ro16-12V-USB-BOX for 12VDC BOX version
o DAE-CB/Ro16-24V-USB-BOX for 24VDC BOX version
2. Applications examples
Home automation
Industrial automation
Control electrical devices
-3-
USB 16 Relay Board Virtual Com Port Controlled - User Manual
04 Aug 2017
-4-
USB 16 Relay Board Virtual Com Port Controlled - User Manual
04 Aug 2017
4. USB port
The type of this USB port is shown on the image bellow. You can find suitable USB
cables in our stock as well - http://denkovi.com/category/24/usb-cables.html
-5-
USB 16 Relay Board Virtual Com Port Controlled - User Manual
04 Aug 2017
5. Relay contacts
Relays 1 - 4 and 13 - 16
Relays 5 - 8 and 9 - 12
-6-
USB 16 Relay Board Virtual Com Port Controlled - User Manual
04 Aug 2017
6. Power connector
The power supply connector is shown on the image bellow. The supply voltage is
12 VDC or 24VDC depending on the relay type selected during purchase:
Option JQC-3FC/T73 relays - supply voltage 12VDC
Option RAS-12-15 relays - supply voltage 12VDC
Option RAS-24-15 relays - supply voltage 24VDC
-7-
USB 16 Relay Board Virtual Com Port Controlled - User Manual
04 Aug 2017
7. Drivers Installation
1. Be sure you have FTDI VCP drivers installed. In order to use the device, you
have to install them first. If you don't have them installed, please go to FTDI
official web page - http://www.ftdichip.com/Drivers/VCP.htm and download
and install them.
2. Connect the USB relay board to your computer and see if it appears as virtual
com port. If everything is ok with the drivers, you should see the some of the
images bellow:
2.1. Windows (picture is from 7 x64)
-8-
USB 16 Relay Board Virtual Com Port Controlled - User Manual
04 Aug 2017
8. Protocol
Expected answer
The answer is 2 bytes. If the bit is 0, relay is OFF, if the bit is 1 relay is ON.
Byte1.Bit7 represents relay 1
Byte1.Bit0 represents relay 8
Byte2.Bit7 represents relay 9
Byte2.Bit0 represents relay 16
Example:
answer 1: 00 -> relays from 1 to 16 are OFF.
answer 2: 255(dec) 255(dec) -> relays from 1 to 16 are ON.
answer 3: 81(dec) 81(dec) -> Relays 1,8,9,16 - ON, the rest are OFF.
Please note that data received from this command is not always in printable ASCII
format!
Address1 and Address2 represent the relay number - from '0' '1' up to '1' '6'
(for 16 relays)
Sign is '+' for relay ON and '-' for relay OFF.
-9-
USB 16 Relay Board Virtual Com Port Controlled - User Manual
04 Aug 2017
Command format
Byte 1 Byte 2 Byte 3 Byte 4 Byte 5
Address1 Address2 Sign '/' '/'
Expected answer - if the command is successful, the answer is exactly the same
like the command.
Example:
"01-//" - Relay 1 is switched OFF
"12+//" - Relay 12 is switched ON
Expected answer - if the command is successful, the answer is exactly the same
like the command i.e. "on//".
Example:
"on//" - all relays ON
Expected answer - if the command is successful, the answer is exactly the same
like the command i.e. "off//".
Example:
"off//" - all relays OFF
-10-
USB 16 Relay Board Virtual Com Port Controlled - User Manual
04 Aug 2017
Expected answer - if the command is successful, the answer is exactly the same
like the command sent.
Example:
Please note that State1 and State2 are not always printable ASCII chars. These
bytes are binary representation of the relays.
-11-
USB 16 Relay Board Virtual Com Port Controlled - User Manual
04 Aug 2017
9. Software
-12-
USB 16 Relay Board Virtual Com Port Controlled - User Manual
04 Aug 2017
-13-
USB 16 Relay Board Virtual Com Port Controlled - User Manual
04 Aug 2017
-14-