Require XOD Node for Arduino MKR1010
Serial/Uart communication
Outputs
(number/distance)
Extra info:
Byte1-0x59, frame header, all frames are the same
Byte2-0x59, frame header, all frames are the same
Byte3 Dist_L distance value is a low 8-bit.
Byte4 Dist_H distance value is a high 8-bit.
Byte5 Strength_L is a low 8-bit.
Byte6 Strength_H is a high 8-bit.
Byte7 Integration time.
Byte8 Reserved bytes.
Byte9 Checksum parity.
no libries are required. i got the lidar working off the Arduino IDE with this simple code (see below) found on the WikiSeedStudio.
serial software lib. or other sample programs for the tfmini did not work did not work… with MKR1010.