SPD1200N4 · 905 nm Laser Rangefinder Module
SPD1200N4 on Raspberry Pi: Python UART reader
A Raspberry Pi reads the SPD1200N4 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 SPD1200N4 TX → GPIO15 (RXD), RX → GPIO14 (TXD), GND → GND. The Pi UART is 3.3 V; the published interface is UART-TTL (customizable).
Read a distance
pip install erdi-lrf pyserial
python - <<'EOF'
from erdi_lrf import ErdiLRF
lrf = ErdiLRF('/dev/serial0', baud=115200, model='SPD1200N4')
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 SPD1200N4
The published single-unit price of the SPD1200N4 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: SPD1200N4 model page.
FAQ
What is the maximum range of the SPD1200N4?
The published range is Catalog range 0.2–1,200 m. A 1,500 m night-time figure appears in the source under special conditions and is not a guaranteed range. (SPD1200N4 controlled source technical table; strong sunlight or low visibility may reduce range). 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 SPD1200N4 use?
The published communication interface is UART-TTL (customizable) @ 115200 bps (default).
What laser wavelength does the SPD1200N4 use?
The published wavelength is 905 nm ±5 nm; laser safety entry: IEC Class I.
How much does the SPD1200N4 cost?
The published single-unit price of the SPD1200N4 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
- SPD1200N4 datasheet and specifications
- SPD1200N4 UART wiring, pinout and protocol
- SPD1200N4 Pixhawk / ArduPilot setup
- SPD1200N4 ROS 2 driver
- SPD1200N4 Arduino library
- SPD1200N4 price and ordering
- SPD1200N4 power supply and current
- SPD1200N4 accuracy and range test conditions
- SPD1200N4 dimensions and weight
- UART laser rangefinder modules
- 905 nm laser rangefinder modules
- Class 1 laser rangefinder modules
- gimbal and payload laser rangefinder modules
Model records
Open the model page for the full specification table, downloads, published price and ordering.