Skip to main content
Explore ERDILRF
ERDILRF LaserOptics. Electronics. Integration.
Products
905 nm sensors & rangefindersLR seriesSPD seriesH seriesVB seriesLRF A seriesOther product platforms1.54 µm laser sources1535 nm rangefindersAll products
Applications
Application overviewOptical observationCivil UAVsSite monitoringIndustrial sensingHandheld instrumentsField measurement
Insights
Product SpotlightEngineering knowledgeProduct filmsInside ERDILRF
Support
Technical supportFrequently asked questionsModel selectorContact our team
Downloads
All downloadsDrivers & integrationSpecifications & CAD
How to buy
Samples & quotationsDealer programRequest a sample
Company
About ERDILRFCertificatesContact usPrivacy policyTerms
Talk to Sales

Press ↑↓ to move, Enter to open, Esc to close.

LR1200E4 · 905 nm Laser Rangefinder Module

LR1200E4 on Raspberry Pi: Python UART reader

A Raspberry Pi reads the LR1200E4 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 LR1200E4 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='LR1200E4')
print(lrf.read_single())   # metres
EOF

Logging, 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 LR1200E4

The published single-unit price of the LR1200E4 is $90, falling to $35 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: LR1200E4 model page.

FAQ

What is the maximum range of the LR1200E4?

The published range is 4–1,200 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 LR1200E4 use?

The published communication interface is UART-TTL @ 115200 bps.

What laser wavelength does the LR1200E4 use?

The published wavelength is 905 ± 5 nm; laser safety entry: Class 1.

How much does the LR1200E4 cost?

The published single-unit price of the LR1200E4 is $90, falling to $35 per unit at the largest published quantity band. Prices include shipping and are ordered directly from erdilrf.com.

Related guides

Model records

Open the model page for the full specification table, downloads, published price and ordering.

  • LR1200E4 — LR1200E4 905 nm Laser Rangefinder Module
  • LR1200E2 — LR1200E2 905 nm Laser Rangefinder Module
  • LRF1200A1 — LRF1200A1 905 nm Laser Rangefinder Module
  • SPD1200N0 — SPD1200N0 905 nm Laser Rangefinder Module
  • SPD1200N2 — SPD1200N2 905 nm Laser Rangefinder Module