2018-08-08 07:58:00 +00:00
ESP32-DevKitC V2 Getting Started Guide (CMake)
==============================================
2019-03-13 16:10:26 +00:00
:link_to_translation:`zh_CN:[中文]`
This guide shows how to start using the ESP32-DevKitC V2 development board.
2018-08-08 07:58:00 +00:00
What You Need
-------------
2019-03-13 16:10:26 +00:00
* :ref: `ESP32-DevKitC V2 board <get-started-esp32-devkitc-v2-board-front-cmake>`
* USB A / micro USB B cable
* Computer running Windows, Linux, or macOS
2018-08-08 07:58:00 +00:00
2019-03-13 16:10:26 +00:00
You can skip the introduction sections and go directly to Section `Start Application Development`_ .
2019-02-04 20:51:50 +00:00
2018-08-08 07:58:00 +00:00
Overview
--------
2019-03-13 16:10:26 +00:00
ESP32-DevKitC V2 is a small-sized ESP32-based development board produced by `Espressif <https://espressif.com> `_ . Most of the I/O pins are broken out to the pin headers on both sides for easy interfacing. Developers can either connect peripherals with jumper wires or mount ESP32-DevKitC V4 on a breadboard.
2018-08-08 07:58:00 +00:00
Functional Description
----------------------
2019-03-13 16:10:26 +00:00
The following figure and the table below describe the key components, interfaces and controls of the ESP32-DevKitC V2 board.
2018-08-08 07:58:00 +00:00
.. _get-started-esp32-devkitc-v2-board-front-cmake:
.. figure :: ../../_static/esp32-devkitc-v2-functional-overview.png
:align: center
:alt: ESP32-DevKitC V2 board layout
:figclass: align-center
ESP32-DevKitC V2 board layout
2019-03-13 16:10:26 +00:00
+---------------------+-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
| Key Component | Description |
+=====================+=========================================================================================================================================================================================+
| ESP32-WROOM-32 | Standard module with ESP32 at its core. For more information, see `ESP32-WROOM-32 Datasheet <https://espressif.com/sites/default/files/documentation/esp32-wroom-32_datasheet_en.pdf> `_ |
+---------------------+-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
| EN | Reset button. |
+---------------------+-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
| Boot | Download button. Holding down **Boot** and then pressing **EN** initiates Firmware Download mode for downloading firmware through the serial port. |
+---------------------+-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
| Micro USB Port | USB interface. Power supply for the board as well as the communication interface between a computer and ESP32-WROOM-32. |
+---------------------+-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
| I/O | Most of the pins on the ESP module are broken out to the pin headers on the board. You can program ESP32 to enable multiple functions such as PWM, ADC, DAC, I2C, I2S, SPI, etc. |
+---------------------+-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
2018-08-08 07:58:00 +00:00
Power Supply Options
--------------------
2019-03-13 16:10:26 +00:00
There are three mutually exclusive ways to provide power to the board:
2018-08-08 07:58:00 +00:00
2019-03-13 16:10:26 +00:00
* Micro USB port, default power supply
* 5V / GND header pins
* 3V3 / GND header pins
2018-08-08 07:58:00 +00:00
.. warning ::
2019-03-13 16:10:26 +00:00
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.
2018-08-08 07:58:00 +00:00
Start Application Development
------------------------------
2019-03-13 16:10:26 +00:00
Before powering up your ESP32-DevKitC V2, please make sure that the board is in good condition with no obvious signs of damage.
2018-08-08 07:58:00 +00:00
2019-03-13 16:10:26 +00:00
After that, proceed to :doc: `index` , where Section :ref: `get-started-step-by-step-cmake` will quickly help you set up the development environment and then flash an example project onto your board.
2018-08-08 07:58:00 +00:00
Related Documents
-----------------
2019-03-13 16:10:26 +00:00
* `ESP32-DevKitC schematics <https://dl.espressif.com/dl/schematics/ESP32-Core-Board-V2_sch.pdf> `_ (PDF)
2018-08-08 07:58:00 +00:00
* `ESP32 Datasheet <https://www.espressif.com/sites/default/files/documentation/esp32_datasheet_en.pdf> `_ (PDF)
2019-03-13 16:10:26 +00:00
* `ESP32-WROOM-32 Datasheet <https://espressif.com/sites/default/files/documentation/esp32-wroom-32_datasheet_en.pdf> `_ (PDF)