Short answer: electrically it is a simple 4-wire hookup, but data will only appear if the host software understands the module's own frame format. The datasheet does not specify any native autopilot driver for the LRF22VB; email us and we confirm in writing.
1. Power: 3.3 V only. The LRF22VB supply range is 3.0-3.6 V DC (peak 70 mA, average 40 mA). Do not connect the red wire to a 5 V rail.
2. Wiring (6-pin 0.8 mm connector, 20 cm tinned wires):
- Pin 1 NC (white)
- Pin 2 3.3 V (red)
- Pin 3 TX (yellow) -> host RX
- Pin 4 RX (green) <- host TX
- Pin 5 NC (blue)
- Pin 6 GND (black)
Cross TX and RX. The datasheet labels pins 3/4 as shared UART/IIC pins and does not list the UART signal level as a separate field, so confirm the logic level with us before connecting it to a 5 V UART.
3. Baud rate. The default is 460800 8N1 (adjustable: 9600, 19200, 38400, 115200, 230400, 256000, 460800). Many flight-controller serial ports default to a much lower baud rate, so a mismatch gives garbage or nothing.
4. Frame format. The output is a 4-byte frame: 5C header, 2-byte little-endian distance in mm, 1 checksum byte (sum of bytes 2-3, inverted). Example: 5C 02 11 EC = 0x1102 = 4354 mm. Out of range reads 20000. Output rate is selectable: 200/100/50/20/10/1 Hz.
5. What this means for a flight controller. If its rangefinder driver expects another vendor's protocol, it will ignore these 4-byte frames. The practical routes are a small MCU or companion computer that reads the 5C frames and re-emits a format the autopilot accepts, or a custom output protocol (the datasheet lists output protocol as customizable).
Quick test before blaming the autopilot: connect the module to a USB-UART adapter at 460800 and confirm you see 5C frames. If they appear, the module works and the issue is on the host side. Open-source Python/Arduino parsers are in our driver repository.
Price and order button: https://erdilrf.com/models/lrf22vb/ (DHL shipping included; import duty/VAT, if any, is paid by the receiver on delivery). Lead time and quantity quotes: https://erdilrf.com/contact/ or [email protected].
Sources:
ERDI Verified Answer — checked against the datasheet by ERDI Engineering.