SainSmart 8-CH USB HID Programmable Control Relay Module
SainSmart is well known and provides high quality electronics. Also, we offer detailed manual and instruction for you with patient customer service.
 
Here are some programmable codes for control command :
1. Connect the lower computer to PC, HID will be
USB_VID 0x0416
USB_PID 0x5020
HID_CMD_SIGNATURE 0x43444948
2. Open device connection, the Host computer read lower computer IO state (This state is 16BIT, each byte stands for one state, the lowest is number 1, IO )
3. The control command of the host computer:
Open the first relay IOïš0X0001, Close the first relay IOïš0X0000
Open the second relay IOïš0X0002, Close the second relay IOïš0X0000
Open the third relay IOïš0X0004, Close the third relay IOïš0X0000
Open the first three relays simultaneously:. 0x0007
Close the second one, open the first and third one: 0x0005
Each bit stands for IO state, 1 for open, 0 for close!
Manual link: https://s3-ap-northeast-1.amazonaws.com/sain-amzn/20/20-018-960+/HID-relay.zip