<h1 style="box-sizing: border-box; margin: 20px 0px 10px; font-size: 36px; font-family: &quot;Helvetica Neue&quot;, Helvetica, Arial, sans-serif; font-weight: 500; line-height: 1.1; color: #333333; background-color: #ffffff;">ESP32 Camera Demo</h1>
<p style="box-sizing: border-box; margin-bottom: 10px; color: #333333; font-family: &quot;Helvetica Neue&quot;, Helvetica, Arial, sans-serif; font-size: 14px; background-color: #ffffff;">Code provided in this repository gets the image from camera and prints it out as ASCII art to the serial port.</p>
<h2 style="box-sizing: border-box; font-family: &quot;Helvetica Neue&quot;, Helvetica, Arial, sans-serif; font-weight: 500; line-height: 1.1; color: #333333; margin-top: 20px; margin-bottom: 10px; font-size: 30px; background-color: #ffffff;">Build Status</h2>
<p style="box-sizing: border-box; margin-bottom: 10px; color: #333333; font-family: &quot;Helvetica Neue&quot;, Helvetica, Arial, sans-serif; font-size: 14px; background-color: #ffffff;"><a href="https://travis-ci.org/igrr/esp32-cam-demo" target="_blank" style="box-sizing: border-box; background-color: transparent; color: #337ab7; text-decoration-line: none;"><img src="https://travis-ci.org/igrr/esp32-cam-demo.svg?branch=master" alt="Build Status" style="box-sizing: border-box; border: 0px; vertical-align: middle; max-width: 500px;" /></a></p>
<h2 style="box-sizing: border-box; font-family: &quot;Helvetica Neue&quot;, Helvetica, Arial, sans-serif; font-weight: 500; line-height: 1.1; color: #333333; margin-top: 20px; margin-bottom: 10px; font-size: 30px; background-color: #ffffff;">Table of Contents</h2>
<ul style="box-sizing: border-box; margin-top: 0px; margin-bottom: 10px; color: #333333; font-family: &quot;Helvetica Neue&quot;, Helvetica, Arial, sans-serif; font-size: 14px; background-color: #ffffff;">
   <li style="box-sizing: border-box;"><a target="_blank" style="box-sizing: border-box; background-color: transparent; color: #337ab7;">Components</a>
      <ul style="box-sizing: border-box; margin-top: 0px; margin-bottom: 0px;">
         <li style="box-sizing: border-box;"><a target="_blank" style="box-sizing: border-box; background-color: transparent; color: #337ab7;">ESP32</a></li>
         <li style="box-sizing: border-box;"><a target="_blank" style="box-sizing: border-box; background-color: transparent; color: #337ab7;">Camera</a></li>
         <li style="box-sizing: border-box;"><a target="_blank" style="box-sizing: border-box; background-color: transparent; color: #337ab7;">Esp-idf</a></li>
         </ul>
      </li>
   <li style="box-sizing: border-box;"><a target="_blank" style="box-sizing: border-box; background-color: transparent; color: #337ab7;">Quick Start</a>
      <ul style="box-sizing: border-box; margin-top: 0px; margin-bottom: 0px;">
         <li style="box-sizing: border-box;"><a target="_blank" style="box-sizing: border-box; background-color: transparent; color: #337ab7;">Connect</a></li>
         <li style="box-sizing: border-box;"><a target="_blank" style="box-sizing: border-box; background-color: transparent; color: #337ab7;">Flash</a></li>
         <li style="box-sizing: border-box;"><a target="_blank" style="box-sizing: border-box; background-color: transparent; color: #337ab7;">Shoot</a></li>
         </ul>
      </li>
   <li style="box-sizing: border-box;"><a target="_blank" style="box-sizing: border-box; background-color: transparent; color: #337ab7;">How it Works</a>
      <ul style="box-sizing: border-box; margin-top: 0px; margin-bottom: 0px;">
         <li style="box-sizing: border-box;"><a target="_blank" style="box-sizing: border-box; background-color: transparent; color: #337ab7;">Software</a></li>
         <li style="box-sizing: border-box;"><a target="_blank" style="box-sizing: border-box; background-color: transparent; color: #337ab7;">Operation</a></li>
         </ul>
      </li>
   <li style="box-sizing: border-box;"><a target="_blank" style="box-sizing: border-box; background-color: transparent; color: #337ab7;">Troubleshooting</a></li>
   <li style="box-sizing: border-box;"><a target="_blank" style="box-sizing: border-box; background-color: transparent; color: #337ab7;">Showcase</a></li>
   <li style="box-sizing: border-box;"><a target="_blank" style="box-sizing: border-box; background-color: transparent; color: #337ab7;">Next Steps</a></li>
   <li style="box-sizing: border-box;"><a target="_blank" style="box-sizing: border-box; background-color: transparent; color: #337ab7;">Contribute</a></li>
   <li style="box-sizing: border-box;"><a target="_blank" style="box-sizing: border-box; background-color: transparent; color: #337ab7;">Acknowledgments</a></li>
   </ul>
