He is not showing ASCII charcaters (1-character = 8-bit) in Post-15; he is showing bytes (2 digits for 1-byte = 8-bit)
Indeed, but I am not convinced that every byte is represented by two hex digits. I suspect that leading zeroes are dropped.
It could be. Then we have to execute a new sketch to see the dropped-out leading zeros of the hex bytes. In that case, may we take the last consecutive 9-zero as the synchronizing pattern of a frame?
I don't know...the datasheet of the sensor does not give me enough information on how to interpret data in hex, unlike other sensors, this is the only one with the data sent as string. in theory "AAA861 in hex ===> 11184225 in decimal" it is the temperature, the first value that i should read from String1...
For example, this is my sensor datasheet:
While in the 2 following image, it is another sensor that i've used, which specify all:
1)
2)

This topic was automatically closed 180 days after the last reply. New replies are no longer allowed.