本页目录

  • 概述
  • OAK FFC 底板
  • FFC 摄像头模块
  • FFC 摄像头安装
  • M12 安装镜头
  • M12 可选择的视场角
  • 使用 OAK FFC 进行开发
  • Extending functionality
  • PSRBS Connector
  • Connecting an IR Module
  • UART
  • SD Card support

FFC 部署指南

概述

OAK FFC 底板和摄像头模块非常适合原型设计的灵活性。由于摄像头是模块化的,您可以将它们放置在不同的立体基线上,并根据项目需求(分辨率、快门类型、帧率、光学器件)选择摄像头模块。

OAK FFC 底板

OAK FFC 底板是带有板载VPU的OAK设备,其FFC连接器外露,您可以连接OAK FFC摄像头模块。此外,它们还提供类似UART的接口,因此可以进一步扩展。以下是我们现有的OAK FFC底板列表:PoE 设备:USB 设备:

FFC 摄像头模块

以下是已构建的OAK FFC摄像头模块列表,您可以使用扁平柔性电缆轻松将其连接到任何OAK FFC底板。我们正在努力为所有支持的CCM提供OAK FFC摄像头模块。
OAK FFC 摄像头模块快门分辨率备注
OAK-FFC-IMX378 (AF)卷帘12MP彩色,自动对焦
OAK-FFC-IMX378-FF卷帘12MP彩色,定焦
OAK-FFC-IMX378-W卷帘12MP彩色,定焦,宽视场角
OAK-FFC-OV9282全局1MP黑白,定焦
OAK-FFC-OV9282-M12全局1MP黑白,M12接口
OAK-FFC-OV9282-W全局1MP黑白,定焦,宽视场角
OAK-FFC-OV9782-M12全局1MP彩色,M12接口
OAK-FFC-OV9782-W全局1MP彩色,定焦,宽视场角
OAK-FFC IMX582卷帘32MP彩色,自动对焦
OAK-FFC-IMX577-M12卷帘12MP彩色,M12接口
OAK-FFC-IMX214-W卷帘13MP彩色,定焦,宽视场角
OAK-FFC-AR0234-M12全局2.3MP彩色,M12接口
OAK-FFC-IMX462 (M12)卷帘2MP彩色,定焦
Arducam HQ Cam for RPi, IMX477卷帘12.3MP彩色,CS接口镜头

Raspberry Pi 摄像头模块

Raspberry Pi 销售多种摄像头模块,这些模块与OAK FFC底板兼容。RPi摄像头可通过RPi摄像头适配器连接到FFC底板。
RPi 摄像头模块传感器快门像素备注
RPi Camera Module 3IMX708卷帘12 MP彩色,自动对焦。初始(WIP)集成
RPi Camera Module 2IMX219卷帘8 MP彩色,定焦。需要 imx219 分支
RPi High Quality CameraIMX477卷帘12 MP彩色,C/CS接口
RPi Global Shutter CameraIMX296全局1.6 MP彩色,C/CS接口。可能存在颜色伪影,见解决方案
如果您只想使用 IMX477,我们建议使用 Arducam HQ Cam for RPi, IMX477,它可直接与 OAK FFC 基板配合使用(无需 UC-244 适配器)。

FFC 摄像头安装

OAK-FFC 套件是安装 OAK FFC 摄像头模块的绝佳方式。它允许您轻松自定义水平和垂直立体基线。您可以从我们的商店购买。使用说明请参见此处
安装适配器也可见于 Github

M12 安装镜头

上述部分 FFC 摄像头模块具有 M12 安装,因此您可以使用多种不同的镜头(用于自定义视场角),例如:

M12 可选择的视场角

测试使用了 2 个 OAK-FFC-IMX477-M12 和两种不同的 M12 镜头:20° 视场角190° 视场角在 OAK-FFC-IMX477-M12 上窄视场角和宽视场角 M12 镜头的并排比较:
俯视图测试设置:
俯视图测试设置

使用 OAK FFC 进行开发

