<p>&nbsp;</p>
<h1 style="box-sizing: border-box; font-size: 30px; margin: 16px 0px 20px; font-weight: 500; line-height: 1.1; color: #333333; background-color: #ffffff;"><span class="mw-headline" id="Introduction" style="box-sizing: border-box; text-shadow: none; color: #7eb128;">Introduction</span></h1>
<p style="box-sizing: border-box; margin: 7.5px 16px; overflow-wrap: break-word; line-height: 1.8; color: #333333; font-size: 16px; background-color: #ffffff;">Digital camera based on OV5640, 5 Megapixel</p>
<table style="border-spacing: 0px; background-color: #ffffff; max-width: 100%; height: auto; color: #333333; font-size: 16px;">
   <tbody style="box-sizing: border-box;">
      <tr style="box-sizing: border-box;">
         <td style="box-sizing: border-box; padding: 0px;"><a target="_blank" rel="nofollow noreferrer noopener" class="external text" href="https://www.waveshare.com/ov5640-camera-board-b.htm" style="box-sizing: border-box; background: url(&quot;data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAoAAAAKCAYAAACNMs+9AAAAVklEQVR4Xn3PgQkAMQhDUXfqTu7kTtkpd5RA8AInfArtQ2iRXFWT2QedAfttj2FsPIOE1eCOlEuoWWjgzYaB/IkeGOrxXhqB+uA9Bfcm0lAZuh+YIeAD+cAqSz4kCMUAAAAASUVORK5CYII=&quot;) right center no-repeat; color: #337ab7; text-decoration-line: none; line-height: 1.6; padding-right: 13px;">More</a></td>
         </tr>
      </tbody>
   </table>
