get-started-devkitc.rst 4.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108
  1. ESP32-DevKitC V4 Getting Started Guide (CMake)
  2. ==============================================
  3. 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`.
  4. What You Need
  5. -------------
  6. * 1 × :ref:`ESP32-DevKitC V4 board <get-started-esp32-devkitc-board-front-cmake>`
  7. * 1 × USB A / micro USB B cable
  8. * 1 × PC loaded with Windows, Linux or Mac OS
  9. If you want to start using this board right now, go directly to Section `Start Application Development`_.
  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 pin headers on both sides for easy interfacing. Developers can connect these pins to peripherals as needed. Standard headers also make development easy and convenient when using a breadboard.
  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>` and :ref:`esp-modules-and-boards-esp32-solo-1`.
  14. Functional Description
  15. ----------------------
  16. The following list and figure below describe key components, interfaces and controls of ESP32-DevKitC V4 board.
  17. ESP-WROOM-32
  18. :ref:`esp-modules-and-boards-esp32-wroom-32` module soldered to the ESP32-DevKitC V4 board. Optionally ESP32-WROOM-32D, ESP32-WROOM-32U or ESP32-SOLO-1 module may be soldered instead of the ESP32-WROOM-32.
  19. USB-UART Bridge
  20. A single chip USB-UART bridge provides up to 3 Mbps transfers rates.
  21. Boot
  22. 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.
  23. Micro USB Port
  24. USB interface. It functions as the power supply for the board and the communication interface between PC and the ESP module.
  25. 5V Power On LED
  26. This LED lights when the USB or an external 5V power supply is applied to the board. For details see schematic in `Related Documents`_.
  27. EN
  28. Reset button: pressing this button resets the system.
  29. I/O
  30. Most of the pins on the ESP module are broken out to the pin headers on the board. Users can program ESP32 to enable multiple functions such as PWM, ADC, DAC, I2C, I2S, SPI, etc.
  31. .. note::
  32. Some of broken out pins are used internally be the ESP32 module to communicate with SPI memory. They are grouped on one side of the board besides the USB connector and labeled D0, D1, D2, D3, CMD and CLK. In general these pins should be left unconnected or access to the SPI flash memory / SPI RAM may be disturbed.
  33. .. note::
  34. GPIO16 and 17 are used internally by the ESP32-WROVER module. They are broken out and avialable for use only for boards that have the ESP-WROOM-32 module installed.
  35. .. _get-started-esp32-devkitc-board-front-cmake:
  36. .. figure:: ../../_static/esp32-devkitc-functional-overview.jpg
  37. :align: center
  38. :alt: ESP32-DevKitC V4 with ESP-WROOM-32 module soldered
  39. :figclass: align-center
  40. ESP32-DevKitC V4 with ESP-WROOM-32 module soldered
  41. Power Supply Options
  42. --------------------
  43. There following options are available to provide power supply to this board:
  44. 1. Micro USB port, this is default power supply connection
  45. 2. 5V / GND header pins
  46. 3. 3V3 / GND header pins
  47. .. warning::
  48. 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.
  49. Start Application Development
  50. ------------------------------
  51. Before powering up the ESP32-DevKitC, please make sure that the board has been received in good condition with no obvious signs of damage.
  52. To start development of applications, proceed to Section :doc:`index`, that will walk you through the :ref:`get-started-step-by-step-cmake`.
  53. Board Dimensions
  54. ----------------
  55. .. figure:: ../../_static/esp32-devkitc-dimensions-back.jpg
  56. :align: center
  57. :alt: ESP32 DevKitC board dimensions - back
  58. :figclass: align-center
  59. ESP32 DevKitC board dimensions - back
  60. Related Documents
  61. -----------------
  62. * `ESP32-DevKitC V4 schematic <https://dl.espressif.com/dl/schematics/esp32_devkitc_v4-sch.pdf>`_ (PDF)
  63. * `ESP32 Datasheet <https://www.espressif.com/sites/default/files/documentation/esp32_datasheet_en.pdf>`_ (PDF)
  64. * `ESP-WROOM-32 Datasheet <https://espressif.com/sites/default/files/documentation/esp-wroom-32_datasheet_en.pdf>`_ (PDF)
  65. * `ESP32-WROVER Datasheet <https://espressif.com/sites/default/files/documentation/esp32-wrover_datasheet_en.pdf>`_ (PDF)
  66. .. toctree::
  67. :hidden:
  68. get-started-devkitc-v2