LRF50H · 905 nm LiDAR Distance Sensor
LRF50H on Raspberry Pi: Python UART reader
A Raspberry Pi reads the LRF50H 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 LRF50H TX → GPIO15 (RXD), RX → GPIO14 (TXD), GND → GND. The Pi UART is 3.3 V; the published interface is UART.
Read a distance
pip install erdi-lrf pyserial
python - <<'EOF'
from erdi_lrf import ErdiLRF
lrf = ErdiLRF('/dev/serial0', baud=460800, model='LRF50H')
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 LRF50H
The published single-unit price of the LRF50H is $100, falling to $50 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: LRF50H model page.
FAQ
What is the maximum range of the LRF50H?
The published range is 0.05–50 m (90% reflectivity); 0.05–15 m (10% reflectivity) (The two source values remain bound to their stated target reflectivity. The source marks this parameter as measured at 25°C in an indoor environment.). 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 LRF50H use?
The published communication interface is UART.
What laser wavelength does the LRF50H use?
The published wavelength is 905 nm; laser safety entry: Class 1.
How much does the LRF50H cost?
The published single-unit price of the LRF50H is $100, falling to $50 per unit at the largest published quantity band. Prices include shipping and are ordered directly from erdilrf.com.
Related guides
- LRF50H datasheet and specifications
- LRF50H UART wiring, pinout and protocol
- LRF50H Pixhawk / ArduPilot setup
- LRF50H ROS 2 driver
- LRF50H Arduino library
- LRF50H price and ordering
- LRF50H power supply and current
- LRF50H accuracy and range test conditions
- LRF50H dimensions and weight
- UART laser rangefinder modules
- 905 nm laser rangefinder modules
- Class 1 laser rangefinder modules
- industrial and level measurement laser rangefinder modules
Model records
Open the model page for the full specification table, downloads, published price and ordering.