<h1 style="box-sizing: border-box; font-size: 30px; margin: 16px 0px 20px; font-weight: 500; line-height: 1.1; color: #333333; background-color: #ffffff;"><span class="mw-headline" id="Resources" style="box-sizing: border-box; text-shadow: none; color: #7eb128;">Resources</span></h1>
<ul style="box-sizing: border-box; margin: 1em 0px 1em 1.2em; padding: 0px 0px 0px 1em; color: #333333; font-size: 16px; background-color: #ffffff;">
   <li style="box-sizing: border-box; margin: 0.5em;"><a target="_blank" rel="nofollow noreferrer noopener" class="external text" href="https://files.waveshare.com/upload/5/52/OV5640_Camera_Board_%28C%29_User_Manual_EN.pdf" style="box-sizing: border-box; background: url(&quot;data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAoAAAAKCAYAAACNMs+9AAAAVklEQVR4Xn3PgQkAMQhDUXfqTu7kTtkpd5RA8AInfArtQ2iRXFWT2QedAfttj2FsPIOE1eCOlEuoWWjgzYaB/IkeGOrxXhqB+uA9Bfcm0lAZuh+YIeAD+cAqSz4kCMUAAAAASUVORK5CYII=&quot;) right center no-repeat; color: #337ab7; text-decoration-line: none; line-height: 1.6; padding-right: 13px;">User Manual</a></li>
   <li style="box-sizing: border-box; margin: 0.5em;"><a target="_blank" rel="nofollow noreferrer noopener" class="external text" href="https://files.waveshare.com/upload/1/1e/OV5640-Camera-Board-Schematic.pdf" style="box-sizing: border-box; background: url(&quot;data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAoAAAAKCAYAAACNMs+9AAAAVklEQVR4Xn3PgQkAMQhDUXfqTu7kTtkpd5RA8AInfArtQ2iRXFWT2QedAfttj2FsPIOE1eCOlEuoWWjgzYaB/IkeGOrxXhqB+uA9Bfcm0lAZuh+YIeAD+cAqSz4kCMUAAAAASUVORK5CYII=&quot;) right center no-repeat; color: #337ab7; text-decoration-line: none; line-height: 1.6; padding-right: 13px;">Schematic</a></li>
   <li style="box-sizing: border-box; margin: 0.5em;"><a target="_blank" rel="nofollow noreferrer noopener" class="external text" href="https://files.waveshare.com/upload/e/ee/OV5640-Camera-Board-%28C%29-Code.7z" style="box-sizing: border-box; background: url(&quot;data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAoAAAAKCAYAAACNMs+9AAAAVklEQVR4Xn3PgQkAMQhDUXfqTu7kTtkpd5RA8AInfArtQ2iRXFWT2QedAfttj2FsPIOE1eCOlEuoWWjgzYaB/IkeGOrxXhqB+uA9Bfcm0lAZuh+YIeAD+cAqSz4kCMUAAAAASUVORK5CYII=&quot;) right center no-repeat; color: #337ab7; text-decoration-line: none; line-height: 1.6; padding-right: 13px;">Code</a></li>
   <li style="box-sizing: border-box; margin: 0.5em;"><a target="_blank" rel="nofollow noreferrer noopener" class="external text" href="https://files.waveshare.com/upload/4/41/UartDisplay.7z" style="box-sizing: border-box; background: url(&quot;data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAoAAAAKCAYAAACNMs+9AAAAVklEQVR4Xn3PgQkAMQhDUXfqTu7kTtkpd5RA8AInfArtQ2iRXFWT2QedAfttj2FsPIOE1eCOlEuoWWjgzYaB/IkeGOrxXhqB+uA9Bfcm0lAZuh+YIeAD+cAqSz4kCMUAAAAASUVORK5CYII=&quot;) right center no-repeat; color: #337ab7; text-decoration-line: none; line-height: 1.6; padding-right: 13px;">Software</a></li>
   <li style="box-sizing: border-box; margin: 0.5em;"><a target="_blank" rel="nofollow noreferrer noopener" class="external text" href="https://files.waveshare.com/upload/d/da/OV5640_DataSheet.pdf" style="box-sizing: border-box; background: url(&quot;data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAoAAAAKCAYAAACNMs+9AAAAVklEQVR4Xn3PgQkAMQhDUXfqTu7kTtkpd5RA8AInfArtQ2iRXFWT2QedAfttj2FsPIOE1eCOlEuoWWjgzYaB/IkeGOrxXhqB+uA9Bfcm0lAZuh+YIeAD+cAqSz4kCMUAAAAASUVORK5CYII=&quot;) right center no-repeat; color: #337ab7; text-decoration-line: none; line-height: 1.6; padding-right: 13px;">Datasheets</a></li>
   <li style="box-sizing: border-box; margin: 0.5em;"><a target="_blank" rel="nofollow noreferrer noopener" class="external text" href="https://files.waveshare.com/upload/d/da/OV5640_DataSheet.pdf" style="box-sizing: border-box; background: url(&quot;data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAoAAAAKCAYAAACNMs+9AAAAVklEQVR4Xn3PgQkAMQhDUXfqTu7kTtkpd5RA8AInfArtQ2iRXFWT2QedAfttj2FsPIOE1eCOlEuoWWjgzYaB/IkeGOrxXhqB+uA9Bfcm0lAZuh+YIeAD+cAqSz4kCMUAAAAASUVORK5CYII=&quot;) right center no-repeat; color: #337ab7; text-decoration-line: none; line-height: 1.6; padding-right: 13px;">Datasheets</a></li>
   <li style="box-sizing: border-box; margin: 0.5em;"><a target="_blank" rel="nofollow noreferrer noopener" class="external text" href="https://files.waveshare.com/upload/b/bb/OV5640-A.pdf" style="box-sizing: border-box; background: url(&quot;data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAoAAAAKCAYAAACNMs+9AAAAVklEQVR4Xn3PgQkAMQhDUXfqTu7kTtkpd5RA8AInfArtQ2iRXFWT2QedAfttj2FsPIOE1eCOlEuoWWjgzYaB/IkeGOrxXhqB+uA9Bfcm0lAZuh+YIeAD+cAqSz4kCMUAAAAASUVORK5CYII=&quot;) right center no-repeat; color: #337ab7; text-decoration-line: none; line-height: 1.6; padding-right: 13px;">OV5640 Camera A Specification</a></li>
   <li style="box-sizing: border-box; margin: 0.5em;"><a target="_blank" rel="nofollow noreferrer noopener" class="external text" href="https://files.waveshare.com/upload/e/e1/OV5640-B.pdf" style="box-sizing: border-box; background: url(&quot;data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAoAAAAKCAYAAACNMs+9AAAAVklEQVR4Xn3PgQkAMQhDUXfqTu7kTtkpd5RA8AInfArtQ2iRXFWT2QedAfttj2FsPIOE1eCOlEuoWWjgzYaB/IkeGOrxXhqB+uA9Bfcm0lAZuh+YIeAD+cAqSz4kCMUAAAAASUVORK5CYII=&quot;) right center no-repeat; color: #337ab7; text-decoration-line: none; line-height: 1.6; padding-right: 13px;">OV5640 Camera B Specification</a></li>
   <li style="box-sizing: border-box; margin: 0.5em;"><a target="_blank" rel="nofollow noreferrer noopener" class="external text" href="https://files.waveshare.com/upload/c/c4/OV5640-C.pdf" style="box-sizing: border-box; background: url(&quot;data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAoAAAAKCAYAAACNMs+9AAAAVklEQVR4Xn3PgQkAMQhDUXfqTu7kTtkpd5RA8AInfArtQ2iRXFWT2QedAfttj2FsPIOE1eCOlEuoWWjgzYaB/IkeGOrxXhqB+uA9Bfcm0lAZuh+YIeAD+cAqSz4kCMUAAAAASUVORK5CYII=&quot;) right center no-repeat; color: #337ab7; text-decoration-line: none; line-height: 1.6; padding-right: 13px;">OV5640 Camera C Specification</a></li>
   <li style="box-sizing: border-box; margin: 0.5em;"><a target="_blank" rel="nofollow noreferrer noopener" class="external text" href="https://files.waveshare.com/upload/c/cb/OV5640_camera_module_software_application_notes_1.3_Sonix.pdf" style="box-sizing: border-box; background: url(&quot;data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAoAAAAKCAYAAACNMs+9AAAAVklEQVR4Xn3PgQkAMQhDUXfqTu7kTtkpd5RA8AInfArtQ2iRXFWT2QedAfttj2FsPIOE1eCOlEuoWWjgzYaB/IkeGOrxXhqB+uA9Bfcm0lAZuh+YIeAD+cAqSz4kCMUAAAAASUVORK5CYII=&quot;) right center no-repeat; color: #337ab7; text-decoration-line: none; line-height: 1.6; padding-right: 13px;">Application notes</a></li>
   <li style="box-sizing: border-box; margin: 0.5em;"><a target="_blank" rel="nofollow noreferrer noopener" class="external text" href="https://files.waveshare.com/upload/1/14/OmniVision_Technologies_Seril_Camera_Control_Bus%28SCCB%29_Specification.pdf" style="box-sizing: border-box; background: url(&quot;data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAoAAAAKCAYAAACNMs+9AAAAVklEQVR4Xn3PgQkAMQhDUXfqTu7kTtkpd5RA8AInfArtQ2iRXFWT2QedAfttj2FsPIOE1eCOlEuoWWjgzYaB/IkeGOrxXhqB+uA9Bfcm0lAZuh+YIeAD+cAqSz4kCMUAAAAASUVORK5CYII=&quot;) right center no-repeat; color: #337ab7; text-decoration-line: none; line-height: 1.6; padding-right: 13px;">SCCB Specification</a></li>
   </ul>
