ds_7141_7640[1] 28
- 格式:pdf
- 大小:495.12 KB
- 文档页数:22
三洞中学12--13学年度第二学期第二次月考七年级( 1 )学生考号名单班主任:潘保奖三洞中学12--13学年度第二学期第二次月考七年级( 2 )学生考号名单班主任:韦文俊三洞中学12--13学年度第二学期第二次月考七年级( 3 )学生考号名单班主任: 覃子韵三洞中学12--13学年度第二学期第二次月考七年级( 4 )学生考号名单班主任: 吴建挺三洞中学12--13学年度第二学期第二次月考七年级( 5 )学生考号名单班主任:莫家碧三洞中学12--13学年度第二学期第二次月考七年级( 6 )学生考号名单班主任:王天力三洞中学12--13学年度第二学期第二次月考八年级( 1 )学生考号名单班主任: 王国吉三洞中学12--13学年度第二学期第二次月考八年级( 2 )学生考号名单班主任: 韦正攀班主任:周燕利三洞中学12--13学年度第二学期第二次月考八年级( 3 )学生考号名单班主任: 李兴平三洞中学12--13学年度第二学期第二次月考八年级( 4 )学生考号名单班主任:刘 婷三洞中学12--13学年度第二学期第二次月考八年级( 5 )学生考号名单班主任: 李 锦三洞中学12--13学年度第二学期第二次月考八年级( 6 )学生考号名单班主任:王 念三洞中学12--13学年度第二学期第二次月考九年级( 1 )学生考号名单三洞中学12--13学年度第二学期第二次月考九年级( 2 )学生考号名单班主任: 田应辉班主任: 胡家丽三洞中学12--13学年度第二学期第二次月考九年级( 3 )学生考号名单三洞中学12--13学年度第二学期第二次月考九年级( 4 )学生考号名单班主任: 艾奇佳三洞中学12--13学年度第二学期第二次月考九年级( 5 )学生考号名单班主任: 韦祖鹏。
设备网络SDK开发使用手册NET_DVR_GetLastError返回最后操作的错误码。
DWORD NET_DVR_GetLastError();Return Values返回值为错误码。
错误码主要分为网络通讯库、RTSP通讯库、软硬解库、语音对讲库等错误码,详见下表。
网络通讯库错误码错误类型错误值错误信息NET_DVR_NOERROR0没有错误。
NET_DVR_PASSWORD_ERROR1用户名密码错误。
注册时输入的用户名或者密码错误。
NET_DVR_NOENOUGHPRI2权限不足。
一般和通道相关,例如有预览通道1权限,无预览通道2权限,即有预览权限但不完全,预览通道2返回此错误。
NET_DVR_NOINIT3SDK未初始化。
NET_DVR_CHANNEL_ERROR4通道号错误。
设备没有对应的通道号。
NET_DVR_OVER_MAXLINK5设备总的连接数超过最大。
NET_DVR_VERSIONNOMATCH6版本不匹配。
SDK和设备的版本不匹配。
NET_DVR_NETWORK_FAIL_CONNECT7连接设备失败。
设备不在线或网络原因引起的连接超时等。
NET_DVR_NETWORK_SEND_ERROR8向设备发送失败。
NET_DVR_NETWORK_RECV_ERROR9从设备接收数据失败。
NET_DVR_NETWORK_RECV_TIMEOUT10从设备接收数据超时。
NET_DVR_NETWORK_ERRORDATA11传送的数据有误。
发送给设备或者从设备接收到的数据错误,如远程参数配置时输入设备不支持的值。
NET_DVR_ORDER_ERROR12调用次序错误。
NET_DVR_OPERNOPERMIT13无此权限。
用户对某个功能模块的权限,例如无预览权限用户预览返回此错误。
NET_DVR_COMMANDTIMEOUT14设备命令执行超时。
NET_DVR_ERRORSERIALPORT15串口号错误。
NET_DV R_NOE RROR0 没有错误。
NET_DV R_PAS SWORD_ERRO R 1 用户名密码错误。
注册时输入的用户名或者密码错误。
NET_DV R_NOE NOUGH PRI 2 权限不足。
该注册用户没有权限执行当前对设备的操作,可以与远程用户参数配置做对比。
NET_DV R_NOI NIT 3 SDK未初始化。
NET_DV R_CHA NNEL_ERROR 4 通道号错误。
设备没有对应的通道号。
NET_DV R_OVE R_MAX LINK 5 连接到设备的用户个数超过最大。
NET_DV R_VER SIONN OMATC H 6 版本不匹配。
SDK和设备的版本不匹配。
NET_DV R_NET WORK_FAIL_CONNE CT7 连接设备失败。
设备不在线或网络原因引起的连接超时等。
NET_DV R_NET WORK_SEND_ERROR8 向设备发送失败。
NET_DV R_NET WORK_RECV_ERROR9 从设备接收数据失败。
NET_DV R_NET WORK_RECV_TIMEO UT10 从设备接收数据超时。
NET_DV R_NET WORK_ERROR DATA11 传送的数据有误。
发送给设备或者从设备接收到的数据错误,如远程参数配置时输入设备不支持的值。
NET_DV R_ORD ER_ER ROR12 调用次序错误。
NET_DV R_OPE RNOPE RMIT13 无此权限。
NET_DV R_COM MANDT IMEOU T14 设备命令执行超时。
NET_DV R_ERR ORSER IALPO RT15 串口号错误。
指定的设备串口号不存在。
NET_DV R_ERR ORALA RMPOR T16 报警端口错误。
目录前言 (4)1概述 (5)1.1产品介绍 (5)1.2特性 (5)1.3应用领域 (5)1.4产品命名规则 (5)2性能指标 (6)2.1 EtherCAT特性 (6)2.2电气特性 (6)2.3使用环境 (6)3安装 (7)3.1安装尺寸 (7)3.2安装方法 (7)4 驱动器端口与接线 (8)4.1接线示意图 (8)4.2端口定义 (8)4.2.1状态指示界面 (8)4.2.2旋钮拨码 (9)4.2.3状态指示灯 (9)4.2.4 EtherCAT通讯端口 (9)4.2.5控制信号输入/输出端口 (10)4.2.6编码器输入端口 (10)4.2.7电机输出端口 (10)4.2.8电源输入端口 (10)4.3输入/输出端口操作 (11)5适配电机 (14)5.1电机尺寸 (14)5.2电机规格 (17)5.3技术参数 (17)5.4电机线规格(仅适用闭环电机) (18)5.5编码器线规格(仅适用闭环电机) (18)5.6电机接线图 (19)6 EtherCAT总线 (22)6.1 EtherCAT技术原理 (22)6.2 EtherCAT数据结构 (22)6.3 EtherCAT报文寻址 (23)6.3.1 设备寻址 (24)6.3.2 逻辑寻址 (25)6.4 EtherCAT分布时钟 (25)6.5 EtherCAT通信模式 (25)6.5.1 Free Run模式 (25)6.5.2 SM2/3模式 (26)6.5.3 DC模式 (26)6.6 EtherCAT状态机 (27)6.7 应用层协议COE (27)6.7.1 COE对象字典 (28)6.7.2 服务数据对象(SDO) (28)6.7.3 过程数据对象(PDO) (28)7驱动器控制协议CiA 402 (29)7.1 CIA402状态机 (29)7.2 工作模式 (30)7.3循环同步位置模式(CSP) (31)7.4 循环同步速度模式(CSV)........................................................ 错误!未定义书签。
WinInet错误代码(12001到12156)在 Microsoft Win 32 Internet (WinInet) API 提供具有轻松访问的独⽴应⽤程序以标准的 Internet 协议(例如 Gopher、 FTP 和 HTTP。
WinInet API 提取到 Win 32 开发⼈员所熟悉的⾼级别接⼝的协议。
以下是 WinInet 函数返回的错误代码的列表:Code Error Message and Description----- -----------------------------12001 ERROR_INTERNET_OUT_OF_HANDLESNo more handles could be generated at this time.12002 ERROR_INTERNET_TIMEOUTThe request has timed out.12003 ERROR_INTERNET_EXTENDED_ERRORAn extended error was returned from the server. This istypically a string or buffer containing a verbose errormessage. Call InternetGetLastResponseInfo to retrieve theerror text.12004 ERROR_INTERNET_INTERNAL_ERRORAn internal error has occurred.12005 ERROR_INTERNET_INVALID_URLThe URL is invalid.12006 ERROR_INTERNET_UNRECOGNIZED_SCHEMEThe URL scheme could not be recognized or is not supported.12007 ERROR_INTERNET_NAME_NOT_RESOLVEDThe server name could not be resolved.12008 ERROR_INTERNET_PROTOCOL_NOT_FOUNDThe requested protocol could not be located.12009 ERROR_INTERNET_INVALID_OPTIONA request to InternetQueryOption or InternetSetOptionspecified an invalid option value.12010 ERROR_INTERNET_BAD_OPTION_LENGTHThe length of an option supplied to InternetQueryOption orInternetSetOption is incorrect for the type of optionspecified.12011 ERROR_INTERNET_OPTION_NOT_SETTABLEThe request option cannot be set, only queried.12012 ERROR_INTERNET_SHUTDOWNThe Win32 Internet function support is being shut down orunloaded.12013 ERROR_INTERNET_INCORRECT_USER_NAMEThe request to connect and log on to an FTP server couldnot be completed because the supplied user name isincorrect.12014 ERROR_INTERNET_INCORRECT_PASSWORDThe request to connect and log on to an FTP server couldnot be completed because the supplied password isincorrect.12015 ERROR_INTERNET_LOGIN_FAILUREThe request to connect to and log on to an FTP serverfailed.12016 ERROR_INTERNET_INVALID_OPERATIONThe requested operation is invalid.12017 ERROR_INTERNET_OPERATION_CANCELLEDThe operation was canceled, usually because the handle onwhich the request was operating was closed before theoperation completed.12018 ERROR_INTERNET_INCORRECT_HANDLE_TYPEThe type of handle supplied is incorrect for thisoperation.12019 ERROR_INTERNET_INCORRECT_HANDLE_STATEThe requested operation cannot be carried out because thehandle supplied is not in the correct state.12020 ERROR_INTERNET_NOT_PROXY_REQUESTThe request cannot be made via a proxy.12021 ERROR_INTERNET_REGISTRY_VALUE_NOT_FOUND A required registry value could not be located.12022 ERROR_INTERNET_BAD_REGISTRY_PARAMETERA required registry value was located but is an incorrecttype or has an invalid value.12023 ERROR_INTERNET_NO_DIRECT_ACCESSDirect network access cannot be made at this time.12024 ERROR_INTERNET_NO_CONTEXTAn asynchronous request could not be made because a zero context value was supplied.12025 ERROR_INTERNET_NO_CALLBACKAn asynchronous request could not be made because acallback function has not been set.12026 ERROR_INTERNET_REQUEST_PENDINGThe required operation could not be completed because one or more requests are pending.12027 ERROR_INTERNET_INCORRECT_FORMATThe format of the request is invalid.12028 ERROR_INTERNET_ITEM_NOT_FOUNDThe requested item could not be located.12029 ERROR_INTERNET_CANNOT_CONNECTThe attempt to connect to the server failed.12030 ERROR_INTERNET_CONNECTION_ABORTEDThe connection with the server has been terminated.12031 ERROR_INTERNET_CONNECTION_RESETThe connection with the server has been reset.12032 ERROR_INTERNET_FORCE_RETRYCalls for the Win32 Internet function to redo the request.12033 ERROR_INTERNET_INVALID_PROXY_REQUESTThe request to the proxy was invalid.12036 ERROR_INTERNET_HANDLE_EXISTSThe request failed because the handle already exists.12037 ERROR_INTERNET_SEC_CERT_DATE_INVALIDSSL certificate date that was received from the server isbad. The certificate is expired.12038 ERROR_INTERNET_SEC_CERT_CN_INVALIDSSL certificate common name (host name field) is incorrect. For example, if you entered and the common name on the certificate says .12039 ERROR_INTERNET_HTTP_TO_HTTPS_ON_REDIRThe application is moving from a non-SSL to an SSLconnection because of a redirect.12040 ERROR_INTERNET_HTTPS_TO_HTTP_ON_REDIRThe application is moving from an SSL to an non-SSLconnection because of a redirect.12041 ERROR_INTERNET_MIXED_SECURITYIndicates that the content is not entirely secure. Some ofthe content being viewed may have come from unsecuredservers.12042 ERROR_INTERNET_CHG_POST_IS_NON_SECUREThe application is posting and attempting to changemultiple lines of text on a server that is not secure.12043 ERROR_INTERNET_POST_IS_NON_SECUREThe application is posting data to a server that is notsecure.12110 ERROR_FTP_TRANSFER_IN_PROGRESSThe requested operation cannot be made on the FTP session handle because an operation is already in progress.12111 ERROR_FTP_DROPPEDThe FTP operation was not completed because the session was aborted.12130 ERROR_GOPHER_PROTOCOL_ERRORAn error was detected while parsing data returned from thegopher server.12131 ERROR_GOPHER_NOT_FILEThe request must be made for a file locator.12132 ERROR_GOPHER_DATA_ERRORAn error was detected while receiving data from the gopherserver.12133 ERROR_GOPHER_END_OF_DATAThe end of the data has been reached.12134 ERROR_GOPHER_INVALID_LOCATORThe supplied locator is not valid.12135 ERROR_GOPHER_INCORRECT_LOCATOR_TYPEThe type of the locator is not correct for this operation.12136 ERROR_GOPHER_NOT_GOPHER_PLUSThe requested operation can only be made against a Gopher+ server or with a locator that specifies a Gopher+operation.12137 ERROR_GOPHER_ATTRIBUTE_NOT_FOUNDThe requested attribute could not be located.12138 ERROR_GOPHER_UNKNOWN_LOCATORThe locator type is unknown.12150 ERROR_HTTP_HEADER_NOT_FOUNDThe requested header could not be located.12151 ERROR_HTTP_DOWNLEVEL_SERVERThe server did not return any headers.12152 ERROR_HTTP_INVALID_SERVER_RESPONSEThe server response could not be parsed.12153 ERROR_HTTP_INVALID_HEADERThe supplied header is invalid.12154 ERROR_HTTP_INVALID_QUERY_REQUESTThe request made to HttpQueryInfo is invalid.12155 ERROR_HTTP_HEADER_ALREADY_EXISTSThe header could not be added because it already exists.12156 ERROR_HTTP_REDIRECT_FAILEDThe redirection failed because either the scheme changed(for example, HTTP to FTP) or all attempts made to redirectfailed (default is five attempts).。
海康摄像机硬盘录像机SDK错误码NET_DVR_GetErrorMsg返回最后操作的错误码信息。
char * NET_DVR_GetErrorMsg(LONG * pErrorNo);参量pErrorNo[out]错误码数值的指针返回值错误代码主要分为⽹络通讯库,RTSP通讯库,软硬解库,语⾳对讲库等错误码,详见替换。
⽹络通讯库错误码错误类型错误值错误信息NET_DVR_NOERROR 0 没错NET_DVR_PASSWORD_ERROR 1个⽤户名或密码错误。
NET_DVR_NOENOUGHPRI 2 ⽆权执⾏此操作。
NET_DVR_NOINIT 3 SDK未初始化。
NET_DVR_CHANNEL_ERROR 4 通道号错误。
设备上没有相应的通道号。
NET_DVR_OVER_MAXLINK 5 与设备的连接数已超过最⼤限制。
NET_DVR_VERSIONNOMATCH 6 版本不匹配。
SDK版本与设备不匹配。
NET_DVR_NETWORK_FAIL_CONNECT 7 ⽆法连接到设备。
设备离线,或⽹络造成连接超时。
NET_DVR_NETWORK_SEND_ERROR 8 ⽆法将数据发送到设备。
NET_DVR_NETWORK_RECV_ERROR 9 ⽆法从设备接收数据。
NET_DVR_NETWORK_RECV_TIMEOUT 10 从设备接收数据时超时。
NET_DVR_NETWORK_ERRORDATA 11 发送到设备的数据是⾮法的,或者从设备接收的数据是错误的。
例如,设备不⽀持输⼊数据进⾏远程配置。
NET_DVR_ORDER_ERROR 12 API调⽤顺序错误。
NET_DVR_OPERNOPERMIT 13 未经授权进⾏此操作。
NET_DVR_COMMANDTIMEOUT 14 设备执⾏命令超时。
NET_DVR_ERRORSERIALPORT 15 串⼝号错误。
设备上不存在分配的串⼝。
NET_DVR_ERRORALARMPORT 16 告警端⼝号错误。
Advanced Information Preliminary DatasheetOV7640 Color CMOS VGA (640 x 480) C AMERA C HIP TM OV7141 B&W CMOS VGA (640 x 480) C AMERA C HIP TMO mniTMisionGeneral DescriptionThe OV7640 (color) and OV7141 (black and white)TM Applications•Cellular and Picture PhonesOV7640/OV7141CMOS VGA (640 x 480) C AMERA C HIP™OFunctional DescriptionFigure2 shows the functional block diagram of the OV7640/OV7141 image sensor. The OV7640/OV7141 includes:•Image Sensor Array (640x480 resolution)•Timing Generator•Analog Processing Block•A/D Converters•Output Formatter•Digital Video PortFunctional DescriptionOImage Sensor ArrayThe OV7640/OV7141 C AMERA C HIPS has an active image array size of 640 columns x 480 rows (307,200 pixels).However, the full array contains 652 columns and 488rows, with the extra 6 rows used for black-level calibration (“Optical Black”) and color interpolation information.However, the maximum output valid image window size is 652 columns by 482 rows. Figure 3 shows a cross-section–Anti-blooming –Zero smearingA/D ConvertersAfter the Analog Processing Block, the color channel data signal is fed to two 8-bit Analog-to-Digital (A/D) converters via the multiplexers, one for the Y/G channel and one shared by the CbCr/BR channels. These A/D converters operate at speeds up to 12MHz, and are fully synchronous to the pixel rate (actual conversion rate is related to the frame rate).[6] increase I OL / I OH OmniVisionOV7640/OV7141CMOS VGA (640 x 480) C AMERA C HIP ™ORESET TimingThe RESET pin (pin 15) is active high. There is an internal pull-down (weak) resistor in the sensor so the default status of the RESET pin is low.Figure 4 RESET Timing DiagramPWDN TimingThe PWDN pin (pin 5) is active high. There is an internal pull-down (weak) resistor in the sensor so the default status of the PWDN pin is low.Figure 5 PWDN Timing DiagramPin DescriptionOPin DescriptionTable 1Pin DescriptionPin NumberName Pin Type Function/Description01VSS_A Ground Analog ground 02VDD_A V DD Analog VDD 03NC —No connection 04NC —No connection05PWDN Input (0)aa.Input (0) represents an internal pull-down resistor.Sets device to power down standby mode 06NC —No connection07VREF V REF Internal voltage reference (2.3V). Connect to ground through 1µF capacitor 08VDD_C V DD Core VDD09VSYNC Output Vertical sync output 10HREF Output HREF output 11PCLK Output Pixel clock output 12VDD_IO V DD I/O VDD 13CLK Input External clock 14NC —No connection15RESET Input (0)Clears all registers and resets them to their default values.16NC —No connection 17VSS_D Ground Digital ground18Y7Output Digital video output bit[7]19Y6Output Digital video output bit[6]20Y5Output Digital video output bit[5]21Y4Output Digital video output bit[4]22Y3Output Digital video output bit[3]23Y2Output Digital video output bit[2]24Y1Output Digital video output bit[1]25Y0Output Digital video output bit[0]26SIO_C Input SCCB serial interface clock 27SIO_D I/O SCCB serial interface data I/O 28NC—No connectionOV7640/OV7141CMOS VGA (640 x 480) C AMERA C HIP ™OElectrical CharacteristicsNOTE:Exceeding the Absolute Maximum ratings shown above invalidates all AC and DC electrical specifications and may result in permanent device damage.Table 2Absolute Maximum RatingsAmbient Storage Temperature-40ºC to +125ºCSupply Voltages (with respect to Ground)V DD-A5V V DD-C 5V V DD-IO5VAll Input/Output Voltages (with respect to Ground)-0.3V to VDD_IO+1V Lead Temperature, Surface-mount process +230ºC ESD Rating, Human Body model 2000VTable 3DC Characteristics (0°C < T A < 70°C)Symbol ParameterConditionMin Typ Max Unit V DD-A DC supply voltage – Analog — 2.40 2.5 2.60V V DD-C DC supply voltage – Core — 2.25 2.5 2.75V V DD-IO DC supply voltage – I/O — 2.25— 3.3V I DDA Active (Operating) Current See Note a a. V DD-A = V DD-C = 2.5V, V DD-IO = 3.0VI DDA = ∑{I DD-IO + I DD-C + I DD-A }, f CLK = 24MHz at 30 fps, no I/O loading15mA I DDS-SCCB Standby Current See Note b b. V DD-A = V DD-C = 2.5V, V DD-IO = 3.0VI DDS:SCCB refers to a SCCB-initiated Standby, while I DDS:PWDN refers to a PWDN pin-initiated Standby 1mA I DDS-PWDN Standby Current 10µA V IH Input voltage HIGH CMOS0.7 x V DD-IOV V IL Input voltage LOW 0.3 x V DD-IOV V OH Output voltage HIGH CMOS (I OH / I OL )0.9 x V DD-IOV V OL Output voltage LOW 0.1 x V DD-IOV I OH Output current HIGH See Note cc.Standard Output Loading = 25pF, 1.2K Ω to 3V8mA I OL Output current LOW 15mA I LInput/Output LeakageGND to V DD-IO ± 1µAElectrical CharacteristicsOTable 4Functional and AC Characteristics (0°C < T A < 70°C)SymbolParameterMinTyp MaxUnit Functional CharacteristicsA/D Differential Non-Linearity + 1/2LSB A/D Integral Non-Linearity +1LSB AGCRange21dB Red/Blue Adjustment Range12dBInputs (PWDN, CLK, RESET)f CLK Input Clock Frequency 102427MHz t CLK Input Clock Period 1004237ns t CLK:DC Clock Duty Cycle455055%t S:RESET Setting time after software/hardware reset1ms t S:REG Settling time for register change (10 frames required)300msSCCB (SIO_C and SIO_D - see Figure 6)f SIO_C Clock Frequency 400KHz t LOW Clock Low Period 1.3µs t HIGH Clock High Period600ns t AA SIO_C low to Data Out valid 100900ns t BUF Bus free time before new START 1.3µs t HD:STA START condition Hold time 600ns t SU:STA START condition Setup time 600ns t HD:DAT Data-in Hold time 0µs t SU:DAT Data-in Setup time 100ns t SU:STO STOP condition Setup time 600ns t R, t F SCCB Rise/Fall times 300ns t DH Data-out Hold time50nsOutputs (VSYNC, HREF, PCLK, and Y[7:0] - see Figure 7, Figure 8, and Figure 9)t PDV PCLK[↓] to Data-out Valid 5ns t SU Y[7:0] Setup time 15ns t HD Y[7:0] Hold time 8ns t PHH PCLK[↓] to HREF[↑]05ns t PHLPCLK[↓] to HREF[↓]5nsACConditions:• V DD : V DD-A = V DD-C = 2.5V, V DD-IO = 3.3V • Rise/Fall Times: I/O: 5ns, MaximumSCCB: 300ns, Maximum• Input Capacitance: 10pf• Output Loading: 25pF, 1.2K Ω to 3V • f CLK : 24MHzOV7640/OV7141CMOS VGA (640 x 480) C AMERA C HIP™OTiming Specifications Figure 6 SCCB Timing DiagramTiming SpecificationsOFigure 8 VGA Frame Timing DiagramNote:OV7640/OV7141CMOS VGA (640 x 480) C AMERA C HIP™OFigure 10 RGB:565 Output Timing DiagramTiming SpecificationsOOV7640 Light ResponseFigure 12 OV7640 Light ResponseOV7640/OV7141CMOS VGA (640 x 480) C AMERA C HIP™ORegister Set Table5 provides a list and description of the Device Control registers contained in the OV7640/OV7141. For all register Enable/Disable bits, ENABLE=1 and DISABLE=0. The device slave addresses for the OV7640/OV7141 are 42 for write and43 for read.Table 5 SCCB Register ListAddress (Hex)RegisterNameDefault(Hex)R/W Description00GAIN00RW AGC – Gain control gain settingBit[7:6]:ReservedBit[5:0]:Gain control gain setting •Range: [00] to [3F]01BLUE80RW AWB – Blue channel gain setting•Range: [00] to [FF]Note: This function is not available on the B&W OV7141.02RED80RW AWB – Red channel gain setting•Range: [00] to [FF]Note: This function is not available on the B&W OV7141.03SAT84RW Image Format – Color saturation valueBit[7:4]:Saturation value•Range: [0] to [F]Bit[3:0]:ReservedNote: This function is not available on the B&W OV7141.04HUE34RW Image Format – Color hue controlBit[7:6]:ReservedBit[5]:Hue EnableBit[4:0]:Hue settingNote: This function is not available on the B&W OV7141.05CWF3E RW AWB – Red/Blue Pre-Amplifier gain settingBit[7:4]:Red channel pre-amplifier gain setting•Range: [0] to [F]Bit[3:0]:Blue channel pre-amplifier gain setting•Range: [0] to [F]Note: This function is not available on the B&W OV7141.06BRT80RW ABC – Brightness setting •Range: [00] to [FF]07-09RSVD XX–Reserved0A PID76R Product ID number (Read only)0B VER48R Product version number (Read only) 0C-0F RSVD XX–Reserved10AECH41RW Exposure ValueRegister SetOTable 5SCCB Register ListOV7640/OV7141CMOS VGA (640 x 480) C AMERA C HIP™OTable 5 SCCB Register ListRegister SetO1F FACT 01RWOutput Format – Format ControlBit[7:5]:Reserved Bit[4]:RGB:565/555 Enable Control0:Disabled 1:EnabledNote: Bit[4] is not programmable on the B&W OV7141.Bit[3]:ReservedBit[2]:RGB:565/555 Mode Select 0:RGB:565 output format 1:RGB:555 output formatNote: Bit[2] is not programmable on the B&W OV7141.Bit[1:0]:Reserved20COME C0RWCommon Control EBit[7]:Reserved Bit[6]:AEC – Digital Averaging Enable Bit[5]:Reserved Bit[4]:Image Quality – Edge Enhancement Enable Bit[3:1]:Reserved Bit[0]:Y[7:0] 2X I OL / I OH Enable 21-23RSVD XX –Reserved24AEW 10RW AGC/AEC – Stable Operating Region – Upper Limit 25AEB8ARWAGC/AEC – Stable Operating Region – Lower Limit26COMF A2RWCommon Control FBit[7:3]:Reserved Bit[2]:Data Format – Output Data MSB/LSB Swap Enable(LSB → MSB (Y[7]) and MSB → LSB (Y[0])Bit[1:0]:Reserved27COMG E2RWCommon Control GBit[7:5]:Reserved Bit[4]:Color Matrix – RGB Crosstalk Compensation Disable(Used to increase each color filter’s efficiency)Note: Bit[4] is not programmable on the B&W OV7141.Bit[3:2]:ReservedBit[1]:Data Format – Output Full Range Enable 0:Output Range = [10] to [F0] (224 bits)1:Output Range = [01] to [FE] (254/256 bits) Bit[0]:ReservedTable 5SCCB Register ListAddress (Hex)Register NameDefault (Hex)R/WDescriptionOV7640/OV7141CMOS VGA (640 x 480) C AMERA C HIP ™O28COMH 20RWCommon Control HBit[7]:Output Format – RGB Output Select0:RGB1:Raw RGBNote: Bit[7] is NOT programmable when COMA [3] = 0.Bit[6]:Device Select 0:OV76401:OV7141Bit[5]:Output Format – Scan Select 0:Interlaced 1:Progressive Bit[4:0]:Reserved29COMI00RCommon Control IBit[7:2]:ReservedBit[1:0]:Device Version (Read-only)2A FRARH 00RWOutput Format – Frame Rate Adjust HighBit[7]:Data Format – Frame Rate Adjust EnableBit[6:5]:Data Format – Frame Rate Adjust Setting MSBFRA[9:0] = MSB + LSB = FRARH[6:5] + FRARL[7:0]Bit[4]:A/D – UV Channel ‘2 Pixel Delay’ Enable Note: Bit[4] is not programmable on the B&W OV7141.Bit[3:0]:Reserved2B FRARL 00RW Data Format – Frame Rate Adjust Setting LSBFRA[9:0] = MSB + LSB = FRARH[6:5] + FRARL[7:0]2CRSVDXX–Reserved2D COMJ 81RWCommon Control JBit[7:3]:Reserved Bit[2]:AEC – Band Filter Enable Bit[1:0]:Reserved 2E-5F RSVD XX –Reserved60SPCB 06RW Signal Process Control BBit[7]:AGC – 1.5x Multiplier (Pre-amplifier) Enable Bit[6:0]:Reserved 61-6B RSVD XX –Reserved6CRMCO11RWColor Matrix – RGB Crosstalk Compensation – R ChannelNote: This function is not available on the B&W OV7141.6DGMCO01RWColor Matrix – RGB Crosstalk Compensation – G ChannelNote: This function is not available on the B&W OV7141.6E BMCO 06RWColor Matrix – RGB Crosstalk Compensation– B ChannelNote: This function is not available on the B&W OV7141.6FRSVDXX–ReservedTable 5SCCB Register ListAddress (Hex)Register NameDefault (Hex)R/WDescriptionRegister SetO70COMK 01RWCommon Mode Control KBit[7]:Reserved Bit[6]:Y[7:0] 2X I OL / I OH Enable Bit[5:0]:Reserved71COML 00RWCommon Mode Control LBit[7]:Reserved Bit[6]:Data Format – PCLK output gated by HREF Enable Bit[5]:Data Format – Output HSYNC on HREF Pin Enable Bit[4]:ReservedBit[3:2]:Data Format – HSYNC Rising Edge Delay MSB Bit[1:0]:Data Format – HSYNC Falling Edge Delay MSB 72HSDYR 10RWData Format – HSYNC Rising Edge Delay LSBHSYNCR[9:0] = MSB + LSB = COML[3:2] + HSDYR[7:0]•Range 000 to 762 pixel delays73HSDYF 50RWData Format – HSYNC Falling Edge Delay LSBHSYNCF[9:0] = MSB + LSB = COML[1:0] + HSDYF[7:0]•Range 000 to 762 pixel delays74COMM 20RWCommon Mode Control MBit[7]:ReservedBit[6:5]:AGC – Maximum Gain Select00:+6 dB 01:+12 dB 10:+6 dB 11:+18 dBBit[4:0]:Reserved 75COMN 02RWCommon Mode Control NBit[7]:Output Format – Vertical Flip Enable Bit[6:0]:Reserved 76COMO 00RWCommon Mode Control OBit[7:6]:Reserved Bit[5]:Standby Mode Enable Bit[4:0]:Reserved 77-7D RSVD XX –Reserved7EAVGY00RWAEC – Digital Y/G Channel Average(Automatically updated by AGC/AEC, user can only read the values)7F AVGR 00RWAEC – Digital R/V Channel Average(Automatically updated by AGC/AEC, user can only read the values)Note: This function is not available on the B&W OV7141.80AVGB 00RWAEC – Digital B/U Channel Average(Automatically updated by AGC/AEC, user can only read the values)Note: This function is not available on the B&W OV7141.NOTE: All other registers are factory-reserved. Please contact OmniVision Technologies for reference register settings.Table 5SCCB Register ListAddress (Hex)Register NameDefault (Hex)R/WDescriptionOV7640/OV7141CMOS VGA (640 x 480) C AMERA C HIP™OPackage Specifications The OV7640/OV7141 uses either a 28-pin ceramic package or 28-pin plastic package. Refer to Figure13 for ceramic package information, Figure14 for plastic package information, and Figure15 for the array center on the chip.Figure 13 OV7640/OV7141 Ceramic Package SpecificationsPackage SpecificationsOFigure 14 OV7640/OV7141 Plastic Package SpecificationsOV7640/OV7141CMOS VGA (640 x 480) C AMERA C HIP™OSensor Array CenterFigure 15 OV7640/OV7141 Sensor Array CenterPackage Specifications Version 1.7, October 27, 2003Proprietary to OmniVision Technologies 21OIR Reflow Ramp Rate RequirementsFigure 16 IR Reflow Ramp Rate RequirementsOV7640/OV7141CMOS VGA (640 x 480) C AMERA C HIP™ONote:•All information shown herein is current as of the revision and publication date. Please refer to the OmniVision web site () to obtain the current versions of alldocumentation.•OmniVision Technologies, Inc. reserves the right to make changes to their products or to discontinue any product or service without further notice (It is advisable to obtain current product documentation prior to placing orders).•Reproduction of information in OmniVision product documentation and specifications is permissible only if reproduction is without alteration and is accompanied by all associatedwarranties, conditions, limitations and notices. In such cases, OmniVision is not responsibleor liable for any information reproduced.•This document is provided with no warranties whatsoever, including any warranty of merchantability, non-infringement, fitness for any particular purpose, or any warrantyotherwise arising out of any proposal, specification or sample. Furthermore, OmniVisionTechnologies Inc. disclaims all liability, including liability for infringement of any proprietary rights, relating to use of information in this document. No license, expressed or implied, byestoppels or otherwise, to any intellectual property rights is granted herein.•‘OmniVision’, ‘CameraChip’ are trademarks of OmniVision Technologies, Inc. All other trade, product or service names referenced in this release may be trademarks or registered trademarks of their respective holders. Third-party brands, names, and trademarks are the property of theirrespective owners.For further information, please feel free to contact OmniVision at info@.OmniVision Technologies, Inc.1341 Orleans DriveSunnyvale, CA USA(408) 542-300022Proprietary to OmniVision Technologies Version 1.7, October 27, 2003。