Basic Info.
Product Description
Qty: 1 PCS;
Descripion:
TTL232 interface, which is convenient to achieve USB to PC by USB to TTL232 serial to control relay, you can also use 8051 AVR Arduino MCU to control relay;
Power indicator: LED lights;
Output indication: Relay output with LED indicators, easy to see working status of the relay;
Communication protocol: UART protocol communication, baud rate 9600kpbs, 8 data bits, one stop bit, no parity. Each data frame contains eight bytes. Two-way data transmission.
Baud rate 9600kbps, 8 data bits, one stop bit, no parity. Each data frame contains eight bytes...
Control command format:
Bytes Number
1
2
3
4
5
6
7
8
Frame head
Reserved bytes
Command
Checksum
Reading status
0X5556
0X00000000
00
0xAB
Relay open
0X5556
0X00000000
01
0xAC
Relay close
0X5556
0X00000000
02
0xAD
Relay toggle
0X5556
0X00000000
03
0xAE
Relay momentary
0X5556
0X00000000
04
0xAF
5 Control commands:
1. Reading status(reading the satus of the relay (on/off))
0X55 0X56 0X00 0X00 0X00 0X00 0X00 0xAB
2. Relay open (issue this command, Relay open, COM connect to NO )
0X55 0X56 0X00 0X00 0X00 0X00 0X01 0xAC
3. Relay close (issue this command, Relay close, COM disconnect NO, and COM connect to NC )
0X55 0X56 0X00 0X00 0X00 0X00 0X02 0xAD
4. Relay toggle(Relay status reversal, if COM connect to NO, this commands will Disconnect COM to NO and Reverse COM connect to NC, and vice versa)
0X55 0X56 0X00 0X00 0X00 0X00 0X03 0xAE
5. Relay momentary(Relay COM connect to NO, disconnect after 200MS )
0X55 0X56 0X00 0X00 0X00 0X00 0X04 0xAF
Once issue a command, will have a return fame, 7th byte of return fame mean the satus of realy.
Return command format:
Bytes Number
1
2
3
4
5
6
7
8
Frame head
Reserved bytes
Command
Checksum
Return relay open
0X333C
0X00000000
01
0X70
Return relay close
0X333C
0X00000000
02
0X71
2 return command
1\Return relay open(return this command, mean COM connect to NO )
0X33 0X3C 0X00 0X00 0X00 0X00 0X01 0X70
2\Return relay close(return this command, mean COM disconnect NO, and COM connect to NC )
0X33 0X3C 0X00 0X00 0X00 0X00 0X02 0X71
Address:
Unit1101-1103, China Resourcing Building, No. 5001 Shen Nan Eastern Road, Luo Hu District, Shenzhen
Business Type:
Manufacturer/Factory
Business Range:
Electrical & Electronics
Company Introduction:
A self-start company that specialized in & product, we provide cheap and good quality Electrical & Electronics products, if you want to buy those products, you are welcome to contact me.