LR2000E4 · 905 nm Laser Rangefinder Module
LR2000E4 on Raspberry Pi: Python UART reader
A Raspberry Pi reads the LR2000E4 through /dev/serial0 at 115200 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 LR2000E4 TX → GPIO15 (RXD), RX → GPIO14 (TXD), GND → GND. The Pi UART is 3.3 V; the published interface is UART-TTL.
Read a distance
pip install erdi-lrf pyserial
python - <<'EOF'
from erdi_lrf import ErdiLRF
lrf = ErdiLRF('/dev/serial0', baud=115200, model='LR2000E4')
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 LR2000E4
The published single-unit price of the LR2000E4 is $120, 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: LR2000E4 model page.
FAQ
What is the maximum range of the LR2000E4?
The published range is 4–2,000 m (Standard range; actual reach depends on target and 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 LR2000E4 use?
The published communication interface is UART-TTL @ 115200 bps.
What laser wavelength does the LR2000E4 use?
The published wavelength is 905 ± 5 nm; laser safety entry: Class 1.
How much does the LR2000E4 cost?
The published single-unit price of the LR2000E4 is $120, falling to $50 per unit at the largest published quantity band. Prices include shipping and are ordered directly from erdilrf.com.
Related guides
- LR2000E4 datasheet and specifications
- LR2000E4 UART wiring, pinout and protocol
- LR2000E4 Pixhawk / ArduPilot setup
- LR2000E4 ROS 2 driver
- LR2000E4 Arduino library
- LR2000E4 price and ordering
- LR2000E4 power supply and current
- LR2000E4 accuracy and range test conditions
- UART laser rangefinder modules
- 905 nm laser rangefinder modules
- Class 1 laser rangefinder modules
- surveying 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.