ArduinoGeneral

Gravity: Formaldehyde (HCHO) Sensor: The serial data is wrong

userHead Account cancelled 2020-07-15 14:09:37 16168 Views4 Replies
I bought Gravity: Formaldehyde (HCHO) Sensor and succeeded to receive data from the sensor with Raspberry Pi 4.

However, the data is strange.

b'¥xff¥x17¥x04¥x00¥x00o¥x13¥x88¥xdb¥xff¥x17¥x04¥x00¥x00o¥x13¥x88¥xdb'
b'¥xff¥x17¥x04¥x00¥x00p¥x13¥x88¥xda¥xff¥x17¥x04¥x00¥x00q¥x13¥x88¥xd9'
b'¥xff¥x17¥x04¥x00¥x00r¥x13¥x88¥xd8¥xff¥x17¥x04¥x00¥x00r¥x13¥x88¥xd8'
b'¥xff¥x17¥x04¥x00¥x00s¥x13¥x88¥xd7¥xff¥x17¥x04¥x00¥x00s¥x13¥x88¥xd7'
b'¥xff¥x17¥x04¥x00¥x00r¥x13¥x88¥xd8¥xff¥x17¥x04¥x00¥x00r¥x13¥x88¥xd8'
b'¥xff¥x17¥x04¥x00¥x00q¥x13¥x88¥xd9'
b'¥xff¥x17¥x04¥x00¥x00q¥x13¥x88¥xd9¥xff¥x17¥x04¥x00¥x00p¥x13¥x88¥xda'
b'¥xff¥x17¥x04¥x00¥x00o¥x13¥x88¥xdb¥xff¥x17¥x04¥x00¥x00n¥x13¥x88¥xdc'

The fifth byte is like "x00o" , "x00p" , "x00s"

These are not byte data. Does anyone have idea what these data mean?
2020-08-09 14:41:29
akirajyunia wrote:
Wed Jul 15, 2020 6:09 am
I bought Gravity: Formaldehyde (HCHO) Sensor and succeeded to receive data from the sensor with Raspberry Pi 4.

However, the data is strange.

b'¥xff¥x17¥x04¥x00¥x00o¥x13¥x88¥xdb¥xff¥x17¥x04¥x00¥x00o¥x13¥x88¥xdb'
b'¥xff¥x17¥x04¥x00¥x00p¥x13¥x88¥xda¥xff¥x17¥x04¥x00¥x00q¥x13¥x88¥xd9'
b'¥xff¥x17¥x04¥x00¥x00r¥x13¥x88¥xd8¥xff¥x17¥x04¥x00¥x00r¥x13¥x88¥xd8'
b'¥xff¥x17¥x04¥x00¥x00s¥x13¥x88¥xd7¥xff¥x17¥x04¥x00¥x00s¥x13¥x88¥xd7'
b'¥xff¥x17¥x04¥x00¥x00r¥x13¥x88¥xd8¥xff¥x17¥x04¥x00¥x00r¥x13¥x88¥xd8'
b'¥xff¥x17¥x04¥x00¥x00q¥x13¥x88¥xd9'
b'¥xff¥x17¥x04¥x00¥x00q¥x13¥x88¥xd9¥xff¥x17¥x04¥x00¥x00p¥x13¥x88¥xda'
b'¥xff¥x17¥x04¥x00¥x00o¥x13¥x88¥xdb¥xff¥x17¥x04¥x00¥x00n¥x13¥x88¥xdc'

The fifth byte is like "x00o" , "x00p" , "x00s"

These are not byte data. Does anyone have idea what these data mean?
Has there been any fix created for this yet?
userHeadPic langamjosh
2020-08-08 17:40:31
309330066 wrote:
Mon Jul 20, 2020 2:08 am
Hi,

Except for the fifth parameter is abnormal, everything else is normal.It seems to be "fused" with the previous one.Do you have any arduino main control board or MyGroundBiz Account USB to UART device to test this module?If not, can you send me the code for testing with Raspberry Pi.
This is an Interesting Blog. Thanks for sharing.
userHeadPic order
2020-07-20 10:08:10 Hi,

Except for the fifth parameter is abnormal, everything else is normal.It seems to be "fused" with the previous one.Do you have any arduino main control board or USB to UART device to test this module?If not, can you send me the code for testing with Raspberry Pi.
userHeadPic 309330066