Lab 2 - Getting started with ESP32
Name: Muhammad Danial Bin Zainal Azlan
Matrix No: 192020173
1. Installing the ESP32 Board
To install the ESP32 board in your Arduino IDE,
- We need to open the preferences window from the Arduino IDE. Go to File > Preferences
- Then enter https://dl.espressif.com/dl/package_esp32_index.json into the "additional board manager URL" and then click button ok
![](https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEj6e0dgpw70IzIcWRqi0FyTpLkpM-YUvSpY7VSG_UL6p0FPTEHZJNGacLZaHDx3s-IhSSXCVMhuTkvOlpyRYgUHKOSZ_NZXpD8gvJGfIVXaADBSBMjDxe1xcmb_MihOmkR94pvDxCl5FXvo/s16000/image.png)
- We need to open boards manager. Go to Tools > Boards Manager, click install.
Testing the insrallation
Plug your ESP32 DEVKIT V1 Board to your computer. Then, follow these steps:
- We need to open Arduino IDE
- Select your Board in Tools > Board menu (in my case it's the DOIT ESP32 DEVKIT V1)
- Next we need to select port (in my case is port 4)
- Next we need to try open File > Examples > WiFi (ESP32) > WiFI Scan.
- After we click wifi scan a new sketch opens.
- If everything went as expected, Arduino shows "Done Uploading".
- After that, we need to open serial monitor and select baudrate (115200) and we can see the networks availabe on ESP32
2. Deleting the espressif folder
- First, we need to open ARDUINO IDE and go to File > Preferences. Copy file location from the "Sketchbook location".
- Go to your Arduino IDE location directory : C:\Users\Level51\Documents\Arduino and open the hardware folder or click browse and delete package_index_bundled.json
0 Comments