Why MIPI CSI-2 Dominates Embedded Vision
Camera choices on an embedded Linux board usually come down to interface, sensor and lens. For a camera module for RK3588 design, MIPI CSI-2 is the default because it carries high bandwidth on a small connector and is supported directly by the SoC's image signal processor. USB cameras remain convenient for a first prototype, but they add a host controller, cable bulk and variable driver behaviour. A MIPI camera module wired to the CSI-2 lanes gives the ISP a clean, deterministic feed — important when frames must be captured at a fixed rate for inspection or inference.
That said, the physical connector is only half the story. Lane count, signal integrity and device-tree support all have to line up with the carrier board. Check the exact board revision before ordering: a module that works on one SBC may need a different cable or an adapter on another.
Sensor Resolution and Low-Light Behaviour
Resolution should follow the size of the smallest defect you need to resolve, not the largest number on a datasheet. An IMX415 camera based module delivers 8 MP, which suits wide-area scenes where fine detail matters and the optics can resolve it. A 5 MP OV5695 module is often enough for presence detection or barcode work and is gentler on memory bandwidth. A 13.2 MP autofocus module is a reasonable choice when a single sensor must cover both a wide overview and a close-up region.
| Module | Nominal resolution | Focus | Typical fit |
|---|---|---|---|
| IMX415 8 MP | 8 MP | Fixed lens options | Wide scenes, fine detail |
| OV5695 5 MP | 5 MP | Fixed | Cost-sensitive sensing, barcodes |
| 13.2 MP autofocus | 13.2 MP | Autofocus | Variable working distance |
Low-light performance is a property of the whole optical chain — sensor pixel size, lens aperture and illumination — not the sensor alone. If the inspection station has controlled lighting, prioritise resolution and lens quality. If the camera faces a changing outdoor scene, ask for sample images at the actual lux level rather than relying on the specification. A machine vision camera selection that ignores lighting usually fails at commissioning, not at procurement.
Autofocus vs Fixed Focus
Fixed-focus modules are simpler, cheaper and mechanically stable. They are the right default when the working distance is fixed by a fixture — a conveyor at a known height, for example. Autofocus earns its cost when the same camera must image objects at different distances, such as a handheld terminal or a station handling mixed package sizes. The trade-off is extra control software, slower acquisition after a distance change, and more parts that can drift over time.
- Lock the focus with a spacer or thread-locking compound on vibratory equipment.
- Confirm whether focus control is exposed in the BSP or requires a vendor driver.
- Plan for lens protection in dusty or wash-down environments.
Interface, Lanes and Carrier Compatibility
Before committing, verify three things on the exact carrier board: the number of CSI lanes available, the connector pinout, and whether a vendor or mainline kernel already carries the sensor driver. Some boards share lanes between two camera ports, so using both simultaneously lowers per-camera bandwidth. Check the maximum supported resolution and frame rate at the pixel format your pipeline uses — RAW and YUV place different loads on the ISP and memory.
For RK3588, RK3576 and RK3568 designs, a dedicated camera extender board can simplify routing when the module cannot sit close to the SoC. Treat it as part of the signal-integrity budget, not as an afterthought. If you are still choosing the board itself, the RK3568 vs RK3576 vs RK3588 comparison explains the tier differences, and the edge AI computer guide covers what the NPU can realistically run once frames arrive.
Lens, Field of View and Mounting
Sensor size and focal length together determine field of view. Compute the coverage you need at the working distance, then choose the lens — do not pick a lens by diameter alone. A wide lens captures more scene but distorts edges and reduces detail per pixel; a narrow lens improves detail but demands accurate positioning. For inspection, a slightly narrower field with controlled lighting usually beats a wide frame that must be cropped in software.
Mechanics matter as much as optics. Confirm the module's mounting-hole pattern, board thickness and cable exit direction against your enclosure. Flex cables have a minimum bend radius and are sensitive to repeated flexing during service, so leave enough slack for maintenance without coiling the cable tightly.
Modules Worth Evaluating
- IMX415 8 MP Camera Module — for wide scenes where resolution and fine detail are the priority.
- 13.2 MP Autofocus MIPI Camera Module — when working distance varies and one sensor must cover several ranges.
- OV5695 5 MP MIPI Camera Module — a compact 5 MP option for cost-sensitive vision and sensing.
Driver maturity varies by sensor and kernel version; confirm support for your exact OS image before ordering volume. We do not infer ISP throughput or frame-rate figures from a product title alone — validate those with your own pipeline on the actual hardware.
Frequently Asked Questions
Is a higher-resolution camera always better for inspection?
No. Resolution helps only if the lens and lighting resolve that detail and the pipeline can process the frames. A well-lit 5 MP image often outperforms a poorly lit 13 MP one.
Can I use two MIPI cameras at the same time?
It depends on the board. Some designs share CSI lanes between ports, which reduces the bandwidth available to each. Verify lane allocation and concurrent capture support on your specific SBC.
Do MIPI camera modules need a separate driver?
Usually yes — the sensor must be described in the device tree and a matching driver must exist in the kernel. Check with the board vendor for your OS version.
When should I add a camera extender board?
When the sensor cannot be placed close to the SoC without a long, lossy flex cable. An extender keeps the high-speed portion short, but it must be rated for the lane count and data rate you plan to use.
0 comments