0% found this document useful (0 votes)
4 views37 pages

Install Arduino IDE for ESP32 Setup

The document provides a comprehensive guide for installing the Arduino software and drivers on both Windows and Mac systems, specifically for the ESP32 board. It includes detailed steps for downloading and installing the Arduino IDE, setting up the necessary drivers, and configuring the IDE for use with the ESP32. Additionally, it offers troubleshooting tips for driver installation issues and instructions for uploading code to the board.

Uploaded by

hydrogenrud
Copyright
© All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
4 views37 pages

Install Arduino IDE for ESP32 Setup

The document provides a comprehensive guide for installing the Arduino software and drivers on both Windows and Mac systems, specifically for the ESP32 board. It includes detailed steps for downloading and installing the Arduino IDE, setting up the necessary drivers, and configuring the IDE for use with the ESP32. Additionally, it offers troubleshooting tips for driver installation issues and instructions for uploading code to the board.

Uploaded by

hydrogenrud
Copyright
© All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd

[Link].

com

Content
1. Windows System:.......................................................................... 1

[Link] and install Arduino software:..................................1

[Link] a driver on Windows:....................................................6

1.3. Install the ESP32 on Arduino IDE:........................................13

1.4. Arduino IDE Setting:.............................................................17

2. Mac System:.................................................................................23

[Link] and install the Arduino IDE:...................................24

[Link] to install the CP2102 driver:.........................................24

1. Windows System:

[Link] 1
[Link]

[Link] and install Arduino software:

( 1 ) First, enter arduino's official website: [Link] ,

and click “SOFTWARE”to enter the download page. As shown in the

figure below:

[Link] 2
[Link]

( 2 ) Then, select and download the corresponding installer for your

operating system. If you are a Windows user, please select

“Windows Installer” to download to install the driver correctly.

Choose to click the Windows Win7 and newer to download

[Link] 3
[Link]

Arduino 1.8.16 version installer, which requires manual installation.

But when click the Windows ZIP File, the Arduino 1.8.16 zip file will

be downloaded directly, just unzip it to complete the installation

In general, you can click JUST DOWNLOAD to download it, although

if you like, you can choose a small sponsorship to help the great

Arduino open source cause.

(3)After the Arduino IDE is downloaded, continue the installation.

When you receive the warning from the operating system, please

allow the driver installation by clicking I Agree first, and then click

Next after selecting the components to install

[Link] 4
[Link]

( 4 ) Select the installation directory (we recommend keeping the

default directory), and then click Install.

[Link] 5
[Link]

(5)Select Install if the following screen appears.

This process extracts and installs all the necessary files to properly

execute the Arduino software (IDE).

[Link] 6
[Link]

After installation is complete, an Arduino Software shortcut will be

generated in the desktop.

[Link] a driver on Windows:

(Note:If you have installed the driver, just skip it)

Before using the ESP32 board, you must install a driver, otherwise it

will not communicate with computer. Unlike the USB series chip

[Link] 7
[Link]

(ATMEGA8U2) of the Arduino UNO R3, the ESP32 board is used the

CP2102 chip USB series chip and USB type C interface.

The driver of the CP2102 chip is included in 1.8.0 version and newer

version of Arduino IDE. Usually, you connect the board to the

computer and wait for Windows to begin its driver installation

process. After a few moments, the process will succeed.

Note:

1. Please make sure that your IDE is updated to 1.8.0 or newer

version

2. If the version of Arduino IDE you download is below 1.8, you

should download the driver of CP2102 and install it manually.

Link to download the driver of CP2102:

[Link]

If the driver installation process fail, you need to install the driver

manually. Open device Manager for your computer and right-

click“the computer”→click“Properties”→Click“Device Manager”. Look

under Ports (COM & LPT) or other device, a yellow exclamation mark

means that the CP2102 driver installation failed.

[Link] 8
[Link]

It shows that the driver for CP2102 was not installed sucessfully with

a yellow mark. Double-click , and then click

“Update drive...” to update the driver.

[Link] 9
[Link]

Click “Browse my computer for drivers”,and find the Arduino

software we installed or downloaded.

[Link] 10
[Link]

There is a drivers folder in Arduino software installed package(


), open driver folder and you can see the driver of CP210X

