(The original Chinese version of this article is written by K.C.M.L. and published on MakerPRO)
Since the announcement of ESP32, makers and professional developers have all focused on the module equipped with BLE (Bluetooth Low Energy) and WiFi. However, as ESP32 was officially released, the problem the retailors encountered is ESP32 is in short supply. The module has the advantages of BLE and WiFi integration so that it allows developers to reduce the product size and make products more creatively.
In addition, working with Arduino IDE, ESP32 is the module for developers to get started easily. Also, professional makers are able to utilize the module to develop more diversified products. Thus, this article will mainly talk about how to install ESP32 in Arduino IDE.
So let’s start from here!
Step 1. Download CP2102 USB driver
Some preparations should be done before you start. Please go download CP2102 driver on SILICON LABS website, decompress the files and then install it because development boards connecting to USB Port and ESP32 module need to use the chip as the transmission medium. (This process is extremely essential and will determine whether your Arduino IDE could find your development board.)
Step 2. Install All the ESP32 Files Arduino IDE requires
After you finish the driver installation, you need to download the core files from Espressif Github pages and decompress them. Then, create a new folder in the directory where your Arduino files are saved and name the folder “hardware.” Then move the files your decompressed to the “hardware” folder you just created. Next, use Command Line to access “tools” folder in ESP32 folder and execute it.
Step 3: Start Arduino IDE
If you’ve started Arduino IDE before installing ESP32 driver, you will not see any differences. So you need to restart Arduino IDE and you’ll find the difference on the Tools menu.
After you restart Arduino IDE, you can find the ESP32 related board in the tools menu. That is to say, you can start to use ESP32 as Arduino board to develop your project!