Data Sheet

I2C commands for tinyLiDAR
D Read Distance 0x44
Read distance in mm from the most recent measurement
E LED Disable 0x45
Disable the on-board Blue LED indicator.
F LED Enable 0x46
This will make the LED blink for each measurement taken.
G LED On 0x47
This will turn on the LED and keep it on regardless of measurements.
MC Continuous mode 0x4d 0x43
Set tinyLiDAR
to continuous conversion mode. This is the lowest latency and highest power mode of the
module. Note that this command will cause tinyLiDAR
to write this mode to non-volatile memory and reboot.
Therefore please allow some time for it to reboot.
MS Single Step mode 0x4d 0x53
Set tinyLiDAR
to single step (SS) conversion mode. This is the lowest power mode of the module where it will
take a measurement on demand only (using the D command) and stay in the lowest power state otherwise.
Note that this command will cause tinyLiDAR
to write this mode to non-volatile memory and reboot. Therefore
please allow some time for it to reboot.
MR Real Time mode (available since FW: 1.4.0) 0x4d 0x52
Set tinyLiDAR
to real time conversion mode. This is similar to the SS mode but will take a single ‘blocking’
measurement in the lowest power mode of the module. The Continuous and SS modes have buffers to
prevent host blocking while this mode does not. Note that this command will cause tinyLiDAR
to write this
mode to non-volatile memory and reboot. Therefore please allow some time for it to reboot.
R Change I2C address 0x52…
Change the I2C address for tinyLiDAR. This new address will be written to tinyLiDARs non-volatile memory and
take effect immediately. You can reset the address by using the RESET command.
X Reboot only 0x58
Reboot tinyLiDAR
immediately without writing any settings to non-volatile storage. Please allow some time for
it to reboot.
Y LED mode save with reboot 0x59
Same as the X command but also writes the LED indicator mode to non-volatile storage. Note that this
command will cause tinyLiDAR
to write this mode to non-volatile memory and reboot. Therefore please allow
some time for it to reboot.
RESET Reset to factory defaults 0x00 0x06
Reset tinyLiDAR
to the default board address of 0x10 and clear user settings. Please note, this command uses
a special broadcast address of 0x00 to talk to all tinyLiDAR
modules connected to the I2C bus. After writing
the default address to the non-volatile memory and resetting configuration settings to factory defaults, the
module will reboot. Therefore please allow some time for it to reboot.
tinyLiDAR Reference Manual rev1.26 8