<h2 style="box-sizing: border-box; font-family: &quot;Helvetica Neue&quot;, Helvetica, Arial, sans-serif; font-weight: 500; line-height: 1.1; color: #333333; margin-top: 20px; margin-bottom: 10px; font-size: 30px; background-color: #ffffff;">Components</h2>
<p style="box-sizing: border-box; margin-bottom: 10px; color: #333333; font-family: &quot;Helvetica Neue&quot;, Helvetica, Arial, sans-serif; font-size: 14px; background-color: #ffffff;">To make this code work, you need the following components:</p>
<ul style="box-sizing: border-box; margin-top: 0px; margin-bottom: 10px; color: #333333; font-family: &quot;Helvetica Neue&quot;, Helvetica, Arial, sans-serif; font-size: 14px; background-color: #ffffff;">
   <li style="box-sizing: border-box;">This repository. It contains submodules, so make sure you clone it with&nbsp;
      <code style="box-sizing: border-box; font-family: Menlo, Monaco, Consolas, &quot;Courier New&quot;, monospace; font-size: 12.6px; padding: 2px 4px; color: #c7254e; background-color: #f9f2f4; border-radius: 4px;">--recursive</code>
      &nbsp;option. If you have already cloned it without&nbsp;
      <code style="box-sizing: border-box; font-family: Menlo, Monaco, Consolas, &quot;Courier New&quot;, monospace; font-size: 12.6px; padding: 2px 4px; color: #c7254e; background-color: #f9f2f4; border-radius: 4px;">--recursive</code>
      , run&nbsp;
      <code style="box-sizing: border-box; font-family: Menlo, Monaco, Consolas, &quot;Courier New&quot;, monospace; font-size: 12.6px; padding: 2px 4px; color: #c7254e; background-color: #f9f2f4; border-radius: 4px;">git submodule update --init</code>
      .</li>
   <li style="box-sizing: border-box;"><a href="https://espressif.com/en/products/hardware/esp32/overview" target="_blank" style="box-sizing: border-box; background-color: transparent; color: #337ab7; text-decoration-line: none;">ESP32</a>&nbsp;module</li>
   <li style="box-sizing: border-box;">Camera module</li>
   <li style="box-sizing: border-box;">PC with&nbsp;<a href="https://github.com/espressif/esp-idf" target="_blank" style="box-sizing: border-box; background-color: transparent; color: #337ab7; text-decoration-line: none;">esp-idf</a></li>
   </ul>
