没有合适的资源?快使用搜索试试~ 我知道了~
资源推荐
资源详情
资源评论
OV5670 Camera Module Application Notes
OV5670 Camera Module Application Notes
Last Modified: Sep. 29
th
, 2014
Document Revision: 1.05
OmniVision Technologies, Inc. reserves the right to make changes without further notice to
any product herein to improve reliability, function or design. OmniVision does not assume
any liability arising out of the application or use of any project, circuit described herein;
neither does it convey any license under its patent nor the right of others.
Sensor datasheet is the official document of OmniVision. Software/hardware/dual camera
applicaton notes are application guide lines for reference. If there are any difference
between sensor datasheet and application notes, please follow sensor datasheet and
kindly report the difference to OVT FAE.
This document contains information of a proprietary nature. None of this information shall
be divulged to persons other than OmniVision Technologies, Inc. employee authorized by
the nature of their duties to receive such information, or individuals or organizations
authorized by OmniVision Technologies, Inc.
1
Company Confidential
Confidential For WDS Only
OV5670 Camera Module Application Notes
Table of Contents
Related Documents...............................................................................................................................4
1. Overview of OV5670 Applications..................................................................................................5
2. Hardware Design of OV5670 Camera Module................................................................................6
2.1 Fixed Focus Camera Module with 2 lane MIPI Interface.........................................................6
2.1.1 Description of Camera Interface........................................................................................6
2.1.2 PCB/FPCB Layout Guide..................................................................................................7
2.2 Auto Focus Camera Module with 2 lane MIPI Interface...........................................................8
2.2.1 Description of Camera Interface........................................................................................8
2.2.2 PCB/FPCB Layout Guide..................................................................................................9
2.3 Deal with Lens.........................................................................................................................10
2.3.1 Light fall off.....................................................................................................................10
2.3.2 F# of Lens........................................................................................................................10
2.3.3 Focus Accuracy at infinite...............................................................................................10
2.3.4 Optical contrast................................................................................................................10
2.4 Calibration of Camera Module................................................................................................10
2.4.1 White Balance Calibration...............................................................................................10
2.4.2 VCM setting Calibration..................................................................................................10
2.5 Test of OV5670 Camera Module.............................................................................................11
2.5.1 Resolution Test................................................................................................................11
2.5.2 Focus Test........................................................................................................................11
2.5.3 Shading Test.....................................................................................................................11
2.5.4 Blemish Test....................................................................................................................11
3. Hardware Design with OV5670 Camera........................................................................................12
3.1 Host Interface...........................................................................................................................12
3.1.1 Power Supplies.................................................................................................................12
3.1.2 Clock................................................................................................................................17
3.1.3 Control Signals.................................................................................................................17
3.1.4 Image Data Signals..........................................................................................................17
3.1.5 PCB layout Guide of Host...............................................................................................17
3.2 Mechanical Design..................................................................................................................18
3.2.1 Lens Cover.......................................................................................................................18
3.2.2 Block Wide Angle Light..................................................................................................18
3.2.3 Keep Camera Module Cool..............................................................................................18
4. Hardware Operation of OV5670 Camera Module.........................................................................20
4.1 Controlled with PWDNB.........................................................................................................20
4.1.1. System Power On............................................................................................................20
4.1.2 Enter Camera....................................................................................................................20
4.1.3 Switch to Other Camera...................................................................................................21
4.1.4 Switch from Other Camera..............................................................................................22
4.1.5 Exit Camera......................................................................................................................23
4.1.6 System Power Off............................................................................................................24
4.2 Controlled with Xshutdown.....................................................................................................25
4.2.1 System Power On.............................................................................................................25
4.2.2 Enter Camera....................................................................................................................25
4.2.3 Switch to Other Camera...................................................................................................26
4.2.4 Switch from Other Camera..............................................................................................26
4.2.5 Exit Camera......................................................................................................................27
2
Company Confidential
Confidential For WDS Only
OV5670 Camera Module Application Notes
4.2.6 System Power Off............................................................................................................28
4.3 Camera Control........................................................................................................................28
4.3.1 Drive capability................................................................................................................28
4.3.2 I/O Control.......................................................................................................................28
4.3.3 MIPI Stream Control........................................................................................................28
5. Software Operation of OV5670......................................................................................................30
5.1 Register Settings......................................................................................................................30
5.1.1 Initialization (Global Setting)..........................................................................................30
5.1.2 Preview 1296x960 30fps 24M MCLK 2lane 840Mbps/lane...........................................36
5.1.3 Capture 2592x1944 30fps 24M MCLK 2lane 840Mbps/lane.........................................37
5.1.4 Video 1080p crop 30fps 24M MCLK 2lane 840Mbps/lane............................................38
5.1.5 Video 720p crop 30fps 24M MCLK 2lane 840Mbps/lane..............................................38
5.1.6 Video 640x480 120fps 24M MCLK 2lane 840Mbps/lane..............................................39
5.1.7 DCBLC............................................................................................................................40
5.1.8 Binning-Sum and Binning-Avg.......................................................................................40
5.1.9 VSYNC output and FSIN control....................................................................................40
5.1.10 First Pixel for Mirror/Flip..............................................................................................41
5.1.11 Cropping.........................................................................................................................41
5.1.12 Test Pattern....................................................................................................................41
5.1.13 Embedded line................................................................................................................42
5.1.14 LENC and Sensor Temperature.....................................................................................43
5.2 Load Calibration Data..............................................................................................................44
5.2.1 OTP MAP........................................................................................................................44
5.2.2 OTP Assignment..............................................................................................................44
5.3 Driver Functions......................................................................................................................49
5.3.1 Exposure...........................................................................................................................49
5.3.2 Gain .................................................................................................................................50
5.3.3 Gain Offset.......................................................................................................................50
5.3.4 Digital Gain and MWB Gain Control..............................................................................55
5.3.5 Gain/Exposure Table........................................................................................................55
5.3.6 Capture Sequence.............................................................................................................61
5.4 Verification of Camera Driver Functions................................................................................65
5.5 HDR Function of OV5670.......................................................................................................66
5.5.1 Dynamic Range of Camera..............................................................................................66
5.5.2 High Dynamic Range by Tone Mapping.........................................................................66
5.5.3 High Dynamic Range by Long/Short Exposure..............................................................66
5.5.4 OV5670 HDR Output by Alternate rows of Long/Short Exposure.................................67
5.5.5 OV5670 HDR Output by Long/Short Exposure in 2 Frames..........................................68
6. Tuning Image Quality.....................................................................................................................70
6.1 Using Calibration Data............................................................................................................70
6.2 Find Typical Camera Module and Corner Camera Modules...................................................70
6.3 Capture Pictures.......................................................................................................................70
6.4 Tune with ISP Tools................................................................................................................70
Revision History.................................................................................................................................71
3
Company Confidential
Confidential For WDS Only
OV5670 Camera Module Application Notes
Related Documents
“OV5670 COB Datasheet”
“High Speed Serial Interface Routing Guidelines”
“OV5670 Calibration and OTP Programming Guide”
“Camera Module Image Quality Evaluation Procedure and Criterion – RAW Sensor”
“Camera Analyzer User Guide”
4
Company Confidential
Confidential For WDS Only
OV5670 Camera Module Application Notes
1. Overview of OV5670 Applications
OV5670 is a 1/5 inch high performance 5M camera supporting 2 lane MIPI interface. It can be
used as
High Performance 5M main camera with 2 lane MIPI interface.
High Performance 1080p video camera with 2 lane MIPI interface
High Performance 720p video camera with 2 lane MIPI interface
5
Company Confidential
Confidential For WDS Only
剩余75页未读,继续阅读
资源评论
- #完美解决问题
- #运行顺畅
- #内容详尽
- #全网独家
- #注释完整
ouyang07
- 粉丝: 4
- 资源: 4
上传资源 快速赚钱
- 我的内容管理 展开
- 我的资源 快来上传第一个资源
- 我的收益 登录查看自己的收益
- 我的积分 登录查看自己的积分
- 我的C币 登录后查看C币余额
- 我的收藏
- 我的下载
- 下载帮助
最新资源
- gps追踪器源码和pcb资料,量产资料,可以直接生产用
- flash spi w25q128 w25q64 w25q32 w25q16 verilog fpga程序代码 fpga w25q128 64 32 16 verilog代码 资料包清单: 1.w2
- 全国计算机等级考试《三级数据库技术》复习核心内容讲解与备考指导
- 弯管机程序使用三菱FX系列 PLC和昆仑通态触摸屏,也可以用三菱F940系列触摸屏
- 信捷PLC上位机源代码例子,modbusTCP通信,通俗易懂,C#源代码
- 关于粒子滤波在电力负荷预测中的应用 python源代码,代码按照高水平文章复现,有详细说明,保证正确 在线预测电力负荷,在贝叶斯框架的动态模型 提供了顺序蒙特卡罗方法的回顾,并提供了所谓的粒子过滤
- 能源价格风险管理matlab源代码,代码按照高水平文章复现,保证正确 电力价格的波动性远远大于其他通常以极端波动著称的价格 由于电力不能经济地储存,终端用户的需求在很大程度上取决于天气,而电网的可靠
- 电力市场中生产者的战略招标:一种凸松弛方法matlab 源代码,代码按照高水平文章复现,保证正确 电力市场中的战略投标问题在电力系统中得到了广泛研究,通常是通过制定难以解决的复杂的双层优化问题来进行的
- FMC ADC12D2000RF 模块,忍痛出射频直接采集FMC ADC模块,模块基于Ti公司高端ADC12D2000RF芯片,芯片为单通道4GSPS,双通道2GSPS,12bit分辨率,这款芯片国
- 西门子200smart与施耐德ATV变频器modbus通讯 西门子s7-200smart与施耐德ATV12变频器通讯,可靠稳定,同时解决施耐德ATV变频器断电重启后,自准备工作,无需人为准备 器件:
- 2025/1/15 自用
- siddhi 的核心jar
- 上市公司的高压软启动控制源码,源码,需要的联系,平台TI,厂家见图,也有低压软起动的方案,
- 基于Atrix7 Kitex7 Vertex7系列FPGA的DDR3内存驱动器代码(Verilog语言),把2GB的内存做成一个可以同时读写的大型FIFO 有代码,有测试文档
- 圈乘问题求解问题pdf
- 关于配电网调压通信的需求VoltVAR反馈控制法则的比较完全分散与网络化策略 matlab源代码 代码按照高水平文章复现,保证正确 我们首先介绍了一类非常普遍的纯局部控制策略,并通过一个反例演示
资源上传下载、课程学习等过程中有任何疑问或建议,欢迎提出宝贵意见哦~我们会及时处理!
点击此处反馈
安全验证
文档复制为VIP权益,开通VIP直接复制
信息提交成功