Installing the ESP32 Board in Arduino IDE | ESP32
In this tutorial we Installing the ESP32 Board in Arduino IDE, First install or update latest Arduino IDE from arduino.cc/en/Main/Software.
Installing the ESP32 Board in Arduino IDE
IMPORTANT NOTE
:
- If this is your first time installing the ESP32 on the Arduino IDE, simply follow the installation procedure described below;
- If you’ve already installed the ESP32 add-on using the old method, you should remove the espressif folder first. Go to the end of this post to learn how to remove the espressif folder.
1. Installing the ESP32 Board
To install the ESP32 board in your Arduino IDE, follow these next instructions:
1) Open the preferences window from the Arduino IDE. Go to File> Preferences
2) Enter https://dl.espressif.com/dl/package_esp32_index.json into the “Additional Board Manager URLs” field as shown in the figure below. Then, click the “OK” button:
Note: if you already have the ESP8266 boards URL, you can separate the URLs with a comma as follows:
https://dl.espressif.com/dl/package_esp32_index.json, http://arduino.esp8266.com/stable/package_esp8266com_index.json
3) Open boards manager. Go to Tools > Board > Boards Manager…
4) Search for ESP32 and press install button for the “ESP32 by Espressif Systems“:
5) That’s it. It should be installed after a few seconds.
2. Deleting the espressif folder
If this is your first time installing the ESP32 on Arduino IDE you can ignore this section.
If you’ve followed the older installation procedure and you’ve manually installed the ESP32 add-on with Git GUI, you need to remove the espressif folder from your Arduino IDE.
To find your espressif folder and Arduino IDE location (installation path), open your Arduino IDE and go to File > Preferences:
Copy the location from the “Sketchbook location” field:
Go to your Arduino IDE location directory: C:\Users\hvm\Documents\Arduino and open the hardware folder:
Then, delete the espressif folder:
Testing the Installation
Plug the ESP32 board to your computer. Then, follow these steps:
1) Open the Arduino IDE
2) Select your Board in Tools > Board menu (in my case it’s the DOIT ESP32 DEVKIT V1)
3) Select the Port (if you don’t see the COM Port in your Arduino IDE, you need to install the ESP32 CP210x USB to UART Bridge VCP Drivers):
4) Open the following example under File > Examples > WiFi (ESP32) > WiFi Scan
5) A new sketch open in new window
6) Press the Upload button in the Arduino IDE. Wait a few seconds while the code compiles and uploads to your board.
7) If everything went as expected, you should see a “Done uploading.” message.
8) Open the Arduino IDE Serial Monitor at a baud rate of 115200:
9) Press the ESP32 on-board Enable button and you should see the networks available near your ESP32
Done!
I hope you like this post “Installing the ESP32 Board in Arduino IDE”. If have you any query please write in comment box. And you can share this post “Installing the ESP32 Board in Arduino IDE”.
Recommended :
- Dynamic WLAN configuration for ESP32 Board | AutoConnect
- Arduino IDE | Arduino | Open Source Hardware/Softawre | Arduino Vs RPi
- WiFi LoRA 32 (V2) ESP32 | Overview | Introduction
- 6LoWPAN | ZigBee | 6LoWPAN Vs ZigBee
- DHT11 sensor with ESP8266/NodeMCU using Arduino IDE
- Arduino IDE | Arduino | Open Source Hardware/Softawre | Arduino Vs RPi
- How To Create Secure MQTT Broker
- MQTT Servers/Brokers
- MQTT Products (that use MQTT)
- MQTT Public Brokers List
- IoT Data Protocols
- Setting up Authentication in Mosquitto MQTT Broker
- VerneMQ – Clustering MQTT for high availability and scalability
Pingback: How to Use I2C LCD with ESP32 Using Arduino IDE
Very good instructions … thank you