<p style="box-sizing: border-box; margin-bottom: 10px; color: #333333; font-family: &quot;Helvetica Neue&quot;, Helvetica, Arial, sans-serif; font-size: 14px; background-color: #ffffff;">See the following sections for more details.</p>
<h3 style="box-sizing: border-box; font-family: &quot;Helvetica Neue&quot;, Helvetica, Arial, sans-serif; font-weight: 500; line-height: 1.1; color: #333333; margin-top: 20px; margin-bottom: 10px; font-size: 24px; background-color: #ffffff;">ESP32</h3>
<p style="box-sizing: border-box; margin-bottom: 10px; color: #333333; font-family: &quot;Helvetica Neue&quot;, Helvetica, Arial, sans-serif; font-size: 14px; background-color: #ffffff;">Any ESP32 module should work, if it has sufficient number of GPIO pins available to interface with camera. See section&nbsp;<a target="_blank" style="box-sizing: border-box; background-color: transparent; color: #337ab7;">Connect</a>&nbsp;for more details.</p>
<p style="box-sizing: border-box; margin-bottom: 10px; color: #333333; font-family: &quot;Helvetica Neue&quot;, Helvetica, Arial, sans-serif; font-size: 14px; background-color: #ffffff;">If you are an owner of&nbsp;<a href="http://dl.espressif.com/dl/schematics/ESP32-DevKitJ-v1_sch.pdf" target="_blank" style="box-sizing: border-box; background-color: transparent; color: #337ab7; text-decoration-line: none;">ESP-WROVER V1 (aka DevKitJ)</a>, then camera connector is already broken out.</p>
<h3 style="box-sizing: border-box; font-family: &quot;Helvetica Neue&quot;, Helvetica, Arial, sans-serif; font-weight: 500; line-height: 1.1; color: #333333; margin-top: 20px; margin-bottom: 10px; font-size: 24px; background-color: #ffffff;">Camera</h3>
<p style="box-sizing: border-box; margin-bottom: 10px; color: #333333; font-family: &quot;Helvetica Neue&quot;, Helvetica, Arial, sans-serif; font-size: 14px; background-color: #ffffff;">This example has been tested with OV7725 camera module. Use it, if this is your first exposure to interfacing a microcontroller with a camera.</p>
<p style="box-sizing: border-box; margin-bottom: 10px; color: #333333; font-family: &quot;Helvetica Neue&quot;, Helvetica, Arial, sans-serif; font-size: 14px; background-color: #ffffff;">Other OV7xxx series should work as well, with some changes to camera configuration code. OV5xxx can work too, but it is advisable to choose the ones which support RGB or YUV 8-bit wide output bus. The ones which only output 10-bit raw data may be a bit harder to work with. Also choose the camera which can output a scaled down (QVGA or VGA) image. Use of larger frame buffers will require external SPI RAM.</p>
<h3 style="box-sizing: border-box; font-family: &quot;Helvetica Neue&quot;, Helvetica, Arial, sans-serif; font-weight: 500; line-height: 1.1; color: #333333; margin-top: 20px; margin-bottom: 10px; font-size: 24px; background-color: #ffffff;">ESP-IDF</h3>
<p style="box-sizing: border-box; margin-bottom: 10px; color: #333333; font-family: &quot;Helvetica Neue&quot;, Helvetica, Arial, sans-serif; font-size: 14px; background-color: #ffffff;">Configure your PC according to&nbsp;<a href="http://esp-idf.readthedocs.io/en/latest/?badge=latest" target="_blank" style="box-sizing: border-box; background-color: transparent; color: #337ab7; text-decoration-line: none;">ESP32 Documentation</a>.&nbsp;<a href="http://esp-idf.readthedocs.io/en/latest/windows-setup.html" target="_blank" style="box-sizing: border-box; background-color: transparent; color: #337ab7; text-decoration-line: none;">Windows</a>,&nbsp;<a href="http://esp-idf.readthedocs.io/en/latest/linux-setup.html" target="_blank" style="box-sizing: border-box; background-color: transparent; color: #337ab7; text-decoration-line: none;">Linux</a>&nbsp;and&nbsp;<a href="http://esp-idf.readthedocs.io/en/latest/macos-setup.html" target="_blank" style="box-sizing: border-box; background-color: transparent; color: #337ab7; text-decoration-line: none;">Mac OS</a>&nbsp;are supported. If this is you first exposure to ESP32 and&nbsp;<a href="https://github.com/espressif/esp-idf" target="_blank" style="box-sizing: border-box; background-color: transparent; color: #337ab7; text-decoration-line: none;">esp-idf</a>, then get familiar with&nbsp;<a href="https://github.com/espressif/esp-idf/tree/master/examples/01_hello_world" target="_blank" style="box-sizing: border-box; background-color: transparent; color: #337ab7; text-decoration-line: none;">01_hello_world</a>&nbsp;and&nbsp;<a href="https://github.com/espressif/esp-idf/tree/master/examples/02_blink" target="_blank" style="box-sizing: border-box; background-color: transparent; color: #337ab7; text-decoration-line: none;">02_blink</a>&nbsp;examples. Make them work and understand before proceeding further.</p>
<h2 style="box-sizing: border-box; font-family: &quot;Helvetica Neue&quot;, Helvetica, Arial, sans-serif; font-weight: 500; line-height: 1.1; color: #333333; margin-top: 20px; margin-bottom: 10px; font-size: 30px; background-color: #ffffff;">Quick Start</h2>
<p style="box-sizing: border-box; margin-bottom: 10px; color: #333333; font-family: &quot;Helvetica Neue&quot;, Helvetica, Arial, sans-serif; font-size: 14px; background-color: #ffffff;">If you have your components ready, follow this section to&nbsp;<a target="_blank" style="box-sizing: border-box; background-color: transparent; color: #337ab7;">connect</a>&nbsp;the camera to ESP32 module,&nbsp;<a target="_blank" style="box-sizing: border-box; background-color: transparent; color: #337ab7;">flash</a>application to the ESP32 and finally&nbsp;<a target="_blank" style="box-sizing: border-box; background-color: transparent; color: #337ab7;">shoot</a>&nbsp;and display the image.</p>
<h2 style="box-sizing: border-box; font-family: &quot;Helvetica Neue&quot;, Helvetica, Arial, sans-serif; font-weight: 500; line-height: 1.1; color: #333333; margin-top: 20px; margin-bottom: 10px; font-size: 30px; background-color: #ffffff;">Connect</h2>
<p style="box-sizing: border-box; margin-bottom: 10px; color: #333333; font-family: &quot;Helvetica Neue&quot;, Helvetica, Arial, sans-serif; font-size: 14px; background-color: #ffffff;">Specific pins used in this example to connect ESP32 and camera are shown in table below. Pinout can be adjusted to some extent in software. Table below provides two options of pin mapping (last two columns).</p>
<table style="box-sizing: border-box; border-spacing: 0px; background-color: #ffffff; color: #333333; font-family: &quot;Helvetica Neue&quot;, Helvetica, Arial, sans-serif; font-size: 14px;">
   <thead style="box-sizing: border-box;">
      <tr style="box-sizing: border-box;">
         <th style="box-sizing: border-box; padding: 0px; text-align: left;">Interface</th>
         <th style="box-sizing: border-box; padding: 0px; text-align: center;">Camera Pin</th>
         <th style="box-sizing: border-box; padding: 0px; text-align: center;">Pin Mapping for ESP32 DevKitJ</th>
         <th style="box-sizing: border-box; padding: 0px; text-align: center;">Alternate ESP32 Pin Mapping</th>
         </tr>
      </thead>
   <tbody style="box-sizing: border-box;">
      <tr style="box-sizing: border-box;">
         <td style="box-sizing: border-box; padding: 0px;">SCCB Clock</td>
         <td style="box-sizing: border-box; padding: 0px; text-align: center;">SIOC</td>
         <td style="box-sizing: border-box; padding: 0px; text-align: center;">IO27</td>
         <td style="box-sizing: border-box; padding: 0px; text-align: center;">IO23</td>
         </tr>
      <tr style="box-sizing: border-box;">
         <td style="box-sizing: border-box; padding: 0px;">SCCB Data</td>
         <td style="box-sizing: border-box; padding: 0px; text-align: center;">SIOD</td>
         <td style="box-sizing: border-box; padding: 0px; text-align: center;">IO26</td>
         <td style="box-sizing: border-box; padding: 0px; text-align: center;">IO25</td>
         </tr>
      <tr style="box-sizing: border-box;">
         <td style="box-sizing: border-box; padding: 0px;">System Clock</td>
         <td style="box-sizing: border-box; padding: 0px; text-align: center;">XCLK</td>
         <td style="box-sizing: border-box; padding: 0px; text-align: center;">IO21</td>
         <td style="box-sizing: border-box; padding: 0px; text-align: center;">IO27</td>
         </tr>
      <tr style="box-sizing: border-box;">
         <td style="box-sizing: border-box; padding: 0px;">Vertical Sync</td>
         <td style="box-sizing: border-box; padding: 0px; text-align: center;">VSYNC</td>
         <td style="box-sizing: border-box; padding: 0px; text-align: center;">IO25</td>
         <td style="box-sizing: border-box; padding: 0px; text-align: center;">IO22</td>
         </tr>
      <tr style="box-sizing: border-box;">
         <td style="box-sizing: border-box; padding: 0px;">Horizontal Reference</td>
         <td style="box-sizing: border-box; padding: 0px; text-align: center;">HREF</td>
         <td style="box-sizing: border-box; padding: 0px; text-align: center;">IO23</td>
         <td style="box-sizing: border-box; padding: 0px; text-align: center;">IO26</td>
         </tr>
      <tr style="box-sizing: border-box;">
         <td style="box-sizing: border-box; padding: 0px;">Pixel Clock</td>
         <td style="box-sizing: border-box; padding: 0px; text-align: center;">PCLK</td>
         <td style="box-sizing: border-box; padding: 0px; text-align: center;">IO22</td>
         <td style="box-sizing: border-box; padding: 0px; text-align: center;">IO21</td>
         </tr>
      <tr style="box-sizing: border-box;">
         <td style="box-sizing: border-box; padding: 0px;">Pixel Data Bit 0</td>
         <td style="box-sizing: border-box; padding: 0px; text-align: center;">D2</td>
         <td style="box-sizing: border-box; padding: 0px; text-align: center;">IO4</td>
         <td style="box-sizing: border-box; padding: 0px; text-align: center;">IO35</td>
         </tr>
      <tr style="box-sizing: border-box;">
         <td style="box-sizing: border-box; padding: 0px;">Pixel Data Bit 1</td>
         <td style="box-sizing: border-box; padding: 0px; text-align: center;">D3</td>
         <td style="box-sizing: border-box; padding: 0px; text-align: center;">IO5</td>
         <td style="box-sizing: border-box; padding: 0px; text-align: center;">IO17</td>
         </tr>
      <tr style="box-sizing: border-box;">
         <td style="box-sizing: border-box; padding: 0px;">Pixel Data Bit 2</td>
         <td style="box-sizing: border-box; padding: 0px; text-align: center;">D4</td>
         <td style="box-sizing: border-box; padding: 0px; text-align: center;">IO18</td>
         <td style="box-sizing: border-box; padding: 0px; text-align: center;">IO34</td>
         </tr>
      <tr style="box-sizing: border-box;">
         <td style="box-sizing: border-box; padding: 0px;">Pixel Data Bit 3</td>
         <td style="box-sizing: border-box; padding: 0px; text-align: center;">D5</td>
         <td style="box-sizing: border-box; padding: 0px; text-align: center;">IO19</td>
         <td style="box-sizing: border-box; padding: 0px; text-align: center;">IO5</td>
         </tr>
      <tr style="box-sizing: border-box;">
         <td style="box-sizing: border-box; padding: 0px;">Pixel Data Bit 4</td>
         <td style="box-sizing: border-box; padding: 0px; text-align: center;">D6</td>
         <td style="box-sizing: border-box; padding: 0px; text-align: center;">IO36</td>
         <td style="box-sizing: border-box; padding: 0px; text-align: center;">IO39</td>
         </tr>
      <tr style="box-sizing: border-box;">
         <td style="box-sizing: border-box; padding: 0px;">Pixel Data Bit 5</td>
         <td style="box-sizing: border-box; padding: 0px; text-align: center;">D7</td>
         <td style="box-sizing: border-box; padding: 0px; text-align: center;">IO39</td>
         <td style="box-sizing: border-box; padding: 0px; text-align: center;">IO18</td>
         </tr>
      <tr style="box-sizing: border-box;">
         <td style="box-sizing: border-box; padding: 0px;">Pixel Data Bit 6</td>
         <td style="box-sizing: border-box; padding: 0px; text-align: center;">D8</td>
         <td style="box-sizing: border-box; padding: 0px; text-align: center;">IO34</td>
         <td style="box-sizing: border-box; padding: 0px; text-align: center;">IO36</td>
         </tr>
      <tr style="box-sizing: border-box;">
         <td style="box-sizing: border-box; padding: 0px;">Pixel Data Bit 7</td>
         <td style="box-sizing: border-box; padding: 0px; text-align: center;">D9</td>
         <td style="box-sizing: border-box; padding: 0px; text-align: center;">IO35</td>
         <td style="box-sizing: border-box; padding: 0px; text-align: center;">IO19</td>
         </tr>
      <tr style="box-sizing: border-box;">
         <td style="box-sizing: border-box; padding: 0px;">Camera Reset</td>
         <td style="box-sizing: border-box; padding: 0px; text-align: center;">RESET</td>
         <td style="box-sizing: border-box; padding: 0px; text-align: center;">IO2</td>
         <td style="box-sizing: border-box; padding: 0px; text-align: center;">IO15</td>
         </tr>
      <tr style="box-sizing: border-box;">
         <td style="box-sizing: border-box; padding: 0px;">Camera Power Down</td>
         <td style="box-sizing: border-box; padding: 0px; text-align: center;">PWDN</td>
         <td style="box-sizing: border-box; padding: 0px; text-align: center;"><em style="box-sizing: border-box;">see Note 3</em></td>
         <td style="box-sizing: border-box; padding: 0px; text-align: center;"><em style="box-sizing: border-box;">see Note 3</em></td>
         </tr>
      <tr style="box-sizing: border-box;">
         <td style="box-sizing: border-box; padding: 0px;">Power Supply 3.3V</td>
         <td style="box-sizing: border-box; padding: 0px; text-align: center;">3V3</td>
         <td style="box-sizing: border-box; padding: 0px; text-align: center;">3V3</td>
         <td style="box-sizing: border-box; padding: 0px; text-align: center;">3V3</td>
         </tr>
      <tr style="box-sizing: border-box;">
         <td style="box-sizing: border-box; padding: 0px;">Ground</td>
         <td style="box-sizing: border-box; padding: 0px; text-align: center;">GND</td>
         <td style="box-sizing: border-box; padding: 0px; text-align: center;">GND</td>
         <td style="box-sizing: border-box; padding: 0px; text-align: center;">GND</td>
         </tr>
      </tbody>
   </table>
