{"id":11810,"date":"2023-06-29T11:00:55","date_gmt":"2023-06-29T11:00:55","guid":{"rendered":"https:\/\/dgzx.hk?p=11810"},"modified":"2023-06-30T02:03:46","modified_gmt":"2023-06-30T02:03:46","slug":"%e3%80%90dogoozx%e3%80%91ov2640-camera-module-hardware-application-notes","status":"publish","type":"post","link":"https:\/\/dgzx.hk\/ko\/%e3%80%90dogoozx%e3%80%91ov2640-camera-module-hardware-application-notes\/","title":{"rendered":"OV2640 Camera Module Hardware Application Notes"},"content":{"rendered":"<p style=\"text-indent: 2em;\">OmniVision Technologies, Inc. reserves the right to make changes without further notice to<br \/>\nany product herein to improve reliability, function or design. OmniVision does not assume<br \/>\nany liability arising out of the application or use of any project, circuit described herein;<br \/>\nneither does it convey any license under its patent nor the right of others.<\/p>\n<p style=\"text-indent: 2em;\">This document contains information of a proprietary nature. None of this information shall<br \/>\nbe divulged to persons other than OmniVision Technologies, Inc. employee authorized by<br \/>\nthe nature of their duties to receive such information, or individuals or organizations<br \/>\nauthorized by OmniVision Technologies, Inc.<\/p>\n<ol class=\"list-paddingleft-2\" style=\"list-style-type: decimal;\">\n<li>\n<p style=\"text-align: center; text-indent: 2em;\">OV2640 Camera Module Reference Design<img decoding=\"async\" src=\"\/wp-content\/uploads\/image\/20230629\/1688036202956997.png\" title=\"1688036202956997.png\" alt=\"\uc774\ubbf8\uc9c0.png\"\/><\/p>\n<p style=\"text-indent: 2em;\">NOTE:<br \/>\nConnector PWDN should be connected to ground if unused.<br \/>\nSensor reset pin RESETB is active low.<br \/>\nAVDD is 2.8V sensor analog power.<br \/>\nDVDD is 1.3V sensor digital power.<br \/>\nDOVDD is 1.8V to 3.0V sensor digital IO power.<br \/>\nSensor AGND and DGND should be separated and connect to a<br \/>\nsingle point at outside PCB (Don&#39;t connect inside module).<br \/>\nC2 should close to sensor DVDD and DGND.<br \/>\nC3 should close to sensor SVDD, AVDD and AGND.<br \/>\nC4 should close to sensor VHRFH and AGND.<br \/>\nC5 should close to sensor VREFN and AGND.<br \/>\nC6 should close to sensor DOVDD and DGND.<br \/>\nC1 should close to sensor EVDD and DGND.<br \/>\nD9:D2 is module YUV and RGB 8bits output (D9:MSB, D2:LSB).<br \/>\nD9:D0 is module raw RGB 10 bits output (D9:MSB, D0:LSB<\/p>\n<\/li>\n<\/ol>\n<p style=\"text-indent: 2em;\">2. OV2640 Camera Interface Reference for Camera Phone&nbsp;<\/p>\n<p style=\"text-indent: 2em;\">2.1 Pin Definition<br \/>\n OV2640 has 10-bit video port, D[9:0]. For 10-bit RGB raw output, D[9:0] are used. For 8-bit<br \/>\nYCbCr, 8-bit RGB raw or 8-bit RGB 565 output, only D[9:2] are used.<br \/>\n The Href and Hsync signal is on the same pin \u2013 Href pin. The function of this pin could be<br \/>\nselected as either Href function or Hsync function by SCCB setting.<br \/>\n The SIO_C and SIO_D bus should have external pull up resistors, the typical value of the pull up<br \/>\nresistors is about 4.7K.<br \/>\n Resetb is active low. There is no internal pull-down\/pull-up resistor. It can be controlled by a<br \/>\nGPIO, or connected to DOVDD using an external pull-up resistor if not used. If Resetb is connected<br \/>\nto DOVDD, the OV2640 camera module could be reset by SCCB setting.<br \/>\n PWDN is active high. There is no internal pull-down\/pull-up resistor. It can be controlled by a<br \/>\nGPIO, or connected to DGND using an external pull-down resistor if not used.<br \/>\n2.2 Power Supply<br \/>\nIf DOVDD uses different power supply than AVDD, then 3 regulators should be used.<\/p>\n<p style=\"text-align: center; text-indent: 2em;\"><img decoding=\"async\" src=\"\/wp-content\/uploads\/image\/20230629\/1688036280328520.png\" title=\"1688036280328520.png\" alt=\"\uc774\ubbf8\uc9c0.png\"\/><\/p>\n<p style=\"text-indent: 2em;\">3. OV2640 Camera Operation&nbsp;<\/p>\n<p style=\"text-indent: 2em;\">3.1 Power Saving Modes<br \/>\n There are 2 kind of power saving modes: power down mode and power off mode.<br \/>\n Power down mode means that in power saving mode, all the power supplies to the camera<br \/>\nmodule are kept. The camera is set into power down mode by pull high PWDN. For OV2640,<br \/>\nthere have big power down current, so power down mode is not supported by OV2640 for<br \/>\npower saving. But power down mode is still useful if OV2640 shares SCCB bus with other devices<br \/>\nor OV2640 shares video bus with another camera for camera applications. So OV2640 power<br \/>\noperation in power down mode is still introduced here.<br \/>\n Power off mode means that in power saving mode, all the power supplies to the camera module<br \/>\nare cut.&nbsp;<\/p>\n<p style=\"text-indent: 2em;\">3.2 Camera Operation in Power Down Mode&nbsp;<\/p>\n<p style=\"text-indent: 2em;\">3.2.1 Battery On, Hardware Reset<br \/>\nt1: from powers on to Reset pull high, &gt;= 3ms<br \/>\nt2: from Reset pull high to SCCB initialization, &gt;= 3ms<br \/>\nStep 1:<br \/>\n Reset is applied to OV2640 camera module.<br \/>\nStep 2:<br \/>\n DOVDD, DVDD and AVDD powers are applied. The 3 powers could be applied simultaneously.<br \/>\nIf applied separately, the power on sequence should be DOVDD first, DVDD second and AVDD<br \/>\n6 Company Confidential<br \/>\nOVT Confidential<br \/>\nOV2640 Camera Module Hardware Application Notes<br \/>\nlast.<br \/>\nStep 3:<br \/>\n after 3ms of last power applied, pull high Reset.<br \/>\nStep 4:<br \/>\n After 3ms, initialize OV2640 by SCCB initialization. Please find initialization setting from<br \/>\n\u201cOV2640 Camera Module Software Application Notes\u201d or contact OmniVision local FAE.<br \/>\nStep 5:<br \/>\n Pull high PWDN. Set OV2640 to power down mode.<br \/>\nStep 6:<br \/>\n Pull XCLK low.<br \/>\n After battery on, OV2640 cameras should be set to power down mode to minimize power<br \/>\nconsumption. The cameras should be initialized first, then set to power down mode.<\/p>\n<p style=\"text-indent: 2em;\">&nbsp;3.2.2 Battery On, Software Reset<br \/>\nt1: from powers on to SCCB software reset, &gt;= 3ms<br \/>\nt2: from software reset to SCCB initialization, &gt;= 2ms<br \/>\nStep 1:<br \/>\n DOVDD, DVDD and AVDD powers are applied. The 3 powers could be applied simultaneously.<br \/>\nIf applied separately, the power on sequence should be DOVDD first, DVDD second and AVDD<br \/>\nlast.<br \/>\n7 Company Confidential<br \/>\nOVT Confidential<br \/>\nOV2640 Camera Module Hardware Application Notes<br \/>\nStep 2:<br \/>\n after 3ms of last power applied, reset OV2640 camera module by SCCB write.<br \/>\nStep 3:<br \/>\n After 2ms, initialize OV2640 by SCCB initialization. Please find the initialization setting from<br \/>\n\u201cOV2640 Camera Module Software Application Notes\u201d or contact OmniVision local FAE.<br \/>\nStep 4:<br \/>\n Pull high PWDN. Set OV2640 to power down mode.<br \/>\nStep 6:<br \/>\n Pull low XCLK.<br \/>\n3.2.3 Wake up From Power Down<br \/>\nStep 1:<br \/>\n Apply XCLK<br \/>\nStep 2:<br \/>\n after 10ms, Pull Low PWDN<br \/>\nStep 3:<br \/>\nOptional Step 4:<br \/>\n Initialization.<br \/>\n3.2.4 Power Down<br \/>\nStep 1:<br \/>\n Pull PWDN pin high.<br \/>\n8 Company Confidential<br \/>\nPWDN<br \/>\nSIO_C<br \/>\nSIO_D<br \/>\nXCLK<br \/>\nPWDN<br \/>\nSIO_C<br \/>\nSIO_D<br \/>\nXCLK<br \/>\nOVT Confidential<br \/>\nOV2640 Camera Module Hardware Application Notes<br \/>\nStep 2:<br \/>\n Pull XCLK low&nbsp;<\/p>\n<p style=\"text-indent: 2em;\">3.3 Camera Operation in Power Off Mode<\/p>\n<p style=\"text-indent: 2em;\">&nbsp;3.3.1 Battery On<br \/>\n No operation. Camera module is power off.&nbsp;<\/p>\n<p style=\"text-indent: 2em;\">3.3.2 Camera On, Hardware Reset<br \/>\nt1: from powers on to SCCB software reset, &gt;= 3ms<br \/>\nt2: from software reset to SCCB initialization, &gt;= 2ms<br \/>\nStep<\/p>\n<p style=\"text-indent: 2em;\">&nbsp;1:<br \/>\n Reset is applied to OV2640 Camera Module.<br \/>\nStep&nbsp;<\/p>\n<p style=\"text-indent: 2em;\">2:<br \/>\n DOVDD, DVDD and AVDD powers are applied. The<span style=\"text-indent: 2em;\">&nbsp;3 powers could be applied simultaneously.<br \/>\nIf applied separately, the power on sequence should be DOVDD first, DVDD second and AVDD<br \/>\nlast.<br \/>\nStep&nbsp;<\/span><\/p>\n<p style=\"text-indent: 2em;\"><span style=\"text-indent: 2em;\">3:<br \/>\n after 3ms of last power applied, pull high Reset.<br \/>\nStep 5:<br \/>\n9 Company Confidential<br \/>\nOVT Confidential<br \/>\nOV2640 Camera Module Hardware Application Notes<br \/>\n After 3ms, initialize OV2640 by SCCB initialization. Please find initialization setting from<br \/>\n\u201cOV2640 Camera Module Software Application Notes\u201dor contact OmniVision local FAE.<br \/>\n3.3.3 Camera On, Software Reset<br \/>\nt1: from powers on to SCCB software reset, &gt;= 3ms<br \/>\nt2: from software reset to SCCB initialization, &gt;= 2ms<br \/>\nStep 1:<br \/>\n DOVDD, DVDD and AVDD powers are applied. The 3 powers could be applied simultaneously.<br \/>\nIf applied separately, the power on sequence should be DOVDD first, DVDD second and AVDD<br \/>\nlast.<br \/>\nStep 2:<br \/>\n after 3ms of last power applied, reset OV2640 camera module by SCCB write.<br \/>\nStep 3:<br \/>\n After 2ms, initialize OV2640 by SCCB initialization. Please find initialization setting from<br \/>\n\u201cOV2640 Camera Module Software Application Notes\u201d or contact with OmniVision local FAE.<br \/>\n10 Company Confidential<br \/>\nOVT Confidential<br \/>\nOV2640 Camera Module Hardware Application Notes<br \/>\n3.3.4 Camera Off<br \/>\nStep 1.<br \/>\n Pull low XCLK,<br \/>\nStep 2.<br \/>\n Turn off AVDD, DVDD and DOVDD. The 3 powers could be turned off simultaneously. If<br \/>\nturned off separately, AVDD should be turned off first, DVDD second and DOVDD third.<br \/>\nStep 3.<br \/>\n Pull Low PWDN and RESET<br \/>\n11 Company Confidential<br \/>\nDOVDD<br \/>\nDVDD<br \/>\nAVDD<br \/>\nXCLK<br \/>\nReset<br \/>\nPWDN<br \/>\nOVT Confidential<br \/>\nOV2640 Camera Module Hardware Application Notes<br \/>\n4. SCCB Bus sharing<br \/>\n The SCCB bus of OV2640 camera module could share with other SCCB device. When OV2640<br \/>\nis working, the read\/write operation is separated by device address. The device address of OV2640<br \/>\nis 0x60. SCCB read\/write to address other than the 2 address above will not affect SCCB registers<br \/>\nof OV2640.<br \/>\n The SCCB bus of OV2640 could be shared with other devices in both power down mode and<br \/>\npower off mode. When OV2640 camera module is power down or power off, the SCCB Bus is<br \/>\nleave free. The SCCB of OV2640 doesn&#39;t affect the read\/write of other SCCB device.<\/p>\n<p>12 Company Confidential<br \/>\nOVT Confidential<\/span><\/p>\n<p><\/p>\n<p><\/p>\n<p><\/p>\n<p><\/p>\n<p><\/p>\n<p><\/p>\n<p><\/p>\n<p><\/p>\n<p><\/p>\n<p><\/p>\n<p><\/p>\n<p><\/p>\n<p><\/p>\n<p><\/p>\n<p><\/p>\n<p><\/p>\n<p><\/p>\n<p><\/p>\n<p><\/p>\n<p><\/p>\n<p><\/p>\n<p><\/p>\n<p><\/p>\n<p><\/p>\n<p><\/p>\n<p><\/p>\n<p><\/p>\n<p><\/p>\n<p><\/p>\n<p><\/p>\n<p><\/p>\n<p><\/p>\n<p><\/p>\n<p><\/p>\n<p><\/p>\n<p><\/p>\n<p><\/p>\n<p><\/p>\n<p><\/p>\n<p><\/p>\n<p><\/p>\n<p><\/p>\n<p><\/p>\n<p><\/p>\n<p><\/p>\n<p><\/p>\n<p><\/p>\n<p><\/p>\n<p><\/p>\n<p><\/p>\n<p><\/p>\n<p><\/p>\n<p><\/p>\n<p><\/p>\n<p><\/p>\n<p><\/p>\n<p><\/p>\n<p><\/p>\n<p><\/p>\n<p><\/p>\n<p><\/p>\n<p><\/p>\n<p><\/p>\n<p><\/p>\n<p><\/p>\n<p><\/p>\n<p><\/p>\n<p><\/p>\n<p><\/p>\n<p><\/p>\n<p><\/p>","protected":false},"excerpt":{"rendered":"<p>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. 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. OV2640 Camera Module Reference Design NOTE: Connector PWDN should be connected to ground if unused. Sensor reset pin RESETB is active low. AVDD is 2.8V sensor analog power. DVDD is 1.3V sensor digital power. DOVDD is 1.8V to 3.0V sensor digital IO power. Sensor AGND and DGND should be separated and connect to a single point at outside PCB (Don&#39;t connect inside module). C2 should close to sensor DVDD and DGND. C3 should close to sensor SVDD, AVDD and AGND. C4 should close to sensor VHRFH and AGND. C5 should close to sensor VREFN and AGND. C6 should close to sensor DOVDD and DGND. C1 should close to sensor EVDD and DGND. D9:D2 is module YUV and RGB 8bits output (D9:MSB, D2:LSB). D9:D0 is module raw RGB 10 bits output (D9:MSB, D0:LSB 2. OV2640 Camera Interface Reference for Camera Phone&nbsp; 2.1 Pin Definition OV2640 has 10-bit video port, D[9:0]. For 10-bit RGB raw output, D[9:0] are used. For 8-bit YCbCr, 8-bit RGB raw or 8-bit RGB 565 output, only D[9:2] are used. The Href and Hsync signal is on the same pin \u2013 Href pin. The function of this pin could be selected as either Href function or Hsync function by SCCB setting. The SIO_C and SIO_D bus should have external pull up resistors, the typical value of the pull up resistors is about 4.7K. Resetb is active low. There is no internal pull-down\/pull-up resistor. It can be controlled by a GPIO, or connected to DOVDD using an external pull-up resistor if not used. If Resetb is connected to DOVDD, the OV2640 camera module could be reset by SCCB setting. PWDN is active high. There is no internal pull-down\/pull-up resistor. It can be controlled by a GPIO, or connected to DGND using an external pull-down resistor if not used. 2.2 Power Supply If DOVDD uses different power supply than AVDD, then 3 regulators should be used. 3. OV2640 Camera Operation&nbsp; 3.1 Power Saving Modes There are 2 kind of power saving modes: power down mode and power off mode. Power down mode means that in power saving mode, all the power supplies to the camera module are kept. The camera is set into power down mode by pull high PWDN. For OV2640, there have big power down current, so power down mode is not supported by OV2640 for power saving. But power down mode is still useful if OV2640 shares SCCB bus with other devices or OV2640 shares video bus with another camera for camera applications. So OV2640 power operation in power down mode is still introduced here. Power off mode means that in power saving mode, all the power supplies to the camera module are cut.&nbsp; 3.2 Camera Operation in Power Down Mode&nbsp; 3.2.1 Battery On, Hardware Reset t1: from powers on to Reset pull high, &gt;= 3ms t2: from Reset pull high to SCCB initialization, &gt;= 3ms Step 1: Reset is applied to OV2640 camera module. Step 2: DOVDD, DVDD and AVDD powers are applied. The 3 powers could be applied simultaneously. If applied separately, the power on sequence should be DOVDD first, DVDD second and AVDD 6 Company Confidential OVT Confidential OV2640 Camera Module Hardware Application Notes last. Step 3: after 3ms of last power applied, pull high Reset. Step 4: After 3ms, initialize OV2640 by SCCB initialization. Please find initialization setting from \u201cOV2640 Camera Module Software Application Notes\u201d or contact OmniVision local FAE. Step 5: Pull high PWDN. Set OV2640 to power down mode. Step 6: Pull XCLK low. After battery on, OV2640 cameras should be set to power down mode to minimize power consumption. The cameras should be initialized first, then set to power down mode. &nbsp;3.2.2 Battery On, Software Reset t1: from powers on to SCCB software reset, &gt;= 3ms t2: from software reset to SCCB initialization, &gt;= 2ms Step 1: DOVDD, DVDD and AVDD powers are applied. The 3 powers could be applied simultaneously. If applied separately, the power on sequence should be DOVDD first, DVDD second and AVDD last. 7 Company Confidential OVT Confidential OV2640 Camera Module Hardware Application Notes Step 2: after 3ms of last power applied, reset OV2640 camera module by SCCB write. Step 3: After 2ms, initialize OV2640 by SCCB initialization. Please find the initialization setting from \u201cOV2640 Camera Module Software Application Notes\u201d or contact OmniVision local FAE. Step 4: Pull high PWDN. Set OV2640 to power down mode. Step 6: Pull low XCLK. 3.2.3 Wake up From Power Down Step 1: Apply XCLK Step 2: after 10ms, Pull Low PWDN Step 3: Optional Step 4: Initialization. 3.2.4 Power Down Step 1: Pull PWDN pin high. 8 Company Confidential PWDN SIO_C SIO_D XCLK PWDN SIO_C SIO_D XCLK OVT Confidential OV2640 Camera Module Hardware Application Notes Step 2: Pull XCLK low&nbsp; 3.3 Camera Operation in Power Off Mode &nbsp;3.3.1 Battery On No operation. Camera module is power off.&nbsp; 3.3.2 Camera On, Hardware Reset t1: from powers on to SCCB software reset, &gt;= 3ms t2: from software reset to SCCB initialization, &gt;= 2ms Step &nbsp;1: Reset is applied to OV2640 Camera Module. Step&nbsp; 2: DOVDD, DVDD and AVDD powers are applied. The&nbsp;3 powers could be applied simultaneously. If applied separately, the power on sequence should be DOVDD first, DVDD second and AVDD last. Step&nbsp; 3: after 3ms of last power applied, pull high Reset. Step 5: 9 Company Confidential OVT Confidential OV2640 Camera Module Hardware Application Notes After 3ms, initialize OV2640 by<\/p>","protected":false},"author":5,"featured_media":11811,"comment_status":"closed","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_eb_attr":"","footnotes":""},"categories":[381],"tags":[388,376,377],"class_list":["post-11810","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-knowledge","tag-ov2640","tag-camera-module","tag-dogoozx"],"_links":{"self":[{"href":"https:\/\/dgzx.hk\/ko\/wp-json\/wp\/v2\/posts\/11810","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/dgzx.hk\/ko\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/dgzx.hk\/ko\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/dgzx.hk\/ko\/wp-json\/wp\/v2\/users\/5"}],"replies":[{"embeddable":true,"href":"https:\/\/dgzx.hk\/ko\/wp-json\/wp\/v2\/comments?post=11810"}],"version-history":[{"count":0,"href":"https:\/\/dgzx.hk\/ko\/wp-json\/wp\/v2\/posts\/11810\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/dgzx.hk\/ko\/wp-json\/wp\/v2\/media\/11811"}],"wp:attachment":[{"href":"https:\/\/dgzx.hk\/ko\/wp-json\/wp\/v2\/media?parent=11810"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/dgzx.hk\/ko\/wp-json\/wp\/v2\/categories?post=11810"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/dgzx.hk\/ko\/wp-json\/wp\/v2\/tags?post=11810"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}