LRF300H · 905 nm LiDAR Distance Sensor
LRF300H on Raspberry Pi: Python UART reader
A Raspberry Pi reads the LRF300H 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 LRF300H 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='LRF300H')
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 LRF300H
The published single-unit price of the LRF300H is $280, falling to $140 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: LRF300H model page.
FAQ
What is the maximum range of the LRF300H?
The published range is 0.05–300 m (90% reflectivity); 0.05–100 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 LRF300H use?
The published communication interface is UART, IIC.
What laser wavelength does the LRF300H use?
The published wavelength is 905 nm; laser safety entry: Class 1.
How much does the LRF300H cost?
The published single-unit price of the LRF300H is $280, falling to $140 per unit at the largest published quantity band. Prices include shipping and are ordered directly from erdilrf.com.
Related guides
- LRF300H datasheet and specifications
- LRF300H UART wiring, pinout and protocol
- LRF300H Pixhawk / ArduPilot setup
- LRF300H ROS 2 driver
- LRF300H Arduino library
- LRF300H price and ordering
- LRF300H power supply and current
- LRF300H accuracy and range test conditions
- LRF300H 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
- security and perimeter monitoring 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.