<p style="box-sizing: border-box; margin-bottom: 10px; color: #333333; font-family: &quot;Helvetica Neue&quot;, Helvetica, Arial, sans-serif; font-size: 14px; background-color: #ffffff;">Notes:</p>
<ol style="box-sizing: border-box; margin-top: 0px; margin-bottom: 10px; color: #333333; font-family: &quot;Helvetica Neue&quot;, Helvetica, Arial, sans-serif; font-size: 14px; background-color: #ffffff;">
   <li style="box-sizing: border-box;"><span style="box-sizing: border-box; font-weight: 700;">Important:</span>&nbsp;Make the connections short or you are likely to get noisy or even not legible images. More on that is discussed in section&nbsp;<a target="_blank" style="box-sizing: border-box; background-color: transparent; color: #337ab7;">Showcase</a></li>
   <li style="box-sizing: border-box;"><span style="box-sizing: border-box; font-weight: 700;">Camera pin</span>&nbsp;column refers to pinout on OV7725 camera module</li>
   <li style="box-sizing: border-box;"><span style="box-sizing: border-box; font-weight: 700;">Camera Power Down</span>&nbsp;pin does not need to be connected to ESP32 GPIO. Instead it may be pulled down to ground with 10 kOhm resistor.</li>
   <li style="box-sizing: border-box;">OV7725 supports 10 bit image pixels. In this example the upper 8 bits are processed and saved. The pins corresponding with LSB are marked D0 and D1 and are left not connected.</li>
   </ol>
