Difference between revisions of "MV Camera on Orange Pi's RK35XX Boards"
(→CM5) |
|||
| (4 intermediate revisions by the same user not shown) | |||
| Line 59: | Line 59: | ||
===Hardware Setup=== | ===Hardware Setup=== | ||
| − | We use the official baseboards of the Orange Pi CM4 and CM5, which feature a 15-pin header compatible with Raspberry Pi. For the RAW series cameras, our cameras can be directly mounted onto the baseboard without the need for an adapter board. For the MV series cameras, the ADP-MV1 adapter board is required for connection. | + | We use the official baseboards of the Orange Pi CM4 and CM5, which feature a 15-pin header compatible with Raspberry Pi. For the RAW series cameras, our cameras can be directly mounted onto the baseboard without the need for an adapter board. For the MV series cameras, the [https://wiki.veye.cc/index.php/ADP-MV1-V2_Adapter_Board_Data_Sheet ADP-MV1-V2] adapter board is required for connection. |
====Camera Connection to Orange Pi CM4==== | ====Camera Connection to Orange Pi CM4==== | ||
| − | + | ADP-MV1 is connected to OrangePi CM4 via a 15-core FFC cable, with the same side of the cable arranged in an aligned manner; please pay attention to the direction of the contact surface. | |
| − | Note that only the CAM1 shown in the image below supports MV and RAW cameras.[[File:OrangePi CM4 to MV cam | + | Note that only the CAM1 shown in the image below supports MV and RAW cameras. |
| + | <br /> | ||
| + | [[File:Orange-mv.png|alt=OrangePi CM4 to MV cam|center|thumb|516x516px|OrangePi CM4 to MV cam]] | ||
| + | <br /> | ||
| + | [[File:Orange-raw-15-22pin.png|alt=OrangePi CM4 to RAW CAM(15Pin To 22Pin)|center|thumb|614x614px|OrangePi CM4 to RAW CAM(15Pin To 22Pin)]] | ||
| + | <br /> | ||
| + | [[File:Orange-raw-15pin.png|alt=OrangePi CM4 to RAW CAM(15Pin)|center|thumb|620x620px|OrangePi CM4 to RAW CAM(15Pin)]] | ||
| + | <br /> | ||
====Camera Connection to Orange Pi CM5==== | ====Camera Connection to Orange Pi CM5==== | ||
| − | The OrangePi CM5 supports up to four cameras. The following diagram shows the hardware connection method for simultaneously connecting multiple cameras.[[File: | + | The OrangePi CM5 supports up to four cameras. The following diagram shows the hardware connection method for simultaneously connecting multiple cameras. |
| + | [[File:Orange-cm5.png|alt=OrangePi CM5 to all cam|center|thumb|606x606px|OrangePi CM5 to all cam]] | ||
| + | <br /> | ||
====Camera Connection to Orange Pi CM5 tablet==== | ====Camera Connection to Orange Pi CM5 tablet==== | ||
Due to differences in connector formats, we have successfully interfaced modules for both CAM2 and CAM3 on the OrangePi CM5 tablet. The diagram below illustrates the connection methods for the RAW series and MV series. | Due to differences in connector formats, we have successfully interfaced modules for both CAM2 and CAM3 on the OrangePi CM5 tablet. The diagram below illustrates the connection methods for the RAW series and MV series. | ||
<br /> | <br /> | ||
| − | [[File:OrangePi CM5 tablet to MV cam | + | [[File:Or-cm5-mv.png|alt=OrangePi CM5 tablet to MV cam|center|thumb|700x700px|OrangePi CM5 tablet to MV cam]] |
| − | [[File:OrangePi CM5 tablet to | + | [[File:Or-cm5-raw 4x 4x.png|alt=OrangePi CM5 tablet to RAW cam|center|thumb|700x700px|OrangePi CM5 tablet to RAW cam]] |
| − | + | <br /> | |
===Introduction to github repositories=== | ===Introduction to github repositories=== | ||
https://github.com/veyeimaging/rk35xx_veye_bsp | https://github.com/veyeimaging/rk35xx_veye_bsp | ||
| Line 140: | Line 149: | ||
<code>mvcam 7-003b: firmware version: 0x1040000</code> | <code>mvcam 7-003b: firmware version: 0x1040000</code> | ||
| − | === Camera Application Development Guide === | + | ===Camera Application Development Guide=== |
| − | [[ | + | [[MV Camera Application Development Guide on Rochchip|Application Development Guide]] |
===References=== | ===References=== | ||
| Line 153: | Line 162: | ||
http://www.orangepi.cn/html/hardWare/computerAndMicrocontrollers/service-and-support/Orange-Pi-CM5.html | http://www.orangepi.cn/html/hardWare/computerAndMicrocontrollers/service-and-support/Orange-Pi-CM5.html | ||
===Document History=== | ===Document History=== | ||
| + | |||
| + | *2025-12-26 | ||
| + | |||
| + | Add a chapter on application development guidelines | ||
*2025-09-16 | *2025-09-16 | ||
Latest revision as of 10:14, 8 April 2026
1 Overview
The MV series and RAW series cameras are cameras designed for AI applications in the industrial field. They use the MIPI CSI-2 interface and are particularly suitable for use with embedded computing platforms. They have rich data formats and triggering features, extremely low latency, high bandwidth, and reliable stability.
This article takes OrangePi CM4 and OrangePi CM5 and CM5 tablet board as an example to introduce how to connect MV and RAW series cameras to the RK3566/3K3568 and RK3588S/RK3588 system.
We provide drivers for the Linux operating system (using Ubuntu as an example).
1.1 Camera Module List
| Series | Model | Status |
|---|---|---|
| MV series | MV-MIPI-IMX178M | Done |
| MV series | MV-MIPI-SC130M | Done |
| MV series | MV-MIPI-IMX296M | Done |
| MV series | MV-MIPI-IMX287M | Done |
| MV series | MV-MIPI-IMX265M | Done |
| MV series | MV-MIPI-IMX264M | Done |
| MV series | MV-MIPI-GMAX4002M | Done |
| RAW series | RAW-MIPI-SC132M | Done |
| RAW series | RAW-MIPI-IMX462M | Done |
| RAW series | RAW-MIPI-AR0234M | Done |
| RAW series | RAW-MIPI-SC535M | Done |
2 Hardware Setup
We use the official baseboards of the Orange Pi CM4 and CM5, which feature a 15-pin header compatible with Raspberry Pi. For the RAW series cameras, our cameras can be directly mounted onto the baseboard without the need for an adapter board. For the MV series cameras, the ADP-MV1-V2 adapter board is required for connection.
2.1 Camera Connection to Orange Pi CM4
ADP-MV1 is connected to OrangePi CM4 via a 15-core FFC cable, with the same side of the cable arranged in an aligned manner; please pay attention to the direction of the contact surface.
Note that only the CAM1 shown in the image below supports MV and RAW cameras.
2.2 Camera Connection to Orange Pi CM5
The OrangePi CM5 supports up to four cameras. The following diagram shows the hardware connection method for simultaneously connecting multiple cameras.
2.3 Camera Connection to Orange Pi CM5 tablet
Due to differences in connector formats, we have successfully interfaced modules for both CAM2 and CAM3 on the OrangePi CM5 tablet. The diagram below illustrates the connection methods for the RAW series and MV series.
3 Introduction to github repositories
https://github.com/veyeimaging/rk35xx_veye_bsp
https://github.com/veyeimaging/rk35xx_orangepi
includes:
- driver source code
- i2c toolkits
- application demo
In addition, a compiled linux kernel installation package is provided in the releases.
4 Upgrade the Ubuntu system
We provide a flashing image for the release system, as well as a deb package for the Linux kernel.
Refer to the OrangePi CM4 user manual or the OrangePi CM5 user manual for instructions on flashing the system. Alternatively, you can use the general dpkg command to install the deb package.
5 Check system status
Run the following command to confirm whether the camera is probed.
sudo dmesg | grep mvcam
5.1 CM4
The CM4 supports camera connection only through the CAM1 interface. Taking the RAW-MIPI-SC132M as an example, the dmesg output contains the following information:
The output message appears as shown below:
mvcam 1-003b: camera is: RAW-MIPI-SC132M
mvcam 1-003b: firmware version: 0x1040000
- Run the following command to check the presence of video node.
ls /dev/video0
The output message appears as shown below.
video0
5.2 CM5
The CM5 supports the connection of up to four cameras. Taking the RAW-MIPI-SC132M as an example, the dmesg output contains the following information:
mvcam 3-003b: camera is: RAW-MIPI-SC132M
mvcam 3-003b: firmware version: 0x1040000
mvcam 4-003b: camera is: RAW-MIPI-SC132M
mvcam 4-003b: firmware version: 0x1040000
mvcam 5-003b: camera is: RAW-MIPI-SC132M
mvcam 5-003b: firmware version: 0x1040000
mvcam 6-003b: camera is: RAW-MIPI-SC132M
mvcam 6-003b: firmware version: 0x1040000
5.3 CM5 tablet
The CM5 supports the connection of up to two cameras. Taking the RAW-MIPI-SC132M as an example, the dmesg output contains the following information:
mvcam 6-003b: camera is: RAW-MIPI-SC132M
mvcam 6-003b: firmware version: 0x1040000
mvcam 7-003b: camera is: RAW-MIPI-SC132M
mvcam 7-003b: firmware version: 0x1040000
6 Camera Application Development Guide
7 References
- OrangePi CM4
http://www.orangepi.cn/orangepiwiki/index.php/Orange_Pi_CM4
- OrangePi CM5
8 Document History
- 2025-12-26
Add a chapter on application development guidelines
- 2025-09-16
Add support for CM5 tablet.
- 2025-03-23
Add description of mv_probe.sh.
- 2024-01-10
Release 1st version.