<h1 style="box-sizing: border-box; font-size: 30px; margin: 16px 0px 20px; font-weight: 500; line-height: 1.1; color: #333333; background-color: #ffffff;"><span class="mw-headline" id="FAQ" style="box-sizing: border-box; text-shadow: none; color: #7eb128;">FAQ</span></h1>
<div class="panel-group" style="box-sizing: border-box; margin-bottom: 8px; color: #333333; font-size: 16px; background-color: #ffffff;">
   <div class="panel panel-default" style="box-sizing: border-box; box-shadow: rgb(221, 221, 221) 1px 1px 1px; margin-bottom: 0px; border: 1px solid rgb(221, 221, 221); border-radius: 4px;">
      <div class="panel-heading" style="box-sizing: border-box; padding: 10px 15px; border-bottom: 0px rgb(221, 221, 221); border-top-left-radius: 3px; border-top-right-radius: 3px; background-image: linear-gradient(rgb(245, 245, 245) 0px, rgb(232, 232, 232) 100%); background-repeat: repeat-x; background-color: #f5f5f5; border-top-color: #dddddd; border-right-color: #dddddd; border-left-color: #dddddd;">
         <h4 class="panel-title" style="box-sizing: border-box; font-family: inherit; font-weight: 500; line-height: 19px; color: #7eb128; margin: 15px 10px; font-size: 17px; border-top: none; border-right: none; border-bottom: none; border-image: initial; padding: 2px 8px; background-color: rgba(208, 208, 208, 0); border-left: none !important;"><a data-toggle="collapse" data-parent="#accordion" href="https://www.waveshare.com/wiki/OV5640_Camera_Board_(C)#accordion1" style="box-sizing: border-box; background-color: transparent; text-decoration-line: none; line-height: 1.6;" target="_blank"><b style="box-sizing: border-box;">Question:</b>How do I connect it to an STM32 microcontroller?</a></h4>
         </div>
      <div id="accordion1" class="panel-collapse collapse in" style="box-sizing: border-box;">
         <div class="panel-body" style="box-sizing: border-box; padding: 8px; border-top: 1px solid rgb(221, 221, 221);">
            <div style="box-sizing: border-box;">&nbsp;<b style="box-sizing: border-box;">Answer:</b></div>
            <div style="box-sizing: border-box;">
               <p style="box-sizing: border-box; margin: 7.5px 16px; overflow-wrap: break-word; line-height: 1.8;">Take STM32H743I for example, the wiring is as follows:<br style="box-sizing: border-box;" /><a href="https://www.waveshare.com/wiki/File:OV5680_Camera_c_FAQ.png" class="image" style="box-sizing: border-box; background-color: transparent; color: #337ab7; text-decoration-line: none; line-height: 1.6;" target="_blank"><img alt="OV5680 Camera c FAQ.png" src="https://www.waveshare.com/w/upload/2/24/OV5680_Camera_c_FAQ.png" decoding="async" loading="lazy" width="600" data-file-width="600" data-file-height="243" style="box-sizing: border-box; border: none; vertical-align: middle; max-width: 100%; height: auto;" /></a></p>
               </div>
            <p style="box-sizing: border-box; margin: 7.5px 16px; overflow-wrap: break-word; line-height: 1.8;">&nbsp;</p>
            </div>
         </div>
      </div>
   </div>
