get-started-devkitc.rst 8.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153
  1. ESP32-DevKitC V4 Getting Started Guide
  2. ======================================
  3. :link_to_translation:`zh_CN:[中文]`
  4. This guide shows how to start using the ESP32-DevKitC V4 development board. For description of other versions of ESP32-DevKitC check :doc:`../../hw-reference/index`.
  5. What You Need
  6. -------------
  7. * ESP32-DevKitC V4 board
  8. * USB A / micro USB B cable
  9. * Computer running Windows, Linux, or macOS
  10. You can skip the introduction sections and go directly to Section `Start Application Development`_.
  11. .. _DevKitC-Overview:
  12. Overview
  13. --------
  14. ESP32-DevKitC V4 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.
  15. To cover a wide range of user requirements, the following versions of ESP32-DevKitC V4 are available:
  16. - different ESP32 modules
  17. - :ref:`esp-modules-and-boards-esp32-wroom-32`
  18. - :ref:`ESP32-WROOM-32D <esp-modules-and-boards-esp32-wroom-32d-and-u>`
  19. - :ref:`ESP32-WROOM-32U <esp-modules-and-boards-esp32-wroom-32d-and-u>`
  20. - :ref:`esp-modules-and-boards-esp32-solo-1`
  21. - :ref:`ESP32-WROVER <esp-modules-and-boards-esp32-wrover>`
  22. - :ref:`ESP32-WROVER-B <esp-modules-and-boards-esp32-wrover>`
  23. - :ref:`ESP32-WROVER-I <esp-modules-and-boards-esp32-wrover>`
  24. - :ref:`ESP32-WROVER-B (IPEX) <esp-modules-and-boards-esp32-wrover>`
  25. - male or female pin headers.
  26. For details please refer to `Espressif Product Ordering Information`_.
  27. Functional Description
  28. ----------------------
  29. The following figure and the table below describe the key components, interfaces and controls of the ESP32-DevKitC V4 board.
  30. .. _get-started-esp32-devkitc-board-front:
  31. .. figure:: ../../../_static/esp32-devkitc-functional-overview.jpg
  32. :align: center
  33. :alt: ESP32-DevKitC V4 with ESP-WROOM-32 module soldered
  34. :figclass: align-center
  35. ESP32-DevKitC V4 with ESP32-WROOM-32 module soldered
  36. +--------------------+--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
  37. | Key Component | Description |
  38. +====================+======================================================================================================================================================================================+
  39. | ESP32-WROOM-32 | A module with ESP32 at its core. |
  40. +--------------------+--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
  41. | EN | Reset button. |
  42. +--------------------+--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
  43. | Boot | Download button. Holding down **Boot** and then pressing **EN** initiates Firmware Download mode for downloading firmware through the serial port. |
  44. +--------------------+--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
  45. | USB-to-UART Bridge | Single USB-UART bridge chip provides transfer rates of up to 3 Mbps. |
  46. +--------------------+--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
  47. | Micro USB Port | USB interface. Power supply for the board as well as the communication interface between a computer and the ESP32 module. |
  48. +--------------------+--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
  49. | 5V Power On LED | Turns on when the USB or an external 5V power supply is connected to the board. For details see the schematics in `Related Documents`_. |
  50. +--------------------+--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
  51. | 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. |
  52. +--------------------+--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
  53. .. note::
  54. The pins D0, D1, D2, D3, CMD and CLK are used internally for communication between ESP32 and SPI flash memory. They are grouped on both sides near the USB connector. Avoid using these pins, as it may disrupt access to the SPI flash memory / SPI RAM.
  55. .. note::
  56. The pins GPIO16 and GPIO17 are available for use only on the boards with the modules ESP32-WROOM and ESP32-SOLO-1. The boards with ESP32-WROVER modules have the pins reserved for internal use.
  57. Power Supply Options
  58. --------------------
  59. There are three mutually exclusive ways to provide power to the board:
  60. * Micro USB port, default power supply
  61. * 5V / GND header pins
  62. * 3V3 / GND header pins
  63. .. warning::
  64. 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.
  65. Note on C15
  66. -----------
  67. The component C15 may cause the following issues on earlier ESP32-DevKitC V4 boards:
  68. * The board may boot into Download mode
  69. * If you output clock on GPIO0, C15 may impact the signal
  70. In case these issues occur, please remove the component. The figure below shows C15 highlighted in yellow.
  71. .. figure:: ../../../_static/esp32-devkitc-c15-location.png
  72. :align: center
  73. :alt: Location of C15 (colored yellow) on ESP32-DevKitC V4 board
  74. :figclass: align-center
  75. :width: 30%
  76. Location of C15 (yellow) on ESP32-DevKitC V4 board
  77. Start Application Development
  78. ------------------------------
  79. Before powering up your ESP32-DevKitC V4, please make sure that the board is in good condition with no obvious signs of damage.
  80. After that, 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 example project onto your board.
  81. Board Dimensions
  82. ----------------
  83. .. figure:: ../../../_static/esp32-devkitc-dimensions-back.jpg
  84. :align: center
  85. :alt: ESP32 DevKitC board dimensions - back
  86. :figclass: align-center
  87. ESP32 DevKitC board dimensions - back
  88. Related Documents
  89. -----------------
  90. * `ESP32-DevKitC V4 schematics <https://dl.espressif.com/dl/schematics/esp32_devkitc_v4-sch.pdf>`_ (PDF)
  91. * `ESP32 Datasheet <https://www.espressif.com/sites/default/files/documentation/esp32_datasheet_en.pdf>`_ (PDF)
  92. * `ESP32-WROOM-32 Datasheet <https://espressif.com/sites/default/files/documentation/esp32-wroom-32_datasheet_en.pdf>`_ (PDF)
  93. * `ESP32-WROOM-32D & ESP32-WROOM-32U Datasheet <https://www.espressif.com/sites/default/files/documentation/esp32-wroom-32d_esp32-wroom-32u_datasheet_en.pdf>`_ (PDF)
  94. * `ESP32-WROVER Datasheet <https://espressif.com/sites/default/files/documentation/esp32-wrover_datasheet_en.pdf>`_ (PDF)
  95. * `ESP32-WROVER-B Datasheet <https://www.espressif.com/sites/default/files/documentation/esp32-wrover-b_datasheet_en.pdf>`_ (PDF)
  96. * `Espressif Product Ordering Information <https://www.espressif.com/sites/default/files/documentation/espressif_products_ordering_information_en.pdf>`_ (PDF)
  97. .. toctree::
  98. :hidden:
  99. get-started-devkitc-v2