|
| 1 | +=================== |
| 2 | + ESP32-DevKitM-1 |
| 3 | +=================== |
| 4 | + |
| 5 | +:link_to_translation:`zh_CN:[中文]` |
| 6 | + |
| 7 | +This user guide will help you get started with ESP32-DevKitM-1 and will also provide more in-depth information. |
| 8 | + |
| 9 | +ESP32-DevKitM-1 is an ESP32-MINI-1-based development board produced by Espressif. Most of the I/O pins are broken out to the pin headers on both sides for easy interfacing. Users can either connect peripherals with jumper wires or mount ESP32-DevKitM-1 on a breadboard. |
| 10 | + |
| 11 | + |
| 12 | ++---------------------------+-------------------------------+ |
| 13 | +| |ESP32-DevKitM-1 - front| | |ESP32-DevKitM-1 - isometric| | |
| 14 | ++---------------------------+-------------------------------+ |
| 15 | +| ESP32-DevKitM-1 - front | ESP32-DevKitM-1 - isometric | |
| 16 | ++---------------------------+-------------------------------+ |
| 17 | + |
| 18 | +.. |ESP32-DevKitM-1 - front| image:: ../../../_static/esp32-DevKitM-1-front.png |
| 19 | + |
| 20 | +.. |ESP32-DevKitM-1 - isometric| image:: ../../../_static/esp32-DevKitM-1-isometric.png |
| 21 | + |
| 22 | + |
| 23 | + |
| 24 | +The document consists of the following major sections: |
| 25 | + |
| 26 | +- `Getting started`_: Provides an overview of the ESP32-DevKitM-1 and hardware/software setup instructions to get started. |
| 27 | +- `Hardware reference`_: Provides more detailed information about the ESP32-DevKitM-1's hardware. |
| 28 | +- `Related Documents`_: Gives links to related documentaiton. |
| 29 | + |
| 30 | +Getting Started |
| 31 | +=================== |
| 32 | + |
| 33 | +This section describes how to get started with ESP32-DevKitM-1. It begins with a few introductory sections about the ESP32-DevKitM-1, then Section `Start Application Development`_ provides instructions on how to do the initial hardware setup and then how to flash firmware onto the ESP32-DevKitM-1. |
| 34 | + |
| 35 | + |
| 36 | +Overview |
| 37 | +------------- |
| 38 | + |
| 39 | + |
| 40 | +This is a small and convenient development board that features: |
| 41 | + |
| 42 | +- `ESP32-MINI-1 module <https://www.espressif.com/sites/default/files/documentation/esp32-mini-1_datasheet_en.pdf>`_ |
| 43 | +- USB-to-serial programming interface that also provides power supply for the board |
| 44 | +- pin headers |
| 45 | +- pushbuttons for reset and activation of Firmware Download mode |
| 46 | +- a few other components |
| 47 | + |
| 48 | + |
| 49 | +Contents and Packaging |
| 50 | +-------------------------- |
| 51 | + |
| 52 | +Retail orders |
| 53 | +^^^^^^^^^^^^^^^^^^^^^^^^^^ |
| 54 | + |
| 55 | +If you order a few samples, each ESP32-DevKitM-1 comes in an individual package in either antistatic bag or any packaging depending on your retailer. |
| 56 | + |
| 57 | +For retail orders, please go to https://www.espressif.com/en/company/contact/buy-a-sample. |
| 58 | + |
| 59 | + |
| 60 | +Wholesale Orders |
| 61 | +^^^^^^^^^^^^^^^^^^^^^^^^^^^^ |
| 62 | + |
| 63 | +If you order in bulk, the boards come in large cardboard boxes. |
| 64 | + |
| 65 | +For wholesale orders, please check `Espressif Product Ordering Information <https://www.espressif.com/sites/default/files/documentation/espressif_products_ordering_information_en.pdf>`_ (PDF) |
| 66 | + |
| 67 | + |
| 68 | +Description of Components |
| 69 | +---------------------------- |
| 70 | + |
| 71 | +The following figure and the table below describe the key components, interfaces and controls of the ESP32-DevKitM-1 board. |
| 72 | + |
| 73 | + |
| 74 | +.. figure:: ../../../_static/esp32-devkitm-1-v1-annotated-photo.png |
| 75 | + :align: center |
| 76 | + :alt: ESP32-DevKitM-1 - front |
| 77 | + :figclass: align-center |
| 78 | + |
| 79 | + ESP32-DevKitM-1 - front |
| 80 | + |
| 81 | + |
| 82 | +.. list-table:: |
| 83 | + :widths: 25 75 |
| 84 | + :header-rows: 1 |
| 85 | + |
| 86 | + * - Key Component |
| 87 | + - Description |
| 88 | + * - ESP32-MINI-1 |
| 89 | + - ESP32-MINI-1 is a powerful module with 4 MB Flash and a PCB antenna. For details, please see `ESP32-MINI-1 Datasheet <https://www.espressif.com/sites/default/files/documentation/esp32-mini-1_datasheet_en.pdf>`_. |
| 90 | + * - 5 V to 3.3 V LDO |
| 91 | + - Power regulator converts 5 V to 3.3 V. |
| 92 | + * - Boot Button |
| 93 | + - Download button. Holding down **Boot** and then pressing **Reset** initiates Firmware Download mode for downloading firmware through the serial port. |
| 94 | + * - Reset Button |
| 95 | + - Reset Button |
| 96 | + * - Micro-USB Port |
| 97 | + - USB interface. Power supply for the board as well as the communication interface between a computer and the ESP32 chip. |
| 98 | + * - USB-to-UART Bridge |
| 99 | + - Single USB-UART bridge chip provides transfer rates up to 3 Mbps. |
| 100 | + * - 3.3 V Power On LED |
| 101 | + - Turns on when the USB is connected to the board. For details, please see the schematics in `Related Documents`_. |
| 102 | + * - I/O Connector |
| 103 | + - All available GPIO pins (except for the SPI bus for flash) are broken out to the pin headers on the board. Users can program ESP32 chip to enable multiple functions. |
| 104 | + |
| 105 | + |
| 106 | + |
| 107 | +Start Application Development |
| 108 | +---------------------------------- |
| 109 | + |
| 110 | +Before powering up your ESP32-DevKitM-1, please make sure that it is in good condition with no obvious signs of damage. |
| 111 | + |
| 112 | + |
| 113 | +Required Hardware |
| 114 | +^^^^^^^^^^^^^^^^^^^^^^ |
| 115 | + |
| 116 | +- ESP32-DevKitM-1 |
| 117 | +- USB 2.0 cable (Standard-A to Micro-B) |
| 118 | +- Computer running Windows, Linux, or macOS |
| 119 | + |
| 120 | + |
| 121 | +Software Setup |
| 122 | +^^^^^^^^^^^^^^^^^^^^^ |
| 123 | + |
| 124 | +Please proceed to :doc:`../../get-started/index`, where Section :ref:`get-started-step-by-step` will quickly help you set up the development environment and then flash an application example onto your ESP32-DevKitM-1. |
| 125 | + |
| 126 | + |
| 127 | +Hardware Reference |
| 128 | +====================== |
| 129 | + |
| 130 | +Block Diagram |
| 131 | +---------------------- |
| 132 | + |
| 133 | +A block diagram below shows the components of ESP32-DevKitM-1 and their interconnections. |
| 134 | + |
| 135 | +.. figure:: ../../../_static/esp32-DevKitM-1_v1_SystemBlock.png |
| 136 | + :align: center |
| 137 | + :alt: ESP32-DevKitM-1 |
| 138 | + :figclass: align-center |
| 139 | + |
| 140 | + ESP32-DevKitM-1 |
| 141 | + |
| 142 | + |
| 143 | +Power Source Select |
| 144 | +---------------------- |
| 145 | + |
| 146 | +There are three mutually exclusive ways to provide power to the board: |
| 147 | + |
| 148 | +* Micro USB port, default power supply |
| 149 | +* 5V and GND header pins |
| 150 | +* 3V3 and GND header pins |
| 151 | + |
| 152 | +.. warning:: |
| 153 | + |
| 154 | + - The power supply must be provided using **one and only one of the options above**, otherwise the board and/or the power supply source can be damaged. |
| 155 | + - Power supply by micro USB port is recommended. |
| 156 | + |
| 157 | + |
| 158 | +Pin Descriptions |
| 159 | +------------------- |
| 160 | + |
| 161 | +The table below provides the Name and Function of pins on both sides of the board. For peripheral pin configurations, please refer to `ESP32 Datasheet`_. |
| 162 | + |
| 163 | + |
| 164 | +.. list-table:: |
| 165 | + :header-rows: 1 |
| 166 | + :widths: 10 12 12 66 |
| 167 | + |
| 168 | + |
| 169 | + * - No. |
| 170 | + - Name |
| 171 | + - Type |
| 172 | + - Function |
| 173 | + * - 1 |
| 174 | + - GND |
| 175 | + - P |
| 176 | + - Ground |
| 177 | + * - 2 |
| 178 | + - 3V3 |
| 179 | + - P |
| 180 | + - 3.3 V power supply |
| 181 | + * - 3 |
| 182 | + - I36 |
| 183 | + - I |
| 184 | + - GPIO36, ADC1_CH0, RTC_GPIO0 |
| 185 | + * - 4 |
| 186 | + - I37 |
| 187 | + - I |
| 188 | + - GPIO37, ADC1_CH1, RTC_GPIO1 |
| 189 | + * - 5 |
| 190 | + - I38 |
| 191 | + - I |
| 192 | + - GPIO38, ADC1_CH2, RTC_GPIO2 |
| 193 | + * - 6 |
| 194 | + - I39 |
| 195 | + - I |
| 196 | + - GPIO39, ADC1_CH3, RTC_GPIO3 |
| 197 | + * - 7 |
| 198 | + - RST |
| 199 | + - I |
| 200 | + - Reset; High: enable; Low: powers off |
| 201 | + * - 8 |
| 202 | + - I34 |
| 203 | + - I |
| 204 | + - GPIO34, ADC1_CH6, RTC_GPIO4 |
| 205 | + * - 9 |
| 206 | + - I35 |
| 207 | + - I |
| 208 | + - GPIO35, ADC1_CH7, RTC_GPIO5 |
| 209 | + * - 10 |
| 210 | + - IO32 |
| 211 | + - I/O |
| 212 | + - GPIO32, XTAL_32K_P (32.768 kHz crystal oscillator input), ADC1_CH4, TOUCH9, RTC_GPIO9 |
| 213 | + * - 11 |
| 214 | + - IO33 |
| 215 | + - I/O |
| 216 | + - GPIO33, XTAL_32K_N (32.768 kHz crystal oscillator output), ADC1_CH5, TOUCH8, RTC_GPIO8 |
| 217 | + * - 12 |
| 218 | + - IO25 |
| 219 | + - I/O |
| 220 | + - GPIO25, DAC_1, ADC2_CH8, RTC_GPIO6, EMAC_RXD0 |
| 221 | + * - 13 |
| 222 | + - IO26 |
| 223 | + - I/O |
| 224 | + - GPIO26, DAC_2, ADC2_CH9, RTC_GPIO7, EMAC_RXD1 |
| 225 | + * - 14 |
| 226 | + - IO27 |
| 227 | + - I/O |
| 228 | + - GPIO27, ADC2_CH7, TOUCH7, RTC_GPIO17, EMAC_RX_DV |
| 229 | + * - 15 |
| 230 | + - IO14 |
| 231 | + - I/O |
| 232 | + - GPIO14, ADC2_CH6, TOUCH6, RTC_GPIO16, MTMS, HSPICLK, HS2_CLK, SD_CLK, EMAC_TXD2 |
| 233 | + * - 16 |
| 234 | + - 5V |
| 235 | + - P |
| 236 | + - 5 V power supply |
| 237 | + * - 17 |
| 238 | + - IO12 |
| 239 | + - I/O |
| 240 | + - GPIO12, ADC2_CH5, TOUCH5, RTC_GPIO15, MTDI, HSPIQ, HS2_DATA2, SD_DATA2, EMAC_TXD3 |
| 241 | + * - 18 |
| 242 | + - IO13 |
| 243 | + - I/O |
| 244 | + - GPIO13, ADC2_CH4, TOUCH4, RTC_GPIO14, MTCK, HSPID, HS2_DATA3, SD_DATA3, EMAC_RX_ER |
| 245 | + * - 19 |
| 246 | + - IO15 |
| 247 | + - I/O |
| 248 | + - GPIO15, ADC2_CH3, TOUCH3, RTC_GPIO13, MTDO, HSPICS0, HS2_CMD, SD_CMD, EMAC_RXD3 |
| 249 | + * - 20 |
| 250 | + - IO2 |
| 251 | + - I/O |
| 252 | + - GPIO2, ADC2_CH2, TOUCH2, RTC_GPIO12, HSPIWP, HS2_DATA0, SD_DATA0 |
| 253 | + * - 21 |
| 254 | + - IO0 |
| 255 | + - I/O |
| 256 | + - GPIO0, ADC2_CH1, TOUCH1, RTC_GPIO11, CLK_OUT1, EMAC_TX_CLK |
| 257 | + * - 22 |
| 258 | + - IO4 |
| 259 | + - I/O |
| 260 | + - GPIO4, ADC2_CH0, TOUCH0, RTC_GPIO10, HSPIHD, HS2_DATA1, SD_DATA1, EMAC_TX_ER |
| 261 | + * - 23 |
| 262 | + - IO9 |
| 263 | + - I/O |
| 264 | + - GPIO9, HS1_DATA2, U1RXD, SD_DATA2 |
| 265 | + * - 24 |
| 266 | + - IO10 |
| 267 | + - I/O |
| 268 | + - GPIO10, HS1_DATA3, U1TXD, SD_DATA3 |
| 269 | + * - 25 |
| 270 | + - IO5 |
| 271 | + - I/O |
| 272 | + - GPIO5, HS1_DATA6, VSPICS0, EMAC_RX_CLK |
| 273 | + * - 26 |
| 274 | + - IO18 |
| 275 | + - I/O |
| 276 | + - GPIO18, HS1_DATA7, VSPICLK |
| 277 | + * - 27 |
| 278 | + - IO23 |
| 279 | + - I/O |
| 280 | + - GPIO23, HS1_STROBE, VSPID |
| 281 | + * - 28 |
| 282 | + - IO19 |
| 283 | + - I/O |
| 284 | + - GPIO19, VSPIQ, U0CTS, EMAC_TXD0 |
| 285 | + * - 29 |
| 286 | + - IO22 |
| 287 | + - I/O |
| 288 | + - GPIO22, VSPIWP, U0RTS, EMAC_TXD1 |
| 289 | + * - 30 |
| 290 | + - IO21 |
| 291 | + - I/O |
| 292 | + - GPIO21, VSPIHD, EMAC_TX_EN |
| 293 | + * - 31 |
| 294 | + - TXD0 |
| 295 | + - I/O |
| 296 | + - GPIO1, U0TXD, CLK_OUT3, EMAC_RXD2 |
| 297 | + * - 32 |
| 298 | + - RXD0 |
| 299 | + - I/O |
| 300 | + - GPIO3, U0RXD, CLK_OUT2 |
| 301 | + |
| 302 | + |
| 303 | +Hardware Revision Details |
| 304 | +============================ |
| 305 | + |
| 306 | +No previous versions available. |
| 307 | + |
| 308 | + |
| 309 | +Related Documents |
| 310 | +============================ |
| 311 | + |
| 312 | +* `ESP32-MINI-1 Datasheet <https://www.espressif.com/sites/default/files/documentation/esp32-mini-1_datasheet_en.pdf>`_ (PDF) |
| 313 | +* `ESP32-DevKitM-1 Schematics <https://dl.espressif.com/dl/schematics/SCH_ESP32-DEVKITM-1_V1_20200910A.pdf>`_ (PDF) |
| 314 | +* `ESP32-DevKitM-1 PCB layout <https://dl.espressif.com/dl/schematics/PCB_ESP32-DevKitM-1_V1_20200910AE.pdf>`_ (PDF) |
| 315 | +* `ESP32-DevKitM-1 layout <https://dl.espressif.com/dl/schematics/ESP32-DevKitM-1_V1.dxf>`_ (DXF) - You can view it with `Autodesk Viewer <https://viewer.autodesk.com/>`_ online |
| 316 | +* `Espressif Product Ordering Information <https://www.espressif.com/sites/default/files/documentation/espressif_products_ordering_information_en.pdf>`_ (PDF) |
| 317 | +* `ESP32 Datasheet <https://www.espressif.com/sites/default/files/documentation/esp32_datasheet_en.pdf>`_ (PDF) |
| 318 | + |
| 319 | +For other design documentation for the board, please contact us at [email protected]. |
0 commit comments