Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                
0% found this document useful (0 votes)
2 views

Get started with Arduino

The document provides a comprehensive guide for installing and setting up the Arduino IDE on both Windows and Mac systems, including driver installation and environment setup for ESP32. It details step-by-step instructions for downloading the IDE, installing necessary drivers, and configuring the software. Additionally, it includes methods for adding libraries and managing board settings for Arduino development.

Uploaded by

tacolneston
Copyright
© © All Rights Reserved
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
2 views

Get started with Arduino

The document provides a comprehensive guide for installing and setting up the Arduino IDE on both Windows and Mac systems, including driver installation and environment setup for ESP32. It details step-by-step instructions for downloading the IDE, installing necessary drivers, and configuring the software. Additionally, it includes methods for adding libraries and managing board settings for Arduino development.

Uploaded by

tacolneston
Copyright
© © All Rights Reserved
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
You are on page 1/ 16

www.keyestudio.

co
m

Contents

1. Windows System...............................................................................2

1.1 Installing Arduino IDE.................................................................2

1.2 Install a driver............................................................................ 7

1.3. Arduino IDE Setting.................................................................10

1.4. Start your first program..........................................................10

2. Mac System.................................................................................... 12

2.1. Download Arduino IDE.............................................................13

2.2. Download the CH340 driver:..................................................13

2.3. How to install the CH340 driver:............................................13

2.4. Arduino IDE Setting:................................................................14

3. Add the ESP32 Environment...........................................................14

4. Add Libraries...................................................................................17

4.1 Method for Adding library Files in Windows..............................18

4.2 Method for Adding library Files in MacOS.................................19

1. Windows System

1
www.keyestudio.co
m

1.1 Installing Arduino IDE

When you get control board, you need to download Arduino IDE and

driver firstly.

You could download Arduino IDE from the official website:

https://www.arduino.cc/, click the SOFTWARE on the browse bar, then

click“DOWNLOADS” to enter download page, as shown below:

2
www.keyestudio.co
m

There are various versions of IDE for Arduino. Just download a version

compatible with your system. Here we will show you how to download

and install the windows version of Arduino IDE.

3
www.keyestudio.co
m

There are two versions of IDE for WINDOWS system. You can choose

between the installer (.exe) and the Zip file. For installer, it can be

directly downloaded, without the need of installing it manually while

for Zip package, you will need to install the driver manually.

You just need to click JUST DOWNLOAD.

4
www.keyestudio.co
m

After the Arduino is downloaded, click“I Agree”to continue installing

Click Next

Then click Install.

5
www.keyestudio.co
m

If the following page appears, click Install.

6
www.keyestudio.co
m

1.2 Install a driver

If you have installed the CH340 driver, just skip it.

Connect the main control board to your computer with a USB cable,

and the driver will be installed automatically on MacOS and

Windows10 system. If the driver installation process fails, you need to

install the driver manually.

(1) Check whether the computer automatically installs the driver:

Right click Computer----- Click Properties-----Click Device Manager, the

following picture shows the successful installation:

7
www.keyestudio.co
m

(2) Manual installation:

Right-click “USB2.0-Serial” and click “Update drive...”

Click “Browse my computer for driver software”

8
www.keyestudio.co
m

Click“Browse...”and select the“usb_ch341_3.1.2009.06 folder”.

Check the serial port connection status again, as shown in the

following figure, the driver is successfully installed.

9
www.keyestudio.co
m

1.3. Arduino IDE Setting

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.

10
www.keyestudio.co
m

2. Mac System

2.1. Download Arduino IDE

2.2. Download the CH340 driver:

https://fs.keyestudio.com/CH340-MAC

11
www.keyestudio.co
m

2.3. How to install the CH340 driver:

Please refer to the link :

https://wiki.keyestudio.com/Download_CH340_Driver_on_MAC_System

2.4. Arduino IDE Setting:

Except for COM ports, the setting method is the same as in chapter

1.4:

3. Add the ESP32 Environment

(1)Open the arduino IDE,click File > Preferences,as shown below:

12
www.keyestudio.co
m

(2)Copy the link:

https://dl.espressif.com/dl/package_esp32_index.json

(3)Open the button marked below:

13
www.keyestudio.co
m

(4) Paste it inside and click OK, as shown below

(5) Click Tools > Board > Boards Manager

14
www.keyestudio.co
m

(6) Find the ESP32 from the pop up Boards Manager and then click

install.

(7) Click Tools > Board to see the ESP32 Arduino

15
www.keyestudio.co
m

16

You might also like