Data Sheet
U Start Ultrasonic Emulation mode (available since FW: 1.3.9) 0x55
Sets tinyLiDAR
to output distance information using pulse width modulation instead of I2C. Setup tinyLiDAR to
desired measurement parameters before running this mode. The “trigger” input pin will be the yellow (SCL)
pin and the “echo” output will be on both the yellow (SCL) and white (SDA) pins.
Using this mode of operation, tinyLiDAR
maybe used with any software currently using the HC-SR04 or
PING))) ultrasonic sensors including the “Ping” built-in example sketch provided with the Arduino IDE.
When using the “Ping” sketch in the Arduino IDE, please use the SCL line as the “SIG” connection. +V can be
3.3v or 5v for tinyLiDAR. This command is provided in the Arduino Terminal GUI sketch. See Appendix A for
further details.
Ultrasonic Emulation Mode: A start pulse on the SCL pin will trigger a single measurement on tinyLiDAR.
A simulated echo signal will be available on both the SCL and SDA pins.
Host -> Sensor
Send Command
0x55 {T}
Example:
Start the Ultrasonic Emulation Mode.
<10:w> 55
tinyLiDAR Reference Manual rev1.26 27