116
edits
Changes
Documented the sensor tests made
The following python script then does all the work easily. A test output can be '''1.26m 25.1°'''.
Note: Big ENDIAN is used (see datasheet). The byte sequence is as follows:
# header (1 byte)
# unsigned short distance (2 bytes)
# signed short temperature (2 bytes)
# checksum (2 bytes)
</syntaxhighlight>
== Test Results ==
On August 3rd the tests were all successful, everything went smoothly, no problems encountered, using the 12V Vcc from the voltage distribution board.
It works fine from 50cm on. No long distance test made (maximum 1.50m). Looping on the command line with sleep 0.3 works fine.
= Requirements for the Arduino Slave =
* Checksum checking
* Stable state machine implementation with timeouts and failure mode
* Full sensor frequency usage (~ 10Hz)
= Datasheet =