<p style="box-sizing: border-box; margin: 7.5px 16px; overflow-wrap: break-word; line-height: 1.8; color: #333333; font-size: 16px; background-color: #ffffff;"><br style="box-sizing: border-box;" /></p>
<div class="panel-group" style="box-sizing: border-box; margin-bottom: 8px; color: #333333; font-size: 16px; background-color: #ffffff;">
   <div class="panel panel-default" style="box-sizing: border-box; box-shadow: rgb(221, 221, 221) 1px 1px 1px; margin-bottom: 0px; border: 1px solid rgb(221, 221, 221); border-radius: 4px;">
      <div class="panel-heading" style="box-sizing: border-box; padding: 10px 15px; border-bottom: 0px rgb(221, 221, 221); border-top-left-radius: 3px; border-top-right-radius: 3px; background-image: linear-gradient(rgb(245, 245, 245) 0px, rgb(232, 232, 232) 100%); background-repeat: repeat-x; background-color: #f5f5f5; border-top-color: #dddddd; border-right-color: #dddddd; border-left-color: #dddddd;">
         <h4 class="panel-title" style="box-sizing: border-box; font-family: inherit; font-weight: 500; line-height: 19px; color: #7eb128; margin: 15px 10px; font-size: 17px; border-top: none; border-right: none; border-bottom: none; border-image: initial; padding: 2px 8px; background-color: rgba(208, 208, 208, 0); border-left: none !important;"><a data-toggle="collapse" data-parent="#accordion" href="https://www.waveshare.com/wiki/OV5640_Camera_Board_(C)#accordion2" style="box-sizing: border-box; background-color: transparent; text-decoration-line: none; line-height: 1.6;" target="_blank"><b style="box-sizing: border-box;">Question:</b>Should I use a 50 MHz oscillator or a 24 MHz oscillator like in the schematic?</a></h4>
         </div>
      <div id="accordion2" class="panel-collapse collapse in" style="box-sizing: border-box;">
         <div class="panel-body" style="box-sizing: border-box; padding: 8px; border-top: 1px solid rgb(221, 221, 221);">
            <div style="box-sizing: border-box;">&nbsp;<b style="box-sizing: border-box;">Answer:</b></div>
            <div style="box-sizing: border-box;">
               <p style="box-sizing: border-box; margin: 7.5px 16px; overflow-wrap: break-word; line-height: 1.8;">You should use a 24 MHz oscillator.</p>
               </div>
            </div>
         </div>
      </div>
   </div>