Protocol to the USB TPMS receiver
In order to facilitate the communication between the device and PC, Roberto Montenari has developed a simple communication protocol.
Basically the device waits for a request from the PC (1 byte) and returns the information required (4 byte).
The following table shows the protocol details:
00H (0) Abort any pairing request (see below) --> Returns: Nothing
01H (1) Sensor 1 pairing request --> Returns: Nothing
02H (2) Sensor 2 pairing request --> Returns: Nothing
03H (3) Sensor 3 pairing request --> Returns: Nothing
04H (4) Sensor 4 pairing request --> Returns: Nothing
05H (5) Sensor 5 pairing request --> Returns: Nothing
10H (16) State of a pairing request --> Returns: X,0H,0H,0H
Where X is the number of the sensor to be paired, or 0 if the pairing has been completed.
21H (33) Sensor 1 data request --> Returns: P,T,B,S
22H (34) Sensor 2 data request --> Returns: P,T,B,S
23H (35) Sensor 3 data request --> Returns: P,T,B,S
24H (36) Sensor 4 data request --> Returns: P,T,B,S
25H (37) Sensor 5 data request --> Returns: P,T,B,S
Where:
P is the pressure in kPa obtained by multiplying the unsigned binary value of this byte by 2.5 and subtracting 100 (the atmospheric pressure) from the result.
T is the temperature in °C obtained by subtracting 40 from this unsigned binary value.
B is the battery condition, FFH (255) indicate the 100% of charge.
S is the operating state of the sensor, 01H if a temperature change has happened or 02H for a pressure change.
The following section is taken from Roberto Montenari’s description