0

$USD

$USD
TUTORIALS ESP32

Arduino IDE for Building Compiling Environment of ESP32

DFRobot Apr 17 2017 13915

The Arduino IDE is simple!

There are many development platforms for ESP32 (ESP-WROOM-32). In some situations, using Linux or Cygwin on Windows can be quite intimidating for beginners. Using the Arduino IDE is a more user-friendly approach.


1. Add The Board URL to Arduino IDE

Open Arduino IDE (I am using version 1.8.0).

An installation tutorial for the Arduino IDE can be found here.

Navigate to File > Preferences and click the circled button as shown below:

Arduino IDE for Building Compiling Environment of ESP32 Tutorial Step 01


Enter the following URL in the new pop-up window.

https://git.oschina.net/dfrobot/FireBeetle-ESP32/raw/master/package_esp32_index.json


You should see this progress window:

Arduino IDE for Building Compiling Environment of ESP32 Tutorial Step 02

After the input is completed, click OK.


2. Update the Board List

After adding the mainboard URL of ESP32 (ESP-WROOM-32) to Arduino IDE, we need to update the board list, and use Arduino IDE to download ESP32 (ESP-WROOM-32) libraries.

Open Tools->Development board->Development board manager, as shown below:

Arduino IDE for Building Compiling Environment of ESP32 Tutorial Step 03

After opening the development board manager, the board list will automatically be updated, as can be seen below:

Arduino IDE for Building Compiling Environment of ESP32 Tutorial Step 04


3. Install ESP32 (ESP-WROOM-32)

After completing the update, you should find FireBeetle-ESP32 board options which you can then edit.

Arduino IDE for Building Compiling Environment of ESP32 Tutorial Step 05


Select “(FireBeetle-ESP32 Mainboard)” and click “Install”. The manager will automatically download the relevant libraries.

 Arduino IDE for Building Compiling Environment of ESP32 Tutorial Step Arduino IDE for Building Compiling Environment of ESP32 Tutorial Step


4. Compiling a Blink Program

Now that our compilation environment is set up, we can upload a test program.

Open tools->development board,select FireBeetle-ESP32 mainboard, as shown in the following:

Arduino IDE for Building Compiling Environment of ESP32 Tutorial Step


Navigate to Tools > Board and Select FireBeetle-ESP32 from the list.


Please Note: If you haven’t installed ESP32 (ESP-WROOM-32) main board you will not see the board in the list, so be sure you follow the steps above to install it first.

Open File->Example->Basics->Blink, as shown in the following:

Arduino IDE for Building Compiling Environment of ESP32 Tutorial Step


Click the button to start compiling.

Arduino IDE for Building Compiling Environment of ESP32 Tutorial Step


Done!

DFRobot supply lots of esp32 Arduino tutorials and esp32 projects for makers to learn..