Serial 6-Axis Accelerometer Data Frame
![userHead](https://dfimg.dfrobot.com/nobody/makelog/d2e1ab68a120dd208e8473a94ab9401a_150x150.png)
Sorry, I am a new member in this forum. I have Serial 6-Axis Accelerometer from DFRobot. I try to connect with Arduino UNO and I use example code to read the sensor output (provided by dfrobot in github). Since, the sensor uses RX-TX as the outputs, I curious about the data frame that transmitted from the sensor. Finally, I connect the sensor with USB-TTL to my PC. Then, I get the data frame like this.
55 51 16 00 3D FF FA 07 CF 0A D2
55 52 00 00 00 00 00 00 CF 0A 80
55 53 1B FC 95 FF FF F9 45 38 C8
55 54 00 00 00 00 00 00 CF 0A 82
This data frame is repeated as long as the sensor connected to my PC. But, there is something that I do not understand. The header number 54 and the 2-bytes before the checksum byte.
xx xx xx xx xx xx xx xx CF 0A xx
xx xx xx xx xx xx xx xx CF 0A xx
xx xx xx xx xx xx xx xx 45 38 xx
xx 54 xx xx xx xx xx xx CF 0A xx
What are these used for?
After checking the source code released on the GitHub:
https://github.com/DFRobotdl/DFRobot_WT61PC
The second data means the meaning of the current frame data content.
I noticed that the file is in the name of WT61PC, so I Google this name. Then I found a datasheet written in Chinese.
And 0x54 I think DFRobot engineer didn't write out the sample code, it's the Magnetic Filed output.
The data displayed on this sensor is 0, which means that the data format is not open yet.
As for the last two byte, due to the different headers, the meaning of these two bytes will also be different. Under 0x54, these two bytes mean the temperature.
![userHeadPic](https://dfimg.dfrobot.com/dfPortrait2.png)
Alright, thanks for replying. You solve my problem.
Sorry, I am a new member in this forum. I have Serial 6-Axis Accelerometer from DFRobot. I try to connect with Arduino UNO and I use example code to read the sensor output (provided by dfrobot in github). Since, the sensor uses RX-TX as the outputs, I curious about the data frame that transmitted from the sensor. Finally, I connect the sensor with USB-TTL to my PC. Then, I get the data frame like this.
55 51 16 00 3D FF FA 07 CF 0A D255 52 00 00 00 00 00 00 CF 0A 80 55 53 1B FC 95 FF FF F9 45 38 C8 55 54 00 00 00 00 00 00 CF 0A 82
This data frame is repeated as long as the sensor connected to my PC. But, there is something that I do not understand. The header number 54 and the 2-bytes before the checksum byte (please see bold the character below).
55 51 16 00 3D FF FA 07 CF 0A D255 52 00 00 00 00 00 00 CF 0A 80 55 53 1B FC 95 FF FF F9 45 38 C8 55 54 00 00 00 00 00 00 CF 0A 82
What are these used for?
![userHeadPic](https://dfimg.dfrobot.com/nobody/makelog/d2e1ab68a120dd208e8473a94ab9401a_50x50.png)