LAB 2 GETTING STARTED WITH ESP32

 




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

  • 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:

  1. We need to open Arduino IDE
  2. Select your Board in Tools > Board menu (in my case it's the DOIT ESP32 DEVKIT V1)
  3. 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.

  • We press the Upload the button in the Arduino IDE. Wait a few seconds while the code compiles and uploads to your board


  • 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




Post a Comment

0 Comments