根据您使用的 FFC 设备,请参考以下快速入门指南:安装依赖项和 depthai 库后,您就可以开始使用 OAK FFC 设备进行开发了。
将摄像头连接到基板后,您可以使用 utilities/cam_test.py 脚本快速测试摄像头是否正常工作。默认情况下,它会尝试在 2 通道 MIPI 端口 B(左)和 C(右)上运行 2 个单目摄像头,并在端口 A(RGB)和 D(4 通道 MIPI 端口)上运行 2 个彩色摄像头。如果您连接了不同的摄像头,可以通过 --cameras 参数指定要使用的摄像头类型:
Command Line
1cam_test.py [-h] [--cameras <BoardSocket>,<CameraType>]
例如,如果您在端口 A、B 和 C 上连接了 3 个单目摄像头,可以运行以下命令:
Command Line
1python3 cam_test.py --cameras rgb,m right,m left,m
类似地,要将此类配置添加到脚本中,可以使用以下代码:

Python

Python
1cam_a = pipeline.create(dai.node.Camera)
2cam_a.build(dai.CameraBoardSocket.CAM_A) # 等同于 CameraBoardSocket.RGB
3
4cam_b = pipeline.create(dai.node.Camera)
5cam_b.build(dai.CameraBoardSocket.CAM_B) # 等同于 CameraBoardSocket.LEFT
6
7cam_c = pipeline.create(dai.node.Camera)
8cam_c.build(dai.CameraBoardSocket.CAM_C) # 等同于 CameraBoardSocket.RIGHT
9
10cam_d = pipeline.create(dai.node.Camera)
11cam_d.build(dai.CameraBoardSocket.CAM_D)

C++

C++
1auto cam_a = pipeline.create<dai::node::MonoCamera>();
2cam_a->setBoardSocket(dai::CameraBoardSocket::CAM_A); // 等同于 CameraBoardSocket::RGB
3cam_a->setResolution(dai::MonoCameraProperties::SensorResolution::THE_400_P);
4
5auto cam_b = pipeline.create<dai::node::MonoCamera>();
6cam_b->setBoardSocket(dai::CameraBoardSocket::CAM_B); // 等同于 CameraBoardSocket::LEFT
7
8auto cam_c = pipeline.create<dai::node::MonoCamera>();
9cam_c->setBoardSocket(dai::CameraBoardSocket::CAM_C); // 等同于 CameraBoardSocket::RIGHT
10
11auto cam_d = pipeline.create<dai::node::MonoCamera>();
12cam_d->setBoardSocket(dai::CameraBoardSocket::CAM_D);

Extending functionality

PSRBS Connector

The OAK-FFC-4P has a PSRBS connector, which allows users to easily connect the OAK camera to the external logic. You can use PSRBS cable to connect to this connector.
PinNameDescription
1VDD_5V5V power input/output
2STROBEStrobe signal output, can drive external lighting (projector, illumination lights, etc.)
3MODULE_nRSTAllows resetting the OAK-FFC from an external source (GND will reset the RVC2, same as RST button)
4BOOT_SELAllows selecting whether to boot into the bootloader (1.8V will skip bootloader, same as BOOT button)
5COM_AUX_IO22-lane MIPI FSYNC signal input/output
6FSIN_4LANE4-lane MIPI FSYNC signal input/output
7GNDGND power input/output

Connecting an IR Module

If you have an OAK-FFC-4P R5 or newer and you wish to use the OAK-FFC-IR module, you must first configure which camera will drive the STROBE signal to the connector to which you connect your IR module. The connector is located to the left of the switch (J12, see the image below).
If you have a stereo pair on CAM_B and CAM_C and want to have a dot projector synced with the stereo pair, you should move the switch 2 or 3 up (ON). Keep in mind that only one switch can be up at a time.

UART

Some OAK FFC devices have UART exposed, so you can use it for communication with other devices. For example, you can connect a GPS module to the UART port and get the GPS data in your application.To use UART in your application, checkout the UART Example.

UART Pinout

Pinout depends on the board you are using. Here are the UART pinouts for the OAK-FFC devices:
OAK-FFC DeviceTXRX
OAK-FFC-4P1516
OAK-FFC-4P POE//
OAK-FFC-1P POE4546
OAK-FFC-3P//

SD Card support

SD card functionality is community support only and should still work on separate depthai branch but won't be updated frequently.You can use the SD card to store data (logs/images/configs) from the running device - see example.

需要帮助?

请前往 OAKChina 官网 获取技术支持或解答您的任何疑问。