series chips.

Click“Browse...”, then find the drivers folder, or you could

enter“driver”to search in rectangular box, then click“Next”,

[Link] 11
[Link]

After a while, the driver is installed successfully.

[Link] 12
[Link]

Open the computer device Manager again, you can see that the

CP2102 driver has been successfully installed, and find the yellow

exclamation mark disappear.

[Link] 13
[Link]

1.3. Install the ESP32 on Arduino IDE:

The installation process for ESP32 is almost the same as that for

ESP8266. To install ESP32 on an Arduino IDE, follow these steps:

Note : you need to download Arduino IDE 1.8.5 or advanced version

to install the ESP32.

(1) Click the icon to open the Arduino IDE。

[Link] 14
[Link]

(2)Click“File” →“Preferences”,copy the website address :https://

[Link]/dl/package_esp32_index.json in the“Additional

Boards Manager URLs:”,and then click“OK” to save the address.

[Link] 15
[Link]

[Link] 16
[Link]

( 3 ) First click “Tools”→“Board:” , and click“Boards Manager...”to

enter“Boards Manager”, enter “ESP32” in the box after“ALL”,

then select the latest version to Install, the installation package is

not large, click “Install” to Install the plug-in, as shown in the figure

below.

[Link] 17
[Link]

(4)After successful installation, click “Close” to Close the page。

[Link] 18
[Link]

1.4. Arduino IDE Setting:

(1)Click the icon to open the Arduino IDE.

(2)When downloading the code to the board, you must select the

correct name of Arduino board that matches the board connected to

your computer,click“Tools”→“Board:”. As shown below ;

(Note: we use the ESP32 board in this tutorial; therefore, we select

ESP32 Arduino)

[Link] 19
[Link]

[Link] 20
[Link]

Set the board type as follows:

[Link] 21
[Link]

Then select the correct COM port (the corresponding COM port can

be seen after the driver is installed successfully).

[Link] 22
[Link]

[Link] 23
[Link]

Before a code was uploaded to the ESP32 mainboard, we have to

demonstrate the functionality of each symbol that appeared in the

Arduino IDE toolbar.

[Link] 24
[Link]

A- Used to verify whether there is any compiling mistakes or not.

B- Used to upload the sketch to your Arduino board.

C- Used to create shortcut window of a new sketch.

D- Used to directly open an example sketch.

E- Used to save the sketch.

F- Used to send the serial data received from board to the serial

monitor.

2. Mac System:

[Link] 25
[Link]

[Link] and install the Arduino IDE:

[Link] 26
[Link]

[Link] to install the CP2102 driver:

(Note:If you have installed the driver, just skip it )

(1)Connect the ESP32 mainboard to your MacOS computer using a

USB cable and open Arduino IDE.

Click “Tools”→”Board: ESP32 Dev Module ”and

“/dev/[Link]-0001”.

[Link] 27
[Link]

Click to upload code.

Note: If code is uploaded unsuccessfully, you need to install driver

of CP2102, please continue to follow the instructions as below:

(2)Download the driver of CP2102:


[Link]

(3)Click to download the MacOS version, as shown below.

[Link] 28
[Link]

(4)Unzip the downloaded package.

(5)Open folder and double-click“[Link]” file.

[Link] 29
[Link]

You will view the following files as follows:

(6)Double-click“Install CP210x VCP Driver”, check“Don’t warn

me when opening application on this disk image”and

click“Open”.

[Link] 30
[Link]

(7)Click“Continue”.

(8)Click "Agree" and then click "Continue".

[Link] 31
[Link]

(9)Click “Continue” and enter your user password.

[Link] 32
[Link]

(10)Select “Open Security Preferences”.

( 11 ) Click the lock to unlock security & privacy preference, enter

your user password to authorize, and then click“unlock”.

[Link] 33
[Link]

(12)See the lock has been opened, click“Allow”.

[Link] 34
[Link]

(13)Back to installation page, and wait to install.

[Link] 35
[Link]

(14)Successfully installed.

( 15 ) Open arduinoIDE , click“Tools”, select Board“ESP32 Dev

[Link] 36
[Link]

Module” and port“/dev/[Link]-0001”。

(16)Click to upload code and show“Done uploading”.

[Link] 37

You might also like