Solved: ESP32 Sketch Won't Compile or Upload in Arduino IDE

Аватар автора
JS: необычные проекты
If this solves your ESP32 or connectivity/code compiling issues leave a LIKE! Of all the microcontrollers I&used, the ESP32 was the most difficult to get working. If you&just bought an ESP32 and can&get it to work then here are some things to try. In this video I go through some of the most common reasons why an ESP32 won&connect to a Windows PC. I also cover scenarios where the device appears to connect but sketches won&upload to the board. 00:00 - Introduction 00:10 - Cable Types 00:33 - Board Selection 01:48 - Best Example Sketches 02:56 - Com Port Selection 03:10 - The Flash/Boot Button 03:27 - Sketch Compiler Errors 04:20 - Windows App - NOPE!!! If you try all my suggestions but your ESP32 still won&work then leave a comment below and hopefully one of our viewers will be able to help. One other thing I suggest is always buying a pack of ESP32&rather than just one. That way you can rule out just having a defective microcontroller (quite common with these low cost devices). Again I&add that I personally found the ESP32 quite difficult to get working, and that&after having used the Arduino for a couple of years and having 25+ years of programming experience. If you decide to reinstall the Arduino IDE then make sure you manually remove this folder: C:UsersYOUR_WINDOWS_USERNAMEAppDataLocalArduino15 Don&forget to back up your sketches if you want to keep them. I hope that solves your ESP32 microcontroller connectivity issues. Good luck with your IoT projects :)

0/0


0/0

0/0

0/0