ToF integration begins with the result an IoT device needs: a distance threshold, a zone state, a depth image or combined RGB-D data. Selecting that output early helps match the module, host processing and optical assembly to the product function.
Choose point, zone, depth or RGB-D output
A point distance can drive a local proximity threshold. Zone results describe selected regions when supported by the configured module and firmware. A depth image gives the host spatial samples for its own processing. RGB-D adds visible appearance for tasks that need both data types.
Define units, coordinate axes, timestamps, invalid values and result age in the interface specification. A point cloud may be a supplied output or a host calculation from calibrated depth; establish which applies to the selected configuration. A proximity fixture, a room monitor and a mobile robot need different result detail and update behavior.
Plan USB, MIPI or processed serial data
| Route | Example | Integration decision |
|---|---|---|
| USB RGB-D | DM-RGBD5003A | Host capture, stream calibration and application processing |
| USB depth | DM5005A | Depth/IR/point-cloud workflow for the selected SDK and mode |
| MIPI depth module | DMOM2508CL | Compatible host receiver, sensor control and processing pipeline |
| Onboard processing | DMOS5030A/5031A | UART/SPI configuration and agreed firmware output |
Calculate data volume from actual frame format and rate, including headers, multiple streams and processing copies. A physical connector alone does not establish a supported host driver, command set or application protocol. Keep the selected firmware and interface mode in the integration record.
Separate transmit and receive optical paths
Reserve clear optical apertures for the emitter and receiver. Check field-of-view clipping by the bezel, gasket or nearby structure at the final assembly position. Use suitable separation and interior treatment to limit emitted light coupling into the receiver through the housing or cover.
Review placement before finalizing mechanical tooling. Small changes to a cover's angle, spacing or surface condition can change the optical path, so a bare-module test and an enclosed-device test answer different questions.
Evaluate cover glass, crosstalk and calibration
Choose material, thickness and coatings for the operating wavelength, then characterize the assembled path. Check transmission, reflections, scratches, fingerprints, moisture and air gaps. Follow the selected module's calibration procedure with the intended optical assembly rather than importing another sensor's dimensions or calibration constants.
Record calibration identifiers, test temperature, reference target and acceptance criteria. Repeat near, middle and far measurements after assembly and representative cleaning or thermal cycles. Keep invalid samples distinct from measured zero distance.
A cover reflection can send some of the emitted light back to the receiver before the target return arrives. This extra signal can shift the reported distance or increase the number of invalid readings. The cross-section shows how a light-blocking barrier separates the transmit and receive openings and how a reflection can still travel inside a shared cover. Check both apertures for clipping at the final assembly position. For the optical paths behind this check, see STMicroelectronics’ cover-glass design guide.

Verify ranging before and after cover-glass calibration
Use the same module for all three assembly states. At each reference distance, hold the target material, angle, alignment, lighting, temperature, ranging settings and sample count constant. Measure the reference distance from the same sensor datum throughout. Record the cover material and thickness, air gap, surface condition, light source and illuminance, and calibration ID. Use one copy of the table per distance and test condition. Start with near, mid-range and far points within the device’s intended working range.
| Assembly and calibration state | Reference distance (mm) | Distance bias (mm) | Repeatability, SD (mm) | Invalid readings (n/N, %) |
|---|---|---|---|---|
| A. Bare module with baseline calibration | ___ | ___ | ___ | ___ |
| B. Final cover and enclosure installed, using A’s calibration | ___ | ___ | ___ | ___ |
| C. Final cover and enclosure installed, calibrated in place | ___ | ___ | ___ | ___ |
Calculate distance bias as the mean of the valid readings minus the reference distance. Calculate repeatability as the sample standard deviation of the valid readings. Report invalid readings as the number flagged invalid divided by the total number of readings collected. If no readings are valid, leave bias and repeatability unavailable. Repeatability requires at least two valid readings.
Compare A with B to see what changes after assembly. Compare B with C to see how much the module’s calibration procedure recovers. Set application-specific limits for absolute bias, repeatability and invalid readings before testing. Check C against those limits under the conditions the device will face, including representative lighting and cover surface conditions.
DM0301 example. For this single-zone sensor, use the final enclosure and cover glass during calibration. DOMI gives 500 mm as the recommended reference distance for offset calibration under controlled conditions. The published optical reference setup specifies 90% cover-glass transmittance, a 0.36 mm air gap and no ambient light. After calibration, verify ranging at the working distances and lighting conditions of the finished device. See DM0301 cover-glass calibration.
Budget power, thermal path and host processing
Include sensor electronics, illumination, regulators, host processing and communications in the device power budget. A sensor-only typical power value does not describe the full illuminated system. Check supply peaks and temperature behavior during the modes the application actually uses.
The host may apply validity masks, temporal filtering, spatial filtering and confidence-based selection. Measure how those operations affect latency, edges and missing regions. Hole filling creates an estimate where data is absent, so retain the distinction when the result drives a decision.
Plan multi-camera operation, firmware and lifecycle
Separate multipath within one scene from interference between active cameras. First establish a single-camera baseline with representative reflective geometry. Then introduce neighboring emitters, compare simultaneous and isolated operation, and vary relative pose and timing. Use scheduling or synchronization only where the selected hardware and firmware support the required controls.
Maintain a manifest of hardware, firmware, SDK, calibration and host versions, with reproducible update and recovery procedures. Define behavior on startup, disconnected data, overheating or stale results. Choose retention and access rules for raw frames and derived outputs according to the product function.
Send us the required output, host platform, optical drawing, power states and deployment conditions. The smart-lock, occupancy and robot-navigation guides develop application-specific evaluation paths.
Discuss your evaluation with DOMI.
FAQs
What is the first interface decision for an IoT design?
Decide whether the host needs a point distance, processed region result, depth image or RGB-D streams. That choice determines bandwidth, processing and the appropriate module interface.
Why test with the final cover installed?
The cover can attenuate returns and create additional optical paths. Test and calibrate the assembled optical configuration so the integration reflects the product's actual measurements.
How are multipath and multi-camera interference tested separately?
Use one camera to establish behavior on reflective scene geometry, then introduce neighboring emitters under controlled conditions. Compare the results while retaining the same targets, settings and mounting.
What should be recorded for reproducible integration?
Record hardware, firmware, SDK, interface mode, calibration, processing settings and host versions. Preserve the reference tests and startup, fault and recovery behavior with that configuration.