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