user-guide-devkits-r-v1.1.rst 10 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267
  1. =================
  2. ESP32-DevKitS(-R)
  3. =================
  4. :link_to_translation:`zh_CN:[中文]`
  5. This user guide provides information on ESP32-DevKitS(-R), an ESP32-based flashing board produced by Espressif.
  6. ESP32-DevKitS(-R) is a combination of two board names: ESP32-DevKitS and ESP32-DevKitS-R. S stands for springs, and R stands for WROVER.
  7. +-----------------+-------------------+
  8. | |ESP32-DevKitS| | |ESP32-DevKitS-R| |
  9. +-----------------+-------------------+
  10. | ESP32-DevKitS | ESP32-DevKitS-R |
  11. +-----------------+-------------------+
  12. .. |ESP32-DevKitS| image:: ../../../_static/esp32-devkits-v1.1-layout-isometric-raw.png
  13. .. |ESP32-DevKitS-R| image:: ../../../_static/esp32-devkits-r-v1.1-layout-isometric-raw.png
  14. The document consists of the following major sections:
  15. - `Getting Started`_: Provides an overview of ESP32-DevKitS(-R) and hardware/software setup instructions to get started.
  16. - `Hardware Reference`_: Provides more detailed information about ESP32-DevKitS(-R)'s hardware.
  17. - `Related Documents`_: Gives links to related documentation.
  18. Getting Started
  19. ===============
  20. This section describes how to get started with ESP32-DevKitS(-R). It begins with a few introductory sections about ESP32-DevKitS(-R), then Section `How to Flash a Board`_ provides instructions on how to mount a module onto ESP32-DevKitS(-R), get it ready, and flash firmware onto it.
  21. Overview
  22. --------
  23. ESP32-DevKitS(-R) is Espressif's flashing board designed specifically for ESP32. It can be used to flash an ESP32 module without soldering the module to the power supply and signal lines. With a module mounted, ESP32-DevKitS(-R) can also be used as a mini development board like ESP32-DevKitC.
  24. ESP32-DevKitS and ESP32-DevKitS-R boards vary only in layout of spring pins to fit the following ESP32 modules.
  25. - ESP32-DevKitS:
  26. - :ref:`esp-modules-and-boards-esp32-wroom-32`
  27. - :ref:`ESP32-WROOM-32D <esp-modules-and-boards-esp32-wroom-32d-and-u>`
  28. - :ref:`ESP32-WROOM-32U <esp-modules-and-boards-esp32-wroom-32d-and-u>`
  29. - :ref:`esp-modules-and-boards-esp32-solo-1`
  30. - `ESP32-WROOM-32E <https://www.espressif.com/en/products/hardware/modules>`_
  31. - `ESP32-WROOM-32UE <https://www.espressif.com/en/products/hardware/modules>`_
  32. - ESP32-DevKitS-R:
  33. - :ref:`ESP32-WROVER (PCB & IPEX) <esp-modules-and-boards-esp32-wrover>`
  34. - :ref:`ESP32-WROVER-B (PCB & IPEX) <esp-modules-and-boards-esp32-wrover>`
  35. - `ESP32-WROVER-E <https://www.espressif.com/en/products/hardware/modules>`_
  36. - `ESP32-WROVER-IE <https://www.espressif.com/en/products/hardware/modules>`_
  37. Description of Components
  38. -------------------------
  39. .. figure:: ../../../_static/esp32-devkits-v1.1-layout-front.png
  40. :align: center
  41. :alt: ESP32-DevKitS - front
  42. :figclass: align-center
  43. ESP32-DevKitS - front
  44. .. figure:: ../../../_static/esp32-devkits-r-v1.1-layout-front.png
  45. :align: center
  46. :alt: ESP32-DevKitS-R - front
  47. :figclass: align-center
  48. ESP32-DevKitS-R - front
  49. .. list-table::
  50. :widths: 30 70
  51. :header-rows: 1
  52. * - Key Component
  53. - Description
  54. * - Spring Pins
  55. - Click the module in. The pins will fit into the module's castellated holes.
  56. * - 2.54 mm Female Headers
  57. - These female headers are connected to pins of the module mounted on this board. For description of female headers, please refer to `Header Blocks`_.
  58. * - USB-to-UART Bridge
  59. - Single-chip USB to UART bridge provides transfer rates of up to 3 Mbps.
  60. * - LDO
  61. - 5V-to-3.3V low-dropout voltage regulator (LDO).
  62. * - Micro-USB Connector/Micro USB Port
  63. - USB interface. Power supply for the board as well as the communication interface between a computer and the board.
  64. * - EN Button
  65. - Reset button.
  66. * - Boot Button
  67. - Download button. Holding down **Boot** and then pressing **EN** initiates Firmware Download mode for downloading firmware through the serial port.
  68. * - Power On LED
  69. - Turns on when the USB or power supply is connected to the board.
  70. How to Flash a Board
  71. --------------------
  72. Before powering up your ESP32-DevKitS(-R), please make sure that it is in good condition with no obvious signs of damage.
  73. Required Hardware
  74. ^^^^^^^^^^^^^^^^^
  75. - An ESP32 module of your choice
  76. - USB 2.0 cable (Standard-A to Micro-B)
  77. - Computer running Windows, Linux, or macOS
  78. Hardware Setup
  79. ^^^^^^^^^^^^^^
  80. Please mount a module of your choice onto your ESP32-DevKitS(-R) according to the following steps:
  81. - Gently put your module on the ESP32-DevKitS(-R) board. Make sure that castellated holes on your module are aligned with spring pins on the board.
  82. - Press your module down into the board until it clicks.
  83. - Check whether all spring pins are inserted into castellated holes. If there are some misaligned spring pins, place them into castellated holes with tweezers.
  84. Software Setup
  85. ^^^^^^^^^^^^^^
  86. Preferred Method
  87. ++++++++++++++++
  88. The ESP-IDF development framework provides a preferred way of flashing binaries onto ESP32-DevKitS(-R). 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-DevKitS(-R).
  89. Alternative Method
  90. ++++++++++++++++++
  91. As an alternative, Windows users can flash binaries using the `Flash Download Tool <https://www.espressif.com/en/support/download/other-tools?keys=flash+download+tools>`_. Just download it, unzip it, and follow the instructions inside the *doc* folder.
  92. .. note::
  93. 1. To flash binary files, ESP32 should be set to Firmware Download mode. This can be done either by the flash tool automatically, or by holding down the Boot button and tapping the EN button.
  94. 2. After flashing binary files, the Flash Download Tool restarts your ESP32 module and boots the flashed application by default.
  95. Board Dimensions
  96. ----------------
  97. .. figure:: ../../../_static/esp32-devkits-v1.1-dimensions-back.png
  98. :align: center
  99. :alt: ESP32-DevKitS
  100. :figclass: align-center
  101. ESP32-DevKitS board dimensions - back
  102. .. figure:: ../../../_static/esp32-devkits-r-v1.1-dimensions-back.png
  103. :align: center
  104. :alt: ESP32-DevKitS-R
  105. :figclass: align-center
  106. ESP32-DevKitS-R board dimensions - back
  107. Contents and Packaging
  108. ----------------------
  109. Retail orders
  110. ^^^^^^^^^^^^^
  111. If you order a few samples, each ESP32-DevKitS(-R) comes in an individual package in either antistatic bag or any packaging depending on a retailer.
  112. For retail orders, please go to https://www.espressif.com/en/company/contact/buy-a-sample.
  113. Wholesale Orders
  114. ^^^^^^^^^^^^^^^^
  115. If you order in bulk, the boards come in large cardboard boxes.
  116. For wholesale orders, please check `Espressif Product Ordering Information <https://www.espressif.com/sites/default/files/documentation/espressif_products_ordering_information_en.pdf>`_ (PDF).
  117. Hardware Reference
  118. ==================
  119. Block Diagram
  120. -------------
  121. A block diagram below shows the components of ESP32-DevKitS(-R) and their interconnections.
  122. .. figure:: ../../../_static/esp32-devkits-r-v1.1-block_diagram.png
  123. :align: center
  124. :scale: 70%
  125. :alt: ESP32-DevKitS(-R) - block diagram (click to enlarge)
  126. :figclass: align-center
  127. ESP32-DevKitS(-R) (click to enlarge)
  128. Power Supply Options
  129. ^^^^^^^^^^^^^^^^^^^^
  130. There are three mutually exclusive ways to provide power to the board:
  131. - Micro USB port, default power supply
  132. - 5V and GND header pins
  133. - 3V3 and GND header pins
  134. It is advised to use the first option: micro USB port.
  135. Header Blocks
  136. -------------
  137. ======= ================ ======================================
  138. . Label Signal
  139. ======= ================ ======================================
  140. L1 3V3 VDD 3V3
  141. L2 EN CHIP_PU
  142. L3 VP SENSOR_VP
  143. L4 VN SENSOR_VN
  144. L5 34 GPIO34
  145. L6 35 GPIO35
  146. L7 32 GPIO32
  147. L8 33 GPIO33
  148. L9 25 GPIO25
  149. L10 26 GPIO26
  150. L11 27 GPIO27
  151. L12 14 GPIO14
  152. L13 12 GPIO12
  153. L14 GND GND
  154. L15 13 GPIO13
  155. L16 D2 SD_DATA2
  156. L17 D3 SD_DATA3
  157. L18 CMD SD_CMD
  158. L19 5V External 5V
  159. R1 GND GND
  160. R2 23 GPIO23
  161. R3 22 GPIO22
  162. R4 TX U0TXD
  163. R5 RX U0RXD
  164. R6 21 GPIO21
  165. R7 GND GND
  166. R8 19 GPIO19
  167. R9 18 GPIO18
  168. R10 5 GPIO5
  169. R11 17 GPIO17
  170. R12 16 GPIO16
  171. R13 4 GPIO4
  172. R14 0 GPIO0
  173. R15 2 GPIO2
  174. R16 15 GPIO15
  175. R17 D1 SD_DATA1
  176. R18 D0 SD_DATA0
  177. R19 CLK SD_CLK
  178. ======= ================ ======================================
  179. For the image of header blocks, please refer to `Description of Components`_.
  180. Related Documents
  181. =================
  182. - `ESP32-DevKitS(-R) Schematics <https://dl.espressif.com/dl/ESP32_DEVKITS_20190621.pdf>`_ (PDF)
  183. - `ESP32 Datasheet <https://www.espressif.com/sites/default/files/documentation/esp32_datasheet_en.pdf>`_ (PDF)
  184. - `ESP32-WROOM-32 Datasheet <https://espressif.com/sites/default/files/documentation/esp32-wroom-32_datasheet_en.pdf>`_ (PDF)
  185. - `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)
  186. - `ESP32-SOLO-1 Datasheet <https://www.espressif.com/sites/default/files/documentation/esp32-solo-1_datasheet_en.pdf>`_ (PDF)
  187. - `ESP32-WROVER Datasheet <https://espressif.com/sites/default/files/documentation/esp32-wrover_datasheet_en.pdf>`_ (PDF)
  188. - `ESP32-WROVER-B Datasheet <https://www.espressif.com/sites/default/files/documentation/esp32-wrover-b_datasheet_en.pdf>`_ (PDF)
  189. - `Espressif Product Ordering Information <https://www.espressif.com/sites/default/files/documentation/espressif_products_ordering_information_en.pdf>`_ (PDF)