USB 5V 10A Relay Module
Switch protocol:
(1) --- start identification (the default is 0xA0)
(2) --- switch address code (default is 0x01, identifying the first channel switch)
(3) --- Operating Data (0x00 to "Off", 0x01 "On")
(4) --- Checksum
Example:
Open USB switch: A0 01 01 A2
Close USB switch: A0 01 00 A1
Operation:
Step1: the USB relay module into the computer, install CH340 USB to serial chip driver
Step 2: Open the STC-ISP, SSCOM32 serial debugging software, select the baud rate of 9600, in hexadecimal (hex) form to send A0 01 01 A2 to open the relay; hex (hex) form Send A0 01 00 A1 to turn off the relay, you can choose to send manually or automatically. The following: SSCOM332 serial debugging software for example:
Send manually
Select the baud rate 9600, check the "HEX send", enter the command A0 01 01 A2 or A0 01 00 A1, point "send", you can turn on or off the relay
Send manually
Select the baud rate 9600, click on the SSCOM32 interface in the "expansion", enter the command a0 01 01 A2 and A0 01 00 A1, check the "HEX send", enter the automatic cycle to send the interval, check the "automatic loop" The relay can be automatically turned on and off
Don't delay. Buy today.