DEV Community

Tommy Yu
Tommy Yu

Posted on

Five interface details that cost a week each on a laser rangefinder integration

Every rangefinder integration I have watched go wrong went wrong at the same place: not the optics, not the range, but the four wires between the module and the host board. Here are five that cost real calendar time, with what to ask before you wire anything.

1. "TTL" does not say which logic level

A module described as TTL may be 3.3 V logic, 5 V logic, or 3.3 V logic with 5 V-tolerant inputs. On a 3.3 V MCU, a 5 V TTL output is usually survivable; the reverse is not, and it fails as noise rather than as damage, which is worse because you chase the protocol for a day before you suspect the level.

Ask for: the logic level, and whether the RX pin tolerates the host's TX level. Both are one-line answers.

2. RS-422 needs the variant named, not just "RS-422"

In the catalogue I work from, nine of the 62 modules have an RS-422 option, and most of those are also offered with TTL. They are different builds, not a setting. A purchase order that says "RS-422" without the connector is a build that may arrive with a different harness than the one your bracket was machined for.

Ask for: the connector part number for the ordered variant. Two of ours are Molex 51021-0500 (TTL) and J30J (RS-422) — same module family, different physical interface, and you find out on the bench.

3. The pin label and the supply spec can disagree

This one is documented in public, in our own specification, and it is the reason I now read pin tables against the power table line by line: one 1535 nm module lists VCC 5V on the RS-422 pin label, while its functional description and its supply specification both say 12 V.

Whether that is a typo or a variant is not the point. The point is that a pin table is a drawing, not a specification. When they disagree, the functional description and the supply table win, and you confirm before applying power.

Ask for: written confirmation of the pinout for the exact variant, before the first power-up.

4. Frame rate and range are one number, not two

A module that publishes "3–10 Hz" for normal range and "1–10 Hz" for long range is telling you that the update rate depends on the range setting. If your control loop assumes 10 Hz and the mission needs the long-range mode, the loop is running at a tenth of the rate you designed for.

Ask for: the update rate at the range setting you will actually use, not the headline maximum.

5. "Customizable" is a lead time, not a feature

Ten of the modules in that catalogue carry "customizable" in the interface column. That word hides a real question: is the customisation a different firmware build (a week), a different connector (two weeks), or a different board (a month and a new MOQ)?

Ask for: what exactly changes, and what it adds to the first delivery date. If the answer is vague, assume the longest option.

The habit that prevents all five

Write the interface down as a table before you order anything — logic level, connector part number, pin function, supply, update rate at your range setting — and have the supplier confirm it in writing. It takes ten minutes and replaces the week you would otherwise spend with a scope.

The dataset these numbers came from (62 modules, interfaces, supply, mass, published conditions, with the CSV/JSON the table was computed from) is here: https://specs.erdilrf.com/data/interfaces

If you are mid-integration and stuck on one of these five, describe the wiring and the symptom; that is usually enough to say which of the five it is.

Licensed CC BY 4.0. Numbers are from published specifications; the disagreement in item 3 is printed in the specification itself and is flagged there rather than quietly corrected.

Top comments (0)