Skip to main content
Explore ERDILRF

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

Laser Rangefinder Module Integration FAQ: UART, Power, Range

Developer docs: wiring, protocol pages, platform guides (ArduPilot, ROS 2, Arduino, ESPHome, Python) and a browser serial monitor for 22 models are at erdilrf.com/docs.

Most integration problems with a laser rangefinder module come from five things: baud rate, signal level, supply voltage, distance units and the target. This page answers 12 of them with values from the ERDI datasheets, series by series, and says so where a datasheet leaves a value open. H and VB series modules talk at 460,800 baud with a 0x5C header; LR, SPD and LRF3000A1 modules talk at 115,200 baud with a 55 AA header. Checked 2026-11-13.

Quick reference by series

ModelsBaud rateFrameDistance valueSupply
H series: LRF50H, LRF100H, LRF200H, LRF300H, LRF600H460,800 (adjustable), 8N10x5C + 2 distance bytes + check (little-endian)cm; 65,535 when out of range9 to 36 V DC
LRF1500H460,800 (adjustable)0x5C + 3 distance bytes + checkcm; 16,777,215 when out of range9 to 36 V DC
VB series: LRF10VB, LRF22VB, LRF50VB460,800 (adjustable), 8N10x5C + 2 distance bytes + check (little-endian)LRF22VB: mm, 20,000 when out of range; LRF10VB and LRF50VB: see datasheetLRF10VB 4.5 to 5.5 V; LRF22VB 3.0 to 3.6 V; LRF50VB 3.3 to 5 V
LR series: LR1000E2, LR1200E2, LR2000E2115,20055 AA header, 8-byte frame, sum checksumReported value = measured value x 103.3 to 5 V
SPD1200N0, SPD1200N2115,20055 AA header, 8-byte frameReported value = measured value x 103.3 to 5 V
LRF3000A1115,200 default (9,600 also listed)55 AA header, 8-byte frameSee datasheetDC 3.3 to 5 V

Twelve questions from integration engineers

1. What baud rate and frame format do ERDI laser rangefinder modules use?

H and VB series: 460,800 baud (adjustable), 8 data bits, 1 stop bit, frame header 0x5C, then the distance as a little-endian value and a check byte. LR series, SPD series and LRF3000A1: 115,200 baud by default, 8-byte frames that start with 55 AA. Applies to the models in the table above.

2. What unit is the distance value in?

It depends on the series, and a wrong guess is a factor of 10. H series (LRF50H, LRF200H, LRF600H) output centimetres, 0 to 65,535. The LRF22VB outputs millimetres, 0 to 20,000. LR and SPD modules report the measured value multiplied by 10 as a hexadecimal number. Read the datasheet for your model before you decode.

3. How is the checksum calculated?

On H and VB series it is the inverted sum of the bytes from the second byte to the second-last byte. On the LR1000E2 the send frame is 55 AA, a function code, four data bytes and a sum of function code and data. Two datasheets contain examples that do not reproduce their own checksum (LRF50VB and LRF1500H), so compare against frames captured from your own unit before you reject a reading.

4. Which supply voltage does my module need?

H series and LRF1500H: 9 to 36 V DC. LR series, SPD series and LRF3000A1: 3.3 to 5 V. LRF22VB: 3.0 to 3.6 V, so not 5 V. LRF10VB: 4.5 to 5.5 V. LRF50VB: 3.3 to 5 V.

5. Can I connect the UART straight to a 3.3 V or 5 V microcontroller?

The LRF3000A1 datasheet states TTL 3.3 V. For the LR1000E2 the factory has confirmed 3.3 V, and for the LR1200E2 either 3.3 V or 5 V. The datasheets of the H series, LR2000E2 and SPD1200N0 give the supply range but not the UART signal level, so ask us to confirm it for your order.

6. What does the module output when the target is out of range?

The raw maximum of the field: 65,535 on the H series (centimetres), 16,777,215 on the LRF1500H, and 20,000 on the LRF22VB (millimetres). Treat the maximum raw value as invalid, and see the note on minimum distance and blind zone.

7. Why does the range change with the colour of the target?

Every range figure is bound to a reflectivity. Examples at 90% and 10% reflectivity: LRF50H 50 m and 15 m, LRF200H 200 m and 70 m, LRF600H 600 m and 200 m, LRF22VB 20 m and 10 m. A dark or wet surface returns less light, so plan from the 10% figure if your target is dark. Background: spec vs real range.

8. Does bright sunlight reduce the range?

Yes. The datasheets state it per model: LRF50H 45 m at 100 klx, LRF200H 100 klx, LRF22VB 8 m at 60 klx, LRF10VB 2 m at 70 klx. SPD modules state that strong sunlight or low visibility may reduce the range. See ambient light immunity.

9. What is the minimum measuring distance?

H and VB series: 0.05 m. Most SPD modules: 0.2 m (SPD1200N3 3 m, SPD1200ZG 0.1 m). LR series: 4 m. LRF1200A1: 5 m. Keep the target beyond the minimum for your model.

10. What update rate can I set, and how much UART bandwidth does it need?

LRF50H: 20 Hz to 10 kHz, default 1 kHz. LRF22VB: 200 Hz by default, with 100, 50, 20, 10 and 1 Hz as alternatives. LR1000E2: 3 to 10 Hz, adaptive. SPD1200N2: 2 to 15 Hz or 4 to 15 Hz adaptive, and its own document flags the lower bound as ambiguous. At 10 kHz the link must carry the frame stream, see UART bandwidth budget.

11. Will a protective window change the reading?

It can. The window becomes part of the optical path: it may transmit well and still reflect light into the receiver or clip an aperture. Compare the bare module, the module behind the window and the installed device, and agree material, clear aperture, coating band and transmission on the finished window. Applies to every module. Checklist: protective window acceptance.

12. Which I2C address do the modules use?

LRF200H: 0x33 by default, bus speed 1 kHz to 400 kHz. LRF22VB: 0x52. The LRF50H is UART only. The datasheets of the LRF100H, LRF300H, LRF600H and LRF1500H list I2C support but do not publish an address, so ask us if you need it.

Reference drivers and next steps

Reference parsers and the protocol notes are in github.com/ErdiTech/erdi-lrf-drivers. Wiring walk-throughs: Pixhawk and ArduPilot, ESP32, Raspberry Pi. To pick a model, use the selector; prices are on the price page. If your question is not here, email tommy@erdimail.com with the model and the symptom.