LRF1200A1 · 905 nm Laser Rangefinder Module
LRF1200A1 on Raspberry Pi: Python UART reader
A Raspberry Pi reads the LRF1200A1 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 LRF1200A1 TX → GPIO15 (RXD), RX → GPIO14 (TXD), GND → GND. The Pi UART is 3.3 V; the published interface is UART, 3.3 V TTL.
Read a distance
pip install erdi-lrf pyserial
python - <<'EOF'
from erdi_lrf import ErdiLRF
lrf = ErdiLRF('/dev/serial0', baud=115200, model='LRF1200A1')
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 LRF1200A1
The published single-unit price of the LRF1200A1 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: LRF1200A1 model page.
FAQ
What is the maximum range of the LRF1200A1?
The published range is 5–1,200 m (Building target; the source table gives ≥5–1200 m.). 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 LRF1200A1 use?
The published communication interface is UART, 3.3 V TTL.
What laser wavelength does the LRF1200A1 use?
The published wavelength is 905 nm; laser safety entry: Class 1 (source panel inconsistent; confirm).
How much does the LRF1200A1 cost?
The published single-unit price of the LRF1200A1 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
- LRF1200A1 datasheet and specifications
- LRF1200A1 UART wiring, pinout and protocol
- LRF1200A1 Pixhawk / ArduPilot setup
- LRF1200A1 ROS 2 driver
- LRF1200A1 Arduino library
- LRF1200A1 price and ordering
- LRF1200A1 power supply and current
- LRF1200A1 accuracy and range test conditions
- LRF1200A1 dimensions and weight
- UART laser rangefinder modules
- 905 nm laser rangefinder modules
- Class 1 laser rangefinder modules
- gimbal and payload 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.