Data Sheet
Shenzhen Waytronic Electronics Co., Ltd. WT2003S-16S Chip
- 18 -
3.3. Control mode
3.3.1.Key control
Key
Corresponding
resistor
Function and operation
K1
0R
short press, play/pause
K2
1K
Short press, next audio
K3
2K
Short press, previous audio
K4
3.3K
Short press, volume up
K5
5.1K
Short press, volume down
K6
10K
Short press, stop playing
3.4. Serial port control
3.4.1.Protocol command format
WT2003S is built in standard UART asynchronous serial interface, which belongs to 3.3V TTL electric
level interface and can be converted to RS232 level through MAX3232 chip.
Communication data format: 1start bit, 8 data bits, no parity bit, and 1 stop bit. Using computer serial
debugging assistant needs to correctly set the serial port parameters, as shown in Figure:
Note: “Length” (number of bytes)= length (1 byte) +command code (several bytes) + parameter (several
bytes) + check sum (1 byte);
Cumulative sum check means the low byte of the cumulative summation of “length+ command code+
parameter”.
Start code
Length
Command code
Parameter
Cumulative sum check
End code
0X7E
See below
See below
See below
See below
0XEF