get-started-pico-devkitm-2.rst 11 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369
  1. ESP32-PICO-DevKitM-2
  2. ********************
  3. :link_to_translation:`zh_CN:[中文]`
  4. Overview
  5. ========
  6. ESP32-PICO-DevKitM-2 is an ESP32-based development board produced by `Espressif <https://espressif.com>`_.
  7. The core of this board is `ESP32-PICO-MINI-02/02U <https://www.espressif.com/en/products/modules>`_ module with complete Wi-Fi and Bluetooth® functionalities. The development board features a USB-to-UART Bridge circuit which allows developers to connect the board to a computer's USB port for flashing and debugging.
  8. All the IO signals and system power on ESP32-PICO-MINI-02/02U are led out to two rows of 18 x 0.1" header pads on both sides of the development board for easy access. For compatibility with Dupont wires, all header pads are populated with two rows of male pin headers.
  9. .. note::
  10. ESP32-PICO-DevKitM-2 comes with male headers by default.
  11. ESP32-PICO-DevKitM-2 provides the users with hardware for development of applications based on the ESP32, making it easier for users to explore ESP32 functionalities.
  12. .. figure:: ../../../_static/esp32-pico-devkitm-2-overview.png
  13. :align: center
  14. :scale: 70%
  15. :alt: ESP32-PICO-DevKitM-2 (click to enlarge)
  16. :figclass: align-center
  17. ESP32-PICO-DevKitM-2 Overview (click to enlarge)
  18. This guide covers:
  19. - `Getting Started`_: Provides an overview of the ESP32-PICO-DevKitM-2 and software setup instructions to get started.
  20. - `Contents and Packaging`_: Provides information about packaging and contents for retail and wholesale orders.
  21. - `Hardware Reference`_: Provides more detailed information about the ESP32-PICO-DevKitM-2's hardware.
  22. - `Hardware Revision Details`_: Covers revision history, known issues, and links to user guides for previous versions (if any) of the ESP32-PICO-DevKitM-2.
  23. - `Related Documents`_: Gives links to related documentation.
  24. Getting Started
  25. ===============
  26. This section describes how to get started with the ESP32-PICO-DevKitM-2. It begins with a few introductory sections about the ESP32-PICO-DevKitM-2, then Section `Start Application Development`_ provides instructions on how to flash firmware onto the ESP32-PICO-DevKitM-2.
  27. .. _get-started-pico-devkitm-2-board-front:
  28. Description of Components
  29. -------------------------
  30. The following figure and the table below describe the key components, interfaces, and controls of the ESP32-PICO-DevKitM-2 board. We take the board with a ESP32-PICO-MINI-02 module as an example in the following sections.
  31. .. figure:: ../../../_static/esp32-pico-devkitm-2-layout-front.png
  32. :align: center
  33. :scale: 90%
  34. :alt: ESP32-PICO-DevKitM-2 (click to enlarge)
  35. :figclass: align-center
  36. ESP32-PICO-DevKitM-2 board layout - front (click to enlarge)
  37. Below is the description of the items identified in the figure starting from the top left corner and going clockwise.
  38. .. list-table::
  39. :widths: 10 25
  40. :header-rows: 1
  41. * - Key Component
  42. - Description
  43. * - ESP32-PICO-MINI-02
  44. - Standard ESP32-PICO-MINI-02 module soldered to the ESP32-PICO-DevKitM-2 board. The complete ESP32 system on a chip (ESP32 SoC) has been integrated into the module. Users can also select the board with ESP32-PICO-MINI-02U soldered.
  45. * - LDO
  46. - V-to-3.3V Low dropout voltage regulator (LDO).
  47. * - USB-to-UART bridge
  48. - CP2102N, single-chip USB-UART bridge that offers up to 3 Mbps transfers rates.
  49. * - Micro-B USB Port
  50. - USB interface. Power supply for the board as well as the communication interface between a computer and the board.
  51. * - 5V Power On LED
  52. - This red LED turns on when power is supplied to the board. For details, see the schematic in `Related Documents`_.
  53. * - I/O Connector
  54. - All the pins on ESP32-PICO-MINI-02 are broken out to pin headers. You can program ESP32 to enable multiple functions, such as PWM, ADC, DAC, I2C, I2S, SPI, etc. For details, please see Section `Pin Descriptions`_.
  55. * - BOOT Button
  56. - Download button. Holding down **Boot** and then pressing **EN** initiates Firmware Download mode for downloading firmware through the serial port.
  57. * - EN Button
  58. - Reset button.
  59. Start Application Development
  60. -----------------------------
  61. Before powering up your ESP32-PICO-DevKitM-2, please make sure that the board is in good condition with no obvious signs of damage.
  62. Required Hardware
  63. """""""""""""""""
  64. - 1 x ESP32-PICO-DevKitM-2
  65. - 1 x USB 2.0 A to Micro B cable
  66. - 1 x Computer running Windows, Linux, or macOS
  67. .. _user-guide-pico-devkitm-2-software-setup:
  68. Software Setup
  69. """"""""""""""
  70. Please proceed to :doc:`../../get-started/index`, where Section :ref:`get-started-step-by-step` will quickly help you set up the development environment.
  71. Contents and Packaging
  72. ======================
  73. Retail Orders
  74. -------------
  75. If you order one or several samples of the board, each ESP32-PICO-DevKitM-2 development board comes in an individual package.
  76. For retail orders, please go to https://www.espressif.com/en/contact-us/get-samples.
  77. Wholesale Orders
  78. ----------------
  79. If you order in bulk, the boards come in large cardboard boxes.
  80. For wholesale orders, please go to https://www.espressif.com/en/contact-us/sales-questions.
  81. Hardware Reference
  82. ==================
  83. Block Diagram
  84. -------------
  85. The block diagram below shows the main components of ESP32-PICO-DevKitM-2 and their interconnections.
  86. .. figure:: ../../../_static/esp32-pico-devkitm-2-block.png
  87. :align: center
  88. :scale: 70%
  89. :alt: ESP32-PICO-DevKitM-2 (click to enlarge)
  90. :figclass: align-center
  91. ESP32-PICO-DevKitM-2 Block Diagram (click to enlarge)
  92. Power Supply Options
  93. --------------------
  94. There are three mutually exclusive ways to provide power to the board:
  95. * Micro USB port, default power supply
  96. * 5V/GND header pins
  97. * 3V3/GND header pins
  98. .. warning::
  99. 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.
  100. Pin Descriptions
  101. ----------------
  102. The two tables below provide the **Name** and **Function** of I/O header pins on both sides of the board, see :ref:`get-started-pico-devkitm-2-board-front`. The pin numbering and header names are the same as in the schematic given in `Related Documents`_.
  103. Header J2
  104. """""""""
  105. .. list-table::
  106. :widths: 5 5 5 35
  107. :header-rows: 1
  108. * - No.
  109. - Name
  110. - Type
  111. - Function
  112. * - 1
  113. - IO20
  114. - I/O
  115. - GPIO20
  116. * - 2
  117. - IO21
  118. - I/O
  119. - GPIO21, VSPIHD, EMAC_TX_EN
  120. * - 3
  121. - IO22
  122. - I/O
  123. - GPIO22, VSPIWP, U0RTS, EMAC_TXD1
  124. * - 4
  125. - IO19
  126. - I/O
  127. - GPIO19, VSPIQ, U0CTS, EMAC_TXD0
  128. * - 5
  129. - IO8
  130. - I/O
  131. - GPIO8, SD_DATA1, HS1_DATA1, U2CTS
  132. * - 6
  133. - IO7
  134. - I/O
  135. - GPIO7, SD_DATA0, HS1_DATA0, U2RTS
  136. * - 7
  137. - IO5
  138. - I/O
  139. - GPIO5, VSPICS0, HS1_DATA6, EMAC_RX_CLK
  140. * - 8
  141. - NC
  142. - \-
  143. - NC
  144. * - 9
  145. - NC
  146. - \-
  147. - NC
  148. * - 10
  149. - RXD0
  150. - I/O
  151. - GPIO3, U0RXD :ref:`(See 1) <get-started-pico-devkitm-2-pin-notes>`, CLK_OUT2
  152. * - 11
  153. - TXD0
  154. - I/O
  155. - GPIO1, U0TXD :ref:`(See 1) <get-started-pico-devkitm-2-pin-notes>`, CLK_OUT3, EMAC_RXD2
  156. * - 12
  157. - IO35
  158. - I
  159. - ADC1_CH7, RTC_GPIO5
  160. * - 13
  161. - IO34
  162. - I
  163. - ADC1_CH6, RTC_GPIO4
  164. * - 14
  165. - IO38
  166. - I
  167. - GPIO38, ADC1_CH2, RTC_GPIO2
  168. * - 15
  169. - IO37
  170. - I
  171. - GPIO37, ADC1_CH1, RTC_GPIO1
  172. * - 16
  173. - EN
  174. - I
  175. - CHIP_PU
  176. * - 17
  177. - GND
  178. - P
  179. - Ground
  180. * - 18
  181. - VDD33 (3V3)
  182. - P
  183. - 3.3 V power supply
  184. Header J3
  185. """""""""
  186. .. list-table::
  187. :widths: 5 5 5 35
  188. :header-rows: 1
  189. * - No.
  190. - Name
  191. - Type
  192. - Function
  193. * - 1
  194. - GND
  195. - P
  196. - Ground
  197. * - 2
  198. - SENSOR_VP (FSVP)
  199. - I
  200. - GPIO36, ADC1_CH0, RTC_GPIO0
  201. * - 3
  202. - SENSOR_VN (FSVN)
  203. - I
  204. - GPIO39, ADC1_CH3, RTC_GPIO3
  205. * - 4
  206. - IO25
  207. - I/O
  208. - GPIO25, DAC_1, ADC2_CH8, RTC_GPIO6, EMAC_RXD0
  209. * - 5
  210. - IO26
  211. - I/O
  212. - GPIO26, DAC_2, ADC2_CH9, RTC_GPIO7, EMAC_RXD1
  213. * - 6
  214. - IO32
  215. - I/O
  216. - 32K_XP :ref:`(See 2a) <get-started-pico-devkitm-2-pin-notes>`, ADC1_CH4, TOUCH9, RTC_GPIO9
  217. * - 7
  218. - IO33
  219. - I/O
  220. - 32K_XN :ref:`(See 2b) <get-started-pico-devkitm-2-pin-notes>`, ADC1_CH5, TOUCH8, RTC_GPIO8
  221. * - 8
  222. - IO27
  223. - I/O
  224. - GPIO27, ADC2_CH7, TOUCH7, RTC_GPIO17, EMAC_RX_DV
  225. * - 9
  226. - IO14
  227. - I/O
  228. - ADC2_CH6, TOUCH6, RTC_GPIO16, MTMS, HSPICLK, HS2_CLK, SD_CLK, EMAC_TXD2
  229. * - 10
  230. - IO12
  231. - I/O
  232. - ADC2_CH5, TOUCH5, RTC_GPIO15, MTDI :ref:`(See 3) <get-started-pico-devkitm-2-pin-notes>`, HSPIQ, HS2_DATA2, SD_DATA2, EMAC_TXD3
  233. * - 11
  234. - IO13
  235. - I/O
  236. - ADC2_CH4, TOUCH4, RTC_GPIO14, MTCK, HSPID, HS2_DATA3, SD_DATA3, EMAC_RX_ER
  237. * - 12
  238. - IO15
  239. - I/O
  240. - ADC2_CH3, TOUCH3, RTC_GPIO13, MTDO, HSPICS0, HS2_CMD, SD_CMD, EMAC_RXD3
  241. * - 13
  242. - IO2
  243. - I/O
  244. - ADC2_CH2, TOUCH2, RTC_GPIO12, HSPIWP, HS2_DATA0, SD_DATA0
  245. * - 14
  246. - IO4
  247. - I/O
  248. - ADC2_CH0, TOUCH0, RTC_GPIO10, HSPIHD, HS2_DATA1, SD_DATA1, EMAC_TX_ER
  249. * - 15
  250. - IO0
  251. - I/O
  252. - ADC2_CH1, TOUCH1, RTC_GPIO11, CLK_OUT1, EMAC_TX_CLK
  253. * - 16
  254. - VDD33 (3V3)
  255. - P
  256. - 3.3V power supply
  257. * - 17
  258. - GND
  259. - P
  260. - Ground
  261. * - 18
  262. - EXT_5V (5V)
  263. - P
  264. - 5V power supply
  265. .. _get-started-pico-devkitm-2-pin-notes:
  266. .. note::
  267. 1. This pin is connected to the pin of the USB bridge chip on the board.
  268. 2. 32.768 kHz crystal oscillator:
  269. a) input
  270. b) output
  271. 3. The operating voltage of ESP32-PICO-DevKitM-2's embedded SPI flash is 3.3 V. Therefore, the strapping pin MTDI should be pulled down during the module power-on reset. If connected, please make sure that this pin is not held up on reset.
  272. Pin Layout
  273. """"""""""
  274. .. figure:: ../../../_static/esp32-pico-devkitm-2-pinout.png
  275. :align: center
  276. :scale: 50%
  277. :alt: ESP32-PICO-DevKitM-2 (click to enlarge)
  278. :figclass: align-center
  279. ESP32-PICO-DevKitM-2 Pin Layout (click to enlarge)
  280. Hardware Revision Details
  281. =========================
  282. No previous versions available.
  283. Related Documents
  284. =================
  285. * `ESP32-PICO-MINI-02 & ESP32-PICO-MINI-1U Datasheet <https://www.espressif.com/sites/default/files/documentation/esp32-pico-mini-02_datasheet_en.pdf>`_ (PDF)
  286. * `ESP Product Selector <https://products.espressif.com/#/product-selector?names=>`_
  287. * `ESP32-PICO-DevKitM-2 Schematic <https://dl.espressif.com/dl/schematics/SCH_ESP32-PICO-DEVKITM-2_V1_0_20200812A.pdf>`_ (PDF)
  288. * `ESP32-PICO-DevKitM-2 PCB Layout <https://dl.espressif.com/dl/schematics/PCB_ESP32-PICO-DevKitM-2_V1.0_20200812.pdf>`_ (PDF)
  289. For other design documentation for the board, please contact us at sales@espressif.com.