How you can fix the Error when you compile the code of ESP32 ?

 


Hello, friends in this tutorial I am going to show you "How you can fix the error for when you compile the code of  this 👉"Wifi control car Project"😎 or using any other projects. Here we will provide the best Solution for your code compilation time so there is problem and if you have use another code of esp32 when you got the same error in Arduino IDE so this tutorial is  very help for you. so without any wasting time lets get started.....  

Step 1: It is better to switch to older version of Arduino IDE:

It means you have to Download older version of arduino and switch to "2.4.0" or " you can use this version 1.8.19" ðŸ‘‰ link is here = Download_Arduino_1.8.19 👈


Step2 : Adding up the additional board Url:

Click on File>Preferences.


Step 3: Click on Icon to add URL:

                                                                                                                                                                  

Now press “Enter” and Paste the url ” https://raw.githubusercontent.com/espressif/arduino-esp32/gh-pages/package_esp32_index.json” And then Press ok.                                                                                                                                                                                                                             

Step 4: Click Tools>Board>BoardManager: 

And click on “Board Manager


Now search for “ESP32” and select esp32 BY “Espressif Systems” and select version “2.0.11”and install it, It may take a while So, please be patient



Step 5: Click Tools>Board>ESP32 Arduino>DOIT ESP32 DEVKIT V1:


Step 6: NOW Connect Your ESP32 to your Laptop or Computer:

 Then go to Tools>Port>and the Port on which you Connected Esp32 module


Step 7: You can check your port using device manager and going to ports:

If  You have missing drivers then you can install them using  this link 👉https://www.silabs.com/documents/public/software/CP210x_Windows_Drivers.zip


You can Download these two libraries from the links given:

ESPAsyncWebServer  = https://codeload.github.com/me-no-dev/AsyncTCP/zip/refs/heads/master

AsyncTCP= https://codeload.github.com/me-no-dev/ESPAsyncWebServer/zip/refs/heads/master


Step 8: To Install these libraries You have to go to Sketch > Include Library> Add .Zip Library and select the zip files One by one:



Now it is Good to Go you can Paste the code and Start Uploading

Note: Some Esp 32 modules requires Pressing the Boot Button that is present on IC so press and hold it After Compilation done and system is Connecting…. to ESP 32 Module to Upload code on It,Thanks




 









 





 


 





.

 


0 Comments