1ESP-WROVER-KIT V2 Getting Started Guide 2======================================= 3:link_to_translation:`zh_CN:[中文]` 4 5This guide shows how to get started with the ESP-WROVER-KIT V2 development board and also provides information about its functionality and configuration options. For the description of other ESP-WROVER-KIT versions, please check :doc:`../../hw-reference/index`. 6 7 8What You Need 9------------- 10 11* ESP-WROVER-KIT V2 board 12* USB 2.0 cable(A to Micro-B) 13* Computer running Windows, Linux, or macOS 14 15You can skip the introduction sections and go directly to Section `Start Application Development`_. 16 17 18Overview 19-------- 20 21ESP-WROVER-KIT is an ESP32-based development board produced by `Espressif <https://espressif.com>`_. This board features an integrated LCD screen and MicroSD card slot. 22 23ESP-WROVER-KIT comes with the following ESP32 modules: 24 25- ESP32-WROOM-32 26- ESP32-WROVER series 27 28Its another distinguishing feature is the embedded FTDI FT2232HL chip - an advanced multi-interface USB bridge. This chip enables to use JTAG for direct debugging of ESP32 through the USB interface without a separate JTAG debugger. ESP-WROVER-KIT makes development convenient, easy, and cost-effective. 29 30Most of the ESP32 I/O pins are broken out to the board's pin headers for easy access. 31 32 .. note:: 33 34 The version with the ESP32-WROVER module uses ESP32's GPIO16 and GPIO17 as chip select and clock signals for PSRAM. By default, the two GPIOs are not broken out to the board's pin headers in order to ensure reliable performance. 35 36 37Functionality Overview 38---------------------- 39 40The block diagram below shows the main components of ESP-WROVER-KIT and their interconnections. 41 42.. figure:: ../../../_static/esp-wrover-kit-block-diagram.png 43 :align: center 44 :alt: ESP-WROVER-KIT block diagram 45 :figclass: align-center 46 47 ESP-WROVER-KIT block diagram 48 49 50Functional Description 51---------------------- 52 53The following two figures and the table below describe the key components, interfaces, and controls of the ESP-WROVER-KIT board. 54 55.. _get-started-esp-wrover-kit-v2-board-front: 56 57.. figure:: ../../../_static/esp-wrover-kit-v2-layout-front.png 58 :align: center 59 :alt: ESP-WROVER-KIT board layout - front 60 :figclass: align-center 61 62 ESP-WROVER-KIT board layout - front 63 64.. _get-started-esp-wrover-kit-v2-board-back: 65 66.. figure:: ../../../_static/esp-wrover-kit-v2-layout-back.png 67 :align: center 68 :alt: ESP-WROVER-KIT board layout - back 69 :figclass: align-center 70 71 ESP-WROVER-KIT board layout - back 72 73 74The table below provides description in the following manner: 75 76- Starting from the first picture's top right corner and going clockwise 77- Then moving on to the second picture 78 79 80================== ================================================================================================================================= 81Key Component Description 82================== ================================================================================================================================= 8332.768 kHz External precision 32.768 kHz crystal oscillator serves as a clock with low-power consumption while the chip is in Deep-sleep mode. 84 85ESP32 Module Either ESP32-WROOM-32 or ESP32-WROVER with an integrated ESP32. The ESP32-WROVER module features all the functions of ESP32-WROOM-32 and integrates an external 32-MBit PSRAM for flexible extended storage and data processing capabilities. 86 87CTS/RTS Serial port flow control signals: the pins are not connected to the circuitry by default. To enable them, short the respective pins of JP14 with jumpers. 88 89UART Serial port. The serial TX/RX signals of FT2232 and ESP32 are broken out to the inward and outward sides of JP11 respectively. By default, these pairs of pins are connected with jumpers. To use ESP32's serial interface, remove the jumpers and connect another external serial device to the respective pins. 90 91SPI By default, ESP32 uses its SPI interface to access flash and PSRAM memory inside the module. Use these pins to connect ESP32 to another SPI device. In this case, an extra chip select (CS) signal is needed. Please note that the interface voltage for the version with ESP32-WROVER is 1.8V, while that for the version with ESP32-WROOM-32 is 3.3V. 92 93JTAG JTAG interface. JTAG signals of FT2232 and ESP32 are broken out to the inward and outward sides of JP8 respectively. By default, these pairs of pins are disconnected. To enable JTAG, short the respective pins with jumpers as shown in Section `Setup Options`_. 94 95FT2232 The FT2232 chip serves as a multi-protocol USB-to-serial bridge which can be programmed and controlled via USB to provide communication with ESP32. FT2232 features USB-to-UART and USB-to-JTAG functionalities. 96 97EN Reset button. 98 99Boot Download button. Holding down **Boot** and then pressing **EN** initiates Firmware Download mode for downloading firmware through the serial port. 100 101USB USB interface. Power supply for the board as well as the communication interface between a computer and the board. 102 103Power Select Power supply selector interface. The board can be powered either via USB or via the 5V Input interface. Select the power source with a jumper. For more details, see Section `Setup Options`_, jumper header JP7. 104 105Power Key Power On/Off Switch. Toggling toward **USB** powers the board on, toggling away from **USB** powers the board off. 106 1075V Input The 5V power supply interface can be more convenient when the board is operating autonomously (not connected to a computer). 108 109LDO NCP1117(1A). 5V-to-3.3V LDO. NCP1117 can provide a maximum current of 1A. The LDO on the board has a fixed output voltage. Although, the user can install an LDO with adjustable output voltage. For details, please refer to `ESP-WROVER-KIT V2 schematic`_. 110 111Camera Camera interface, a standard OV7670 camera module. 112 113RGB Red, green and blue (RGB) light emitting diodes (LEDs), can be controlled by pulse width modulation (PWM). 114 115I/O All the pins on the ESP32 module are broken out to pin headers. You can program ESP32 to enable multiple functions, such as PWM, ADC, DAC, I2C, I2S, SPI, etc. 116 117MicroSD Card MicroSD card slot for data storage: when ESP32 enters the download mode, GPIO2 cannot be held high. However, a pull-up resistor is required on GPIO2 to enable the MicroSD Card. By default, GPIO2 and the pull-up resistor R153 are disconnected. To enable the SD Card, use jumpers on JP1 as shown in Section `Setup Options`_. 118 119LCD Support for mounting and interfacing a 3.2” SPI (standard 4-wire Serial Peripheral Interface) LCD, as shown on figure :ref:`get-started-esp-wrover-kit-v2-board-back`. 120================== ================================================================================================================================= 121 122 123.. _get-started-esp-wrover-kit-v2-setup-options: 124 125Setup Options 126------------- 127 128There are five jumper blocks available to set up the board functionality. The most frequently required options are listed in the table below. 129 130======= ================ ========================================================= 131Header Jumper Setting Description of Functionality 132======= ================ ========================================================= 133JP1 |jp1-sd_io2| Enable pull up for the MicroSD Card 134JP1 |jp1-both| Assert GPIO2 low during each download (by jumping it to GPIO0) 135JP7 |jp7-ext_5v| Power ESP-WROVER-KIT via an external power supply 136JP7 |jp7-usb_5v| Power ESP-WROVER-KIT via USB 137JP8 |jp8| Enable JTAG functionality 138JP11 |jp11-tx-rx| Enable UART communication 139JP14 |jp14| Enable RTS/CTS flow control for serial communication 140======= ================ ========================================================= 141 142 143.. _get-started-esp-wrover-kit-v2-start-development: 144 145Start Application Development 146----------------------------- 147 148Before powering up your ESP-WROVER-KIT, please make sure that the board is in good condition with no obvious signs of damage. 149 150 151Initial Setup 152^^^^^^^^^^^^^ 153 154Please set only the following jumpers shown in the pictures below: 155 156- Select USB as the power source using the jumper block JP7. 157 158- Enable UART communication using the jumper block JP11. 159 160======================== ========================== 161Power up from USB port Enable UART communication 162======================== ========================== 163|jp7-usb_5v| |jp11-tx-rx| 164======================== ========================== 165 166Do not install any other jumpers. 167 168Turn the **Power Switch** to ON, the **5V Power On LED** should light up. 169 170Now to Development 171^^^^^^^^^^^^^^^^^^ 172 173Please 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 example project onto your board. 174 175 176Related Documents 177----------------- 178 179* `ESP-WROVER-KIT V2 schematic`_ (PDF) 180* `ESP32 Datasheet <https://www.espressif.com/sites/default/files/documentation/esp32_datasheet_en.pdf>`_ (PDF) 181* `ESP32-WROVER Datasheet <https://espressif.com/sites/default/files/documentation/esp32-wrover_datasheet_en.pdf>`_ (PDF) 182* `ESP32-WROOM-32 Datasheet <https://espressif.com/sites/default/files/documentation/esp32-wroom-32_datasheet_en.pdf>`_ (PDF) 183* :doc:`../../api-guides/jtag-debugging/index` 184* :doc:`../../hw-reference/index` 185 186 187.. |jp1-sd_io2| image:: ../../../_static/wrover-jp1-sd_io2.png 188.. |jp1-both| image:: ../../../_static/wrover-jp1-both.png 189.. |jp7-ext_5v| image:: ../../../_static/wrover-jp7-ext_5v.png 190.. |jp7-usb_5v| image:: ../../../_static/wrover-jp7-usb_5v.png 191.. |jp8| image:: ../../../_static/wrover-jp8.png 192.. |jp11-tx-rx| image:: ../../../_static/wrover-jp11-tx-rx.png 193.. |jp14| image:: ../../../_static/wrover-jp14.png 194 195.. _ESP-WROVER-KIT V2 schematic: https://dl.espressif.com/dl/schematics/ESP-WROVER-KIT_SCH-2.pdf 196