LRF22VB · 905 nm Single-Point LiDAR Sensor
LRF22VB on Raspberry Pi: Python UART reader
A Raspberry Pi reads the LRF22VB through /dev/serial0 at 460800 baud. The erdi-lrf package on PyPI decodes the frames; the Pi repository adds a CSV logger, an MQTT publisher and a systemd service.
Enable the UART
Run sudo raspi-config → Interface Options → Serial Port: login shell off, serial hardware on. Wire LRF22VB TX → GPIO15 (RXD), RX → GPIO14 (TXD), GND → GND. The Pi UART is 3.3 V; the published interface is UART/IIC.
Read a distance
pip install erdi-lrf pyserial
python - <<'EOF'
from erdi_lrf import ErdiLRF
lrf = ErdiLRF('/dev/serial0', baud=460800, model='LRF22VB')
print(lrf.read_single()) # metres
EOFLogging, MQTT and a service
erdi-lrf-raspberry-pi-python has a CSV logger, an MQTT publisher, a MAVLink bridge and a systemd unit that starts the reader at boot.
Ordering the LRF22VB
The published single-unit price of the LRF22VB is $12, falling to $8 per unit at the largest published quantity band. Prices include shipping and are ordered directly from erdilrf.com. Technical questions and quantity quotes: tommy@erdimail.com. Full specification table, downloads and ordering: LRF22VB model page.
FAQ
What is the maximum range of the LRF22VB?
The published range is 0.05–20 m (90% reflectivity); 0.05–10 m (10% reflectivity) (The two source values remain bound to their stated target reflectivity.). A range figure is only comparable together with the target and conditions it was measured on, so the condition is listed next to the value.
Which interface does the LRF22VB use?
The published communication interface is UART/IIC.
What laser wavelength does the LRF22VB use?
The published wavelength is 905 nm; laser safety entry: Class 1.
How much does the LRF22VB cost?
The published single-unit price of the LRF22VB is $12, falling to $8 per unit at the largest published quantity band. Prices include shipping and are ordered directly from erdilrf.com.
Related guides
- LRF22VB datasheet and specifications
- LRF22VB UART wiring, pinout and protocol
- LRF22VB Pixhawk / ArduPilot setup
- LRF22VB ROS 2 driver
- LRF22VB Arduino library
- LRF22VB price and ordering
- LRF22VB power supply and current
- LRF22VB accuracy and range test conditions
- LRF22VB dimensions and weight
- UART laser rangefinder modules
- I2C laser rangefinder modules
- 905 nm laser rangefinder modules
- Class 1 laser rangefinder modules
- drone altimeter laser rangefinder modules
- AGV obstacle avoidance laser rangefinder modules
- robot navigation laser rangefinder modules
Model records
Open the model page for the full specification table, downloads, published price and ordering.