get-started-devkitc.rst 6.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134
  1. ESP32-DevKitC V4 Getting Started Guide
  2. ======================================
  3. :link_to_translation:`zh_CN:[中文]`
  4. This user guide shows how to get started with ESP32-DevKitC V4 development board. For description of other versions of the ESP32-DevKitC check :doc:`../hw-reference/index`.
  5. What You Need
  6. -------------
  7. * 1 × :ref:`ESP32-DevKitC V4 board <get-started-esp32-devkitc-board-front>`
  8. * 1 × USB A / micro USB B cable
  9. * 1 × PC loaded with Windows, Linux or Mac OS
  10. Overview
  11. --------
  12. 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 female pin headers on both sides for easy interfacing. Developers can connect these pins to peripherals as needed. Standard female headers also make development easy and convenient when using Dupont wires.
  13. The board supports various ESP32 modules, including :ref:`esp-modules-and-boards-esp32-wroom-32`, :ref:`ESP32-WROOM-32U <esp-modules-and-boards-esp32-wroom-32d-and-u>`, :ref:`ESP32-WROOM-32D <esp-modules-and-boards-esp32-wroom-32d-and-u>`, :ref:`esp-modules-and-boards-esp32-solo-1`, and :ref:`esp-modules-and-boards-esp32-wrover` series.
  14. .. note::
  15. Espressif also provides several variants of ESP32-DevKitC that come with specific ESP32 module and female or male pin headers, supporting different requirements of different users. For details please refer to `Espressif Product Ordering Information`_.
  16. Functional Description
  17. ----------------------
  18. The following list and figure below describe key components, interfaces and controls of ESP32-DevKitC V4 board.
  19. ESP32-WROOM-32D
  20. :ref:`ESP32-WROOM-32D <esp-modules-and-boards-esp32-wroom-32d-and-u>` soldered to the ESP32-DevKitC V4 board.
  21. Optional Space for ESP32-WROVER
  22. Longer :ref:`esp-modules-and-boards-esp32-wrover` modules may be soldered instead of the ESP32-WROOM-32.
  23. USB-to-UART Bridge
  24. A single chip USB-to-UART bridge provides up to 3 Mbps transfers rates.
  25. Boot Button
  26. Download button: holding down the **Boot** button and pressing the **EN** button initiates the firmware download mode. Then user can download firmware through the serial port.
  27. EN Button
  28. Reset button: pressing this button resets the system.
  29. Micro USB Port
  30. USB interface. It functions as the power supply for the board and the communication interface between PC and the ESP module.
  31. Power On LED
  32. Turns on when the power supply is applied to the board. For details see schematic in `Related Documents`_.
  33. I/O Connector
  34. Most of the pins on the ESP module are broken out to the female pin headers on the board. Users can program ESP32 to enable multiple functions such as PWM, ADC, DAC, I2C, I2S, SPI, etc.
  35. .. note::
  36. Some of broken out pins are used internally by the ESP32-WROOM-32, ESP32-WROOM-32D/U and ESP32-SOLO-1 modules to communicate with SPI memory. They are grouped on one side of the board besides the USB connector and labeled CLK, D0, D1, D2, D3 and CMD (GPIO6 - GPIO11). In general these pins should be left unconnected, otherwise access to the SPI flash memory / SPI RAM may be disturbed.
  37. .. _get-started-esp32-devkitc-board-front:
  38. .. figure:: ../../_static/esp32-devkitc-functional-overview-f.jpeg
  39. :align: center
  40. :alt: ESP32-DevKitC V4 with ESP32-WROOM-32 module soldered
  41. :figclass: align-center
  42. ESP32-DevKitC V4 with ESP32-WROOM-32D module soldered
  43. Power Supply Options
  44. --------------------
  45. There following options are available to provide power supply to this board:
  46. 1. Micro USB port, this is default power supply connection
  47. 2. 5V / GND header pins
  48. 3. 3V3 / GND header pins
  49. .. warning::
  50. Above options are mutually exclusive, i.e. the power supply may be provided using only one of the above options. Attempt to power the board using more than one connection at a time may damage the board and/or the power supply source.
  51. Note on C15
  52. -----------
  53. The C15, on the board of earlier batches of V4, may bring two issues:
  54. 1. The board may boot into download mode;
  55. 2. If users output clock on GPIO0, C15 may impact the clock output.
  56. As a result, if users believe that C15 will impact their use of the board, they can remove it completely (please refer to the screenshot below for the precise location of C15 that is colored in yellow). Otherwise, users do not need to concern about C15.
  57. .. figure:: ../../_static/esp32-devkitc-c15-location.png
  58. :align: center
  59. :alt: Location of C15 (colored yellow) on ESP32-DevKitC V4 board
  60. :figclass: align-center
  61. :width: 30%
  62. Location of C15 (colored yellow) on ESP32-DevKitC V4 board
  63. Start Application Development
  64. ------------------------------
  65. Before powering up the ESP32-DevKitC, please make sure that the board has been received in good condition with no obvious signs of damage.
  66. To start development of applications, proceed to section :doc:`index`, that will walk you through the following steps:
  67. * :ref:`get-started-setup-toolchain` in your PC to develop applications for ESP32 in C language
  68. * :ref:`get-started-connect` the module to the PC and verify if it is accessible
  69. * :ref:`get-started-build-flash` an example application to the ESP32
  70. * :ref:`get-started-build-monitor` instantly what the application is doing
  71. Board Dimensions
  72. ----------------
  73. .. figure:: ../../_static/esp32-devkitc-v4-dimensions-back.jpeg
  74. :align: center
  75. :alt: ESP32-DevKitC board dimensions - back
  76. :figclass: align-center
  77. ESP32-DevKitC board dimensions - back
  78. Related Documents
  79. -----------------
  80. * `ESP32-DevKitC V4 schematic <https://dl.espressif.com/dl/schematics/esp32_devkitc_v4-sch-20180607a.pdf>`_ (PDF)
  81. * `ESP32 Datasheet <https://www.espressif.com/sites/default/files/documentation/esp32_datasheet_en.pdf>`_ (PDF)
  82. * `ESP32-WROOM-32 Datasheet <https://espressif.com/sites/default/files/documentation/esp32-wroom-32_datasheet_en.pdf>`_ (PDF)
  83. * `ESP32-WROOM-32D/U Datasheet <https://www.espressif.com/sites/default/files/documentation/esp32-wroom-32d_esp32-wroom-32u_datasheet_en.pdf>`_ (PDF)
  84. * `Espressif Product Ordering Information <https://www.espressif.com/sites/default/files/documentation/espressif_products_ordering_information_en.pdf>`_ (PDF)
  85. .. toctree::
  86. :hidden:
  87. get-started-devkitc-v2