user-guide-devkitm-1.rst 9.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240
  1. ==================
  2. ESP32-C3-DevKitM-1
  3. ==================
  4. :link_to_translation:`zh_CN:[中文]`
  5. This user guide will help you get started with ESP32-C3-DevKitM-1 and will also provide more in-depth information.
  6. ESP32-C3-DevKitM-1 is an entry-level development board based on `ESP32-C3-MINI-1 <https://www.espressif.com/sites/default/files/documentation/esp32-c3-mini-1_datasheet_en.pdf>`_, a module named for its small size. This board integrates complete Wi-Fi and Bluetooth® Low Energy functions.
  7. Most of the I/O pins on the ESP32-C3-MINI-1 module are broken out to the pin headers on both sides of this board for easy interfacing. Developers can either connect peripherals with jumper wires or mount ESP32-C3-DevKitM-1 on a breadboard.
  8. .. figure:: ../../../_static/esp32-c3-devkitm-1-v1-isometric.png
  9. :align: center
  10. :alt: ESP32-C3-DevKitM-1
  11. :figclass: align-center
  12. ESP32-C3-DevKitM-1
  13. The document consists of the following major sections:
  14. - `Getting Started`_: Overview of ESP32-C3-DevKitM-1 and hardware/software setup instructions to get started.
  15. - `Hardware Reference`_: More detailed information about the ESP32-C3-DevKitM-1's hardware.
  16. - `Hardware Revision Details`_: Revision history, known issues, and links to user guides for previous versions (if any) of ESP32-C3-DevKitM-1.
  17. - `Related Documents`_: Links to related documentation.
  18. Getting Started
  19. ===============
  20. This section provides a brief introduction of ESP32-C3-DevKitM-1, instructions on how to do the initial hardware setup and how to flash firmware onto it.
  21. Description of Components
  22. -------------------------
  23. .. _user-guide-c3-devkitm-1-v1-board-front:
  24. .. figure:: ../../../_static/esp32-c3-devkitm-1-v1-annotated-photo.png
  25. :align: center
  26. :alt: ESP32-C3-DevKitM-1 - front
  27. :figclass: align-center
  28. ESP32-C3-DevKitM-1 - front
  29. The key components of the board are described in a counter-clockwise direction.
  30. .. list-table::
  31. :widths: 30 70
  32. :header-rows: 1
  33. * - Key Component
  34. - Description
  35. * - ESP32-C3-MINI-1
  36. - ESP32-C3-MINI-1 is a general-purpose Wi-Fi and Bluetooth Low Energy combo module that comes with a PCB antenna. At the core of this module is `ESP32-C3FN4 <https://www.espressif.com/sites/default/files/documentation/esp32-c3_datasheet_en.pdf>`_, a chip that has an embedded flash of 4 MB. Since flash is packaged in the ESP32-C3FN4 chip, rather than integrated into the module, ESP32-C3-MINI-1 has a smaller package size.
  37. * - 5 V to 3.3 V LDO
  38. - Power regulator that converts a 5 V supply into a 3.3 V output.
  39. * - 5 V Power On LED
  40. - Turns on when the USB power is connected to the board.
  41. * - Pin Headers
  42. - All available GPIO pins (except for the SPI bus for flash) are broken out to the pin headers on the board. For details, please see :ref:`user-guide-c3-devkitm-1-v1-header-blocks`.
  43. * - Boot Button
  44. - Download button. Holding down **Boot** and then pressing **Reset** initiates Firmware Download mode for downloading firmware through the serial port.
  45. * - Micro-USB Port
  46. - USB interface. Power supply for the board as well as the communication interface between a computer and the ESP32-C3FN4 chip.
  47. * - Reset Button
  48. - Press this button to restart the system.
  49. * - USB-to-UART Bridge
  50. - Single USB-UART bridge chip provides transfer rates up to 3 Mbps.
  51. * - RGB LED
  52. - Addressable RGB LED, driven by GPIO8.
  53. Start Application Development
  54. -----------------------------
  55. Before powering up your ESP32-C3-DevKitM-1, please make sure that it is in good condition with no obvious signs of damage.
  56. Required Hardware
  57. ^^^^^^^^^^^^^^^^^
  58. - ESP32-C3-DevKitM-1
  59. - USB 2.0 cable (Standard-A to Micro-B)
  60. - Computer running Windows, Linux, or macOS
  61. .. note::
  62. Be sure to use an appropriate USB cable. Some cables are for charging only and do not provide the needed data lines nor work for programming the boards.
  63. Software Setup
  64. ^^^^^^^^^^^^^^
  65. 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-C3-DevKitM-1.
  66. Contents and Packaging
  67. ----------------------
  68. Retail Orders
  69. ^^^^^^^^^^^^^
  70. If you order one or several samples, each ESP32-C3-DevKitM-1 comes in an individual package in either antistatic bag or any packaging depending on your retailer.
  71. For retail orders, please go to https://www.espressif.com/en/contact-us/get-samples.
  72. Wholesale Orders
  73. ^^^^^^^^^^^^^^^^
  74. If you order in bulk, the boards come in large cardboard boxes.
  75. For wholesale orders, please go to https://www.espressif.com/en/contact-us/sales-questions.
  76. Hardware Reference
  77. ==================
  78. Block Diagram
  79. -------------
  80. The block diagram below shows the components of ESP32-C3-DevKitM-1 and their interconnections.
  81. .. figure:: ../../../_static/esp32-c3-devkitm-1-v1-block-diagram.png
  82. :align: center
  83. :scale: 70%
  84. :alt: ESP32-C3-DevKitM-1 (click to enlarge)
  85. :figclass: align-center
  86. ESP32-C3-DevKitM-1 (click to enlarge)
  87. Power Supply Options
  88. ^^^^^^^^^^^^^^^^^^^^
  89. There are three mutually exclusive ways to provide power to the board:
  90. - Micro-USB Port, default power supply
  91. - 5V and GND pin headers
  92. - 3V3 and GND pin headers
  93. It is recommended to use the first option: Micro-USB Port.
  94. .. _user-guide-c3-devkitm-1-v1-header-blocks:
  95. Header Block
  96. ------------
  97. The two tables below provide the **Name** and **Function** of the pin headers on both sides of the board (J1 and J3). The pin header names are shown in :ref:`user-guide-c3-devkitm-1-v1-board-front`. The numbering is the same as in the `ESP32-C3-DevKitM-1 Schematic`_ (PDF).
  98. J1
  99. ^^^
  100. === ==== ========== ===================================
  101. No. Name Type [1]_ Function
  102. === ==== ========== ===================================
  103. 1 GND G Ground
  104. 2 3V3 P 3.3 V power supply
  105. 3 3V3 P 3.3 V power supply
  106. 4 IO2 I/O/T GPIO2 [2]_, ADC1_CH2, FSPIQ
  107. 5 IO3 I/O/T GPIO3, ADC1_CH3
  108. 6 GND G Ground
  109. 7 RST I CHIP_PU
  110. 8 GND G Ground
  111. 9 IO0 I/O/T GPIO0, ADC1_CH0, XTAL_32K_P
  112. 10 IO1 I/O/T GPIO1, ADC1_CH1, XTAL_32K_N
  113. 11 IO10 I/O/T GPIO10, FSPICS0
  114. 12 GND G Ground
  115. 13 5V P 5 V power supply
  116. 14 5V P 5 V power supply
  117. 15 GND G Ground
  118. === ==== ========== ===================================
  119. J3
  120. ^^^
  121. === ==== ========== ====================================
  122. No. Name Type [1]_ Function
  123. === ==== ========== ====================================
  124. 1 GND G Ground
  125. 2 TX I/O/T GPIO21, U0TXD
  126. 3 RX I/O/T GPIO20, U0RXD
  127. 4 GND G Ground
  128. 5 IO9 I/O/T GPIO9 [2]_
  129. 6 IO8 I/O/T GPIO8 [2]_, RGB LED
  130. 7 GND G Ground
  131. 8 IO7 I/O/T GPIO7, FSPID, MTDO
  132. 9 IO6 I/O/T GPIO6, FSPICLK, MTCK
  133. 10 IO5 I/O/T GPIO5, ADC2_CH0, FSPIWP, MTDI
  134. 11 IO4 I/O/T GPIO4, ADC1_CH4, FSPIHD, MTMS
  135. 12 GND G Ground
  136. 13 IO18 I/O/T GPIO18, USB_D-
  137. 14 IO19 I/O/T GPIO19, USB_D+
  138. 15 GND G Ground
  139. === ==== ========== ====================================
  140. .. [1] P: Power supply; I: Input; O: Output; T: High impedance.
  141. .. [2] GPIO2, GPIO8, and GPIO9 are strapping pins of the ESP32-C3FN4 chip. These pins are used to control several chip functions depending on binary voltage values applied to the pins during chip power-up or system reset. For description and application of the strapping pins, please refer to Section Strapping Pins in `ESP32-C3 Datasheet`_.
  142. Pin Layout
  143. ^^^^^^^^^^
  144. .. figure:: ../../../_static/esp32-c3-devkitm-1-v1-pinout.png
  145. :align: center
  146. :scale: 45%
  147. :alt: ESP32-C3-DevKitM-1 (click to enlarge)
  148. ESP32-C3-DevKitM-1 Pin Layout (click to enlarge)
  149. Hardware Revision Details
  150. =========================
  151. No previous versions available.
  152. Related Documents
  153. =================
  154. * `Build Secure and Cost-effective Connected Devices with ESP32-C3 <http://c3.espressif.com/>`_
  155. * `ESP32-C3 Datasheet`_ (PDF)
  156. * `ESP32-C3-MINI-1 Datasheet`_ (PDF)
  157. * `ESP32-C3-DevKitM-1 Schematic`_ (PDF)
  158. * `ESP32-C3-DevKitM-1 PCB Layout`_ (PDF)
  159. * `ESP32-C3-DevKitM-1 Dimensions`_ (PDF)
  160. * `ESP32-C3-DevKitM-1 Dimensions source file`_ (DXF) - You can view it with `Autodesk Viewer <https://viewer.autodesk.com/>`_ online
  161. For further design documentation for the board, please contact us at `sales@espressif.com <sales@espressif.com>`_.
  162. .. _ESP32-C3 Datasheet: https://www.espressif.com/sites/default/files/documentation/esp32-c3_datasheet_en.pdf
  163. .. _ESP32-C3-MINI-1 Datasheet: https://www.espressif.com/sites/default/files/documentation/esp32-c3-mini-1_datasheet_en.pdf
  164. .. _ESP32-C3-DevKitM-1 Schematic: https://dl.espressif.com/dl/schematics/SCH_ESP32-C3-DEVKITM-1_V1_20200915A.pdf
  165. .. _ESP32-C3-DevKitM-1 PCB Layout: https://dl.espressif.com/dl/schematics/PCB_ESP32-C3-DEVKITM-1_V1_20200915AA.pdf
  166. .. _ESP32-C3-DevKitM-1 Dimensions: https://dl.espressif.com/dl/schematics/DIMENSION_ESP32-C3-DEVKITM-1_V1_20200915AA.pdf
  167. .. _ESP32-C3-DevKitM-1 Dimensions source file: https://dl.espressif.com/dl/schematics/DIMENSION_ESP32-C3-DEVKITM-1_V1_20200915AA.dxf