<p style="box-sizing: border-box; margin-bottom: 10px; color: #333333; font-family: &quot;Helvetica Neue&quot;, Helvetica, Arial, sans-serif; font-size: 14px; background-color: #ffffff;">If you have&nbsp;<a href="http://dl.espressif.com/dl/schematics/ESP32-DevKitJ-v1_sch.pdf" target="_blank" style="box-sizing: border-box; background-color: transparent; color: #337ab7; text-decoration-line: none;">ESP-WROVER V1 (aka DevKitJ)</a>, then camera connector is already broken out and labeled Camera / JP4. Solder 2.54 mm / 0.1" double row, 18 pin socket in provided space and plug the camera module right into it. Line up 3V3 and GND pins on camera module and on ESP-WROVER. D0 and D1 should be left not connected outside the socket.</p>
<p style="box-sizing: border-box; margin-bottom: 10px; color: #333333; font-family: &quot;Helvetica Neue&quot;, Helvetica, Arial, sans-serif; font-size: 14px; background-color: #ffffff;">To connect the camera to Core Board V2 (aka DevKitC), consider alternate pin mapping (see the last column of table) that provides clean wiring layout shown below.</p>
<p style="box-sizing: border-box; margin-bottom: 10px; color: #333333; font-family: &quot;Helvetica Neue&quot;, Helvetica, Arial, sans-serif; font-size: 14px; background-color: #ffffff;"><img src="https://raw.githubusercontent.com/igrr/esp32-cam-demo/master/pictures/ov7725-alternate-wiring.png" alt="alt text" title="Wiring for Core Board V2 (aka DevKitC)" style="box-sizing: border-box; border: 0px; vertical-align: middle; max-width: 500px;" /></p>
<table border="0" cellpadding="0" cellspacing="0" width="432" style="width: 324pt;"><colgroup><col width="72" span="6" style="width:54pt" /></colgroup>
   <tbody>
      <tr height="18" style="height:13.5pt">
         <td height="18" class="xl65" width="72" style="height:13.5pt;width:54pt">ESP32</td>
         <td class="xl66" width="72" style="border-left:none;width:54pt">DevKit</td>
         <td colspan="2" class="xl71" width="144" style="border-right:1.0pt solid black;
  width:108pt">OV2640 Module</td>
         <td class="xl69" width="72" style="width:54pt">DevKit</td>
         <td class="xl65" width="72" style="width:54pt">ESP32</td>
         </tr>
      <tr height="18" style="height:13.5pt">
         <td height="18" class="xl64" style="height:13.5pt;border-top:none">　</td>
         <td class="xl68" style="border-top:none">　</td>
         <td class="xl73" style="border-top:none">GND</td>
         <td class="xl74" style="border-top:none;border-left:none">3.3V</td>
         <td class="xl70" style="border-top:none">　</td>
         <td class="xl67" style="border-top:none">　</td>
         </tr>
      <tr height="18" style="height:13.5pt">
         <td height="18" class="xl65" style="height:13.5pt;border-top:none">GPIO25</td>
         <td class="xl69" style="border-top:none">IO25</td>
         <td class="xl75" style="border-top:none">SIOD&nbsp;</td>
         <td class="xl76" style="border-top:none;border-left:none">SIDC</td>
         <td class="xl69" style="border-top:none">IO23</td>
         <td class="xl65" style="border-top:none">GPIO23</td>
         </tr>
      <tr height="18" style="height:13.5pt">
         <td height="18" class="xl65" style="height:13.5pt;border-top:none">GPIO26</td>
         <td class="xl69" style="border-top:none">IO26</td>
         <td class="xl75" style="border-top:none">HREF</td>
         <td class="xl76" style="border-top:none;border-left:none">VSYNC</td>
         <td class="xl69" style="border-top:none">IO22</td>
         <td class="xl65" style="border-top:none">GPIO22</td>
         </tr>
      <tr height="18" style="height:13.5pt">
         <td height="18" class="xl65" style="height:13.5pt;border-top:none">GPIO27</td>
         <td class="xl69" style="border-top:none">IO27</td>
         <td class="xl75" style="border-top:none">XCLK</td>
         <td class="xl76" style="border-top:none;border-left:none">PCLK</td>
         <td class="xl69" style="border-top:none">IO21</td>
         <td class="xl65" style="border-top:none">GPIO21</td>
         </tr>
      <tr height="18" style="height:13.5pt">
         <td height="18" class="xl65" style="height:13.5pt;border-top:none">GPIO36</td>
         <td class="xl69" style="border-top:none">SVP/3</td>
         <td class="xl75" style="border-top:none">D8</td>
         <td class="xl76" style="border-top:none;border-left:none">D9</td>
         <td class="xl69" style="border-top:none">IO19</td>
         <td class="xl65" style="border-top:none">GPIO19</td>
         </tr>
      <tr height="18" style="height:13.5pt">
         <td height="18" class="xl65" style="height:13.5pt;border-top:none">GPIO39</td>
         <td class="xl69" style="border-top:none">SVN/3</td>
         <td class="xl75" style="border-top:none">D6</td>
         <td class="xl76" style="border-top:none;border-left:none">D7</td>
         <td class="xl69" style="border-top:none">IO18</td>
         <td class="xl65" style="border-top:none">GPIO18</td>
         </tr>
      <tr height="18" style="height:13.5pt">
         <td height="18" class="xl65" style="height:13.5pt;border-top:none">GPIO34</td>
         <td class="xl69" style="border-top:none">IO34</td>
         <td class="xl75" style="border-top:none">D4</td>
         <td class="xl76" style="border-top:none;border-left:none">D5</td>
         <td class="xl69" style="border-top:none">IO5</td>
         <td class="xl65" style="border-top:none">GPIO5</td>
         </tr>
      <tr height="18" style="height:13.5pt">
         <td height="18" class="xl65" style="height:13.5pt;border-top:none">GPIO35</td>
         <td class="xl69" style="border-top:none">IO35</td>
         <td class="xl75" style="border-top:none">D2</td>
         <td class="xl76" style="border-top:none;border-left:none">D3</td>
         <td class="xl69" style="border-top:none">IO17</td>
         <td class="xl65" style="border-top:none">GPIO17</td>
         </tr>
      <tr height="22" style="mso-height-source:userset;height:16.5pt">
         <td colspan="2" height="22" class="xl79" style="border-right:1.0pt solid black;
  height:16.5pt">GND(10k use)</td>
         <td class="xl75" style="border-top:none;border-left:none">PWDN</td>
         <td class="xl76" style="border-top:none;border-left:none">RESET</td>
         <td class="xl69" style="border-top:none">IO15</td>
         <td class="xl65" style="border-top:none">GPIO15</td>
         </tr>
      <tr height="19" style="height:14.25pt">
         <td height="19" class="xl65" style="height:14.25pt;border-top:none">　</td>
         <td class="xl69" style="border-top:none">　</td>
         <td class="xl77" style="border-top:none">D0</td>
         <td class="xl78" style="border-top:none;border-left:none">D1</td>
         <td class="xl69" style="border-top:none">　</td>
         <td class="xl65" style="border-top:none">　</td>
         </tr>
      </tbody>
   </table>
<p style="box-sizing: border-box; margin-bottom: 10px; color: #333333; font-family: &quot;Helvetica Neue&quot;, Helvetica, Arial, sans-serif; font-size: 14px; background-color: #ffffff;">2.2uF capacitor conencted between GND and EN pins of ESP32module is added to resolve&nbsp;<a href="https://github.com/espressif/esptool/issues/136" target="_blank" style="box-sizing: border-box; background-color: transparent; color: #337ab7; text-decoration-line: none;">ESP32 Reset To Bootloader Issues on Windows #136</a>.</p>