Keyestudio ESP32 User manual

1
www.keyestudio.com
Keyestudio ESP32 Core Board
(Black and Eco-friendly)

2
www.keyestudio.com
Guide Content
Description:........................................................................................................................ 3
Technical Details:...............................................................................................................3
Element and Interfaces:...................................................................................................5
Detailed Using Method as follows:................................................................................. 8
Step1| Install the Arduino IDE................................................................................8
Step2| Installing the Driver...................................................................................12
Step3| Building ESP32 Environment....................................................................16
Step4| Arduino IDE Setting and Toolbar.............................................................21
Step5| Upload the Code.........................................................................................27
Resource Download:.......................................................................................................33

3
www.keyestudio.com
Description:
This keyestudio ESP32 core board is a Mini development board based on the
ESP-WROOM-32 module.
The board has brought out most I/O ports to pin headers of 2.54mm pitch. These
provide an easy way of connecting peripherals according to your own needs.
When it comes to developing and debugging with the development board, the
both side standard pin headers can make your operation more simple and handy.
The ESP-WROOM-32 module is
the industry's leading integrated
WiFi + Bluetooth solution with less
than 10 external components.
It integrates antenna switch, RF
balun, power amplifiers, low noise
amplifiers, filters and power
management modules.
At the same time, it also
integrates with TSMC's low-power
40nm technology, so that power performance and RF performance are safe and
reliable, easy to expand to a variety of applications.
This module work with functional individually when power on.
Technical Details:

4
www.keyestudio.com
Microcontroller: ESP-WROOM-32 module
USB to Serial Port Chip: CP2102-GMR
Operating Voltage: DC 5V
Operating Current: 80mA (average)
Current Supply: 500mA (Minimum)
Operating Temperature Range: -40℃~ +85℃
WiFi mode: Station/SoftAP/SoftAP+Station/P2P
WiFi protocol: 802.11 b/g/n (802.11n, speed up to 150 Mbps
WiFi frequency band: 2.4 GHz
Bluetooth protocol: conform to Bluetooth v4.2 BR/EDR and BLE standards
Dimensions: 55mm*26mm*13mm
Weight: 9.3g

5
www.keyestudio.com
Element and Interfaces:
Here is an explanation of what every element and interface of the board has:

6
www.keyestudio.com
Specialized Functions of Some Pins:
PINS
EXPLANATIONS
IO23
VSPI MOSI/SPI MOSI
IO22
Wire SCL
TXD0
IO1/Serial TX
RXD0
IO3/Serial RX
IO21
Wire SDA
IO19
VSPI MISO/SPI MISO
IO18
VSPI SCK/SPI SCK
IO5
VSPI SS/SPI SS
IO4
ADC10/TOUCH0
IO0
ADC11/TOUCH1
IO2
ADC12/TOUCH2
IO15
HSPI SS/ADC13/TOUCH3/TDO
SD1
IO8/FLASH D1
SD0
IO7/FLASH D0
CLK
IO6/FLASH SCK
CMD
IO11/FLASH CMD
SD3
IO10/FLASH D3
SD2
IO9/FLASH D2
IO13
HSPI MOSI/ADC14/TOUCH4/TCK

7
www.keyestudio.com
IO12
HSPI MISO/ADC15/TOUCH5/TDI
IO14
HSPI SCK/ADC16/TOUCH6/TMS
IO27
ADC17/TOUCH7
IO26
ADC19/DAC2
IO25
ADC18/DAC1
IO33
ADC5/TOUCH8
IO32
ADC4/TOUCH9
IO35
ADC7
IO34
ADC6
SENSOR VN
IO39/ADC3
SENSOR VP
IO36/ADC0
EN
RESET

8
www.keyestudio.com
Detailed Using Method as follows:
Step1| Install the Arduino IDE
When programming the control board, first you should install the Arduino
software and driver.
You can download the different versions for different systems from the link
below:
https://www.arduino.cc/en/Main/OldSoftwareReleases#1.5.x
This control board is compatible with the Arduino 1.8.7 or latest version.
So next we will download the Arduino 1.8.7 software to test the keyestudio ESP32
core board.

9
www.keyestudio.com
In this Windows system page, there are two options. One is Windows version, the
other is Windows Installer.
For Windows Installer, you can download the installation file, this way you need
to install the arduino IDE.
For simple Windows version, you can download the software directly, do not need
to install, just directly use the software after unzip the package.
Next, we click the Windows, pop up the interface as below.

10
www.keyestudio.com
Click JUST DOWNLOAD.
Downloaded well the arduino-1.8.7-windows.zip package to your computer,
you can direct to unzip the package. Open the Arduino-1.8.7 folder, you should
get it as follows.

11
www.keyestudio.com
Click the icon of ARDUINO software to open. This is your Arduino.

12
www.keyestudio.com
Step2| Installing the Driver
The USB to serial port chip of this control board is CP2102-GMR. So you need to
install the driver for the chip.
You can click the driver tool download link:
https://www.silabs.com/products/development-tools/software/usb-to-uart-bridge-vcp-drivers
It includes different drivers for different computer’s systems. Download and install
the driver according to your computer’s system.
For example, we download the driver for Windows 7. Get the compression

13
www.keyestudio.com
package of CP210x_Windows_Drivers
Then extract the compression package; you should see the application to install.
The driver software installation is very simple. Just select the driver application as
you like.
Click to .exe package to install the driver. Click “Next”.

14
www.keyestudio.com
Click to select “I accept this agreement” and click “Next”.

15
www.keyestudio.com
Wait for the installation complete. Finally click “Finish” to close the window.

16
www.keyestudio.com
Step3| Building ESP32 Environment
At first, open the Arduino-1.8.7 folder, you will see the hardware folder;
Then open the hardware folder and add a new folder, remember to name it
espressif shown below.

17
www.keyestudio.com
After that, unzip the esp32 compression package we provided, and copy to the
espressif folder.
So inside the espressif folder should see the esp32 folder as below. Note that the
folder should not name a type.
Now, click to enter the esp32 folder and you can see the tools folder below.

18
www.keyestudio.com
Enter the tools folder and click to run the get.exe application as an administrator.
(But the precondition is that you have already installed the Python)

19
www.keyestudio.com
When run the get.exe application, ensure that your network is unblocked and
wait for the program download. Done downloading, the following window will
automatically close.

20
www.keyestudio.com
Table of contents
Other Keyestudio Computer Hardware manuals