{"id":30772,"date":"2019-07-05T04:00:58","date_gmt":"2019-07-05T04:00:58","guid":{"rendered":"http:\/\/randomnerdtutorials.com\/?p=30772"},"modified":"2024-02-28T11:06:28","modified_gmt":"2024-02-28T11:06:28","slug":"installing-the-esp32-board-in-arduino-ide-windows-instructions","status":"publish","type":"post","link":"https:\/\/randomnerdtutorials.com\/installing-the-esp32-board-in-arduino-ide-windows-instructions\/","title":{"rendered":"Installing the ESP32 Board in Arduino IDE (Windows, Mac OS X, Linux)"},"content":{"rendered":"\n<p>There&#8217;s an add-on for the Arduino IDE that allows you to program the ESP32 using the Arduino IDE and its programming language. In this tutorial we&#8217;ll show you how to install the ESP32 board in Arduino IDE whether you&#8217;re using Windows, Mac OS X or Linux.<\/p>\n\n\n\n<p class=\"rntbox rntclgray\">Using Arduino 2.0? Follow this tutorial instead: <a href=\"https:\/\/randomnerdtutorials.com\/installing-esp32-arduino-ide-2-0\/\" title=\"\">Installing ESP32 Board in Arduino IDE 2.0<\/a><\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Watch the Video Tutorial<\/h2>\n\n\n\n<p><em>This tutorial is available in video format (watch below) and in written format (continue reading this page).&nbsp;<\/em><\/p>\n\n\n<p style=\"text-align:center\"><iframe width=\"720\" height=\"405\" src=\"https:\/\/www.youtube.com\/embed\/mBaS3YnqDaU?rel=0\" frameborder=\"0\" allowfullscreen><\/iframe><\/p>\n\n\n\n<p>If you have any problems during the installation procedure, take a look at the <a href=\"https:\/\/randomnerdtutorials.com\/esp32-troubleshooting-guide\/\">ESP32 Troubleshooting Guide<\/a>.<\/p>\n\n\n\n<p><em>If you like the ESP32, enroll in our course: <a href=\"https:\/\/randomnerdtutorials.com\/learn-esp32-with-arduino-ide\/\">Learn ESP32 with Arduino IDE<\/a>.<\/em><\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Prerequisites: Arduino IDE Installed<\/h2>\n\n\n\n<p>Before starting this installation procedure, you need to have Arduino IDE installed on your computer. There are two versions of the Arduino IDE you can install: version 1 and version 2.<\/p>\n\n\n\n<p>You can download and install Arduino IDE by clicking on the following link: <a href=\"https:\/\/www.arduino.cc\/en\/Main\/Software\" target=\"_blank\" rel=\"noreferrer noopener\">arduino.cc\/en\/Main\/Software<\/a><\/p>\n\n\n\n<p>Which Arduino IDE version do we recommend? At the moment, there are some plugins for the ESP32 (like the SPIFFS Filesystem Uploader Plugin) that are not yet supported on Arduino 2. So, if you intend to use the SPIFFS plugin in the future, we recommend installing the legacy version 1.8.X. You just need to scroll down on the Arduino software page to find it.<\/p>\n\n\n\n<p>If you&#8217;ll use Arduino 2, you can follow this tutorial instead:<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li><a href=\"https:\/\/randomnerdtutorials.com\/installing-esp32-arduino-ide-2-0\/\">Installing ESP32 Board in Arduino IDE 2.0<\/a><\/li>\n<\/ul>\n\n\n\n<p>If later on, you need to install the SPIFFS plugin, you can install Arduino 1.8.X and have both versions installed on your computer.<\/p>\n\n\n\n<p><strong>Do you need an ESP32 board? <\/strong>You can <a href=\"https:\/\/makeradvisor.com\/tools\/esp32-dev-board-wi-fi-bluetooth\/\" target=\"_blank\" rel=\"noreferrer noopener\" aria-label=\"buy it here (opens in a new tab)\">buy it here<\/a>.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Installing ESP32 Add-on in Arduino IDE <\/h2>\n\n\n\n<p>To install the ESP32 board in your Arduino IDE, follow these next instructions:<\/p>\n\n\n\n<ol><li><p>In your Arduino IDE, go to <strong>File<\/strong>&gt; <strong>Preferences<\/strong><\/p><div class=\"wp-block-image\"><figure class=\"aligncenter\"><img data-recalc-dims=\"1\" fetchpriority=\"high\" decoding=\"async\" width=\"196\" height=\"340\" src=\"https:\/\/i0.wp.com\/randomnerdtutorials.com\/wp-content\/uploads\/2016\/12\/arduino-ide-open-preferences.png?resize=196%2C340&#038;quality=100&#038;strip=all&#038;ssl=1\" alt=\"Installing ESP32 Add-on in Arduino IDE Windows, Mac OS X, Linux open preferences\" class=\"wp-image-65438\" srcset=\"https:\/\/i0.wp.com\/randomnerdtutorials.com\/wp-content\/uploads\/2016\/12\/arduino-ide-open-preferences.png?w=196&amp;quality=100&amp;strip=all&amp;ssl=1 196w, https:\/\/i0.wp.com\/randomnerdtutorials.com\/wp-content\/uploads\/2016\/12\/arduino-ide-open-preferences.png?resize=173%2C300&amp;quality=100&amp;strip=all&amp;ssl=1 173w\" sizes=\"(max-width: 196px) 100vw, 196px\" \/><\/figure><\/div><\/li><li><p>Enter the following into the &#8220;Additional Board Manager URLs&#8221; field: <\/p>\n<\/p><pre class=\"wp-block-preformatted\">https:\/\/raw.githubusercontent.com\/espressif\/arduino-esp32\/gh-pages\/package_esp32_index.json<\/pre><\/p>\n<p>Then, click the &#8220;OK&#8221; button:<\/p><div class=\"wp-block-image\"><figure class=\"aligncenter\"><img data-recalc-dims=\"1\" decoding=\"async\" src=\"https:\/\/i0.wp.com\/randomnerdtutorials.com\/wp-content\/uploads\/2022\/04\/ESP32-URL-Arduino-IDE.png?w=1200&#038;quality=100&#038;strip=all&#038;ssl=1\" alt=\"Installing ESP32 Add-on in Arduino IDE Windows, Mac OS X, Linux enter URLs\" class=\"wp-image-68691\"><\/figure><\/div><p><strong>Note:<\/strong> if you already have the ESP8266 boards URL, you can separate the URLs with a comma as follows:<\/p><pre class=\"wp-block-preformatted\">https:\/\/raw.githubusercontent.com\/espressif\/arduino-esp32\/gh-pages\/package_esp32_index.json, http:\/\/arduino.esp8266.com\/stable\/package_esp8266com_index.json<\/pre><\/li><li><p>Open the Boards Manager. Go to <strong>Tools<\/strong> &gt; <strong>Board<\/strong> &gt; <strong>Boards Manager\u2026<\/strong><\/p><div class=\"wp-block-image\"><figure class=\"aligncenter\"><img data-recalc-dims=\"1\" decoding=\"async\" width=\"628\" height=\"568\" src=\"https:\/\/i0.wp.com\/randomnerdtutorials.com\/wp-content\/uploads\/2018\/06\/boardsManager.png?resize=628%2C568&#038;quality=100&#038;strip=all&#038;ssl=1\" alt=\"Installing ESP32 Add-on in Arduino IDE Windows, Mac OS X, Linux open boards manager\" class=\"wp-image-68686\" srcset=\"https:\/\/i0.wp.com\/randomnerdtutorials.com\/wp-content\/uploads\/2018\/06\/boardsManager.png?w=628&amp;quality=100&amp;strip=all&amp;ssl=1 628w, https:\/\/i0.wp.com\/randomnerdtutorials.com\/wp-content\/uploads\/2018\/06\/boardsManager.png?resize=300%2C271&amp;quality=100&amp;strip=all&amp;ssl=1 300w\" sizes=\"(max-width: 628px) 100vw, 628px\" \/><\/figure><\/div><\/li><li><p>Search for <strong>ESP32<\/strong> and press install button for the &#8220;<strong>ESP32 by Espressif Systems<\/strong>&#8220;:<\/p><div class=\"wp-block-image\"><figure class=\"aligncenter\"><img data-recalc-dims=\"1\" decoding=\"async\" width=\"786\" height=\"443\" src=\"https:\/\/i0.wp.com\/randomnerdtutorials.com\/wp-content\/uploads\/2018\/06\/installing.png?resize=786%2C443&#038;quality=100&#038;strip=all&#038;ssl=1\" alt=\"ESP32 Add-on in Arduino IDE Windows, Mac OS X, Linux Installed\" class=\"wp-image-68689\" srcset=\"https:\/\/i0.wp.com\/randomnerdtutorials.com\/wp-content\/uploads\/2018\/06\/installing.png?w=786&amp;quality=100&amp;strip=all&amp;ssl=1 786w, https:\/\/i0.wp.com\/randomnerdtutorials.com\/wp-content\/uploads\/2018\/06\/installing.png?resize=300%2C169&amp;quality=100&amp;strip=all&amp;ssl=1 300w, https:\/\/i0.wp.com\/randomnerdtutorials.com\/wp-content\/uploads\/2018\/06\/installing.png?resize=768%2C433&amp;quality=100&amp;strip=all&amp;ssl=1 768w\" sizes=\"(max-width: 786px) 100vw, 786px\" \/><\/figure><\/div><\/li><li><p>That&#8217;s it. It should be installed after a few seconds.<\/p><figure class=\"wp-block-image\"><img data-recalc-dims=\"1\" loading=\"lazy\" decoding=\"async\" width=\"786\" height=\"443\" src=\"https:\/\/i0.wp.com\/randomnerdtutorials.com\/wp-content\/uploads\/2019\/07\/ESP32-Board-add-on-in-Arduino-IDE-installed.png?resize=786%2C443&#038;quality=100&#038;strip=all&#038;ssl=1\" alt=\"ESP32 Board add-on in Arduino IDE installed\" class=\"wp-image-86919\" srcset=\"https:\/\/i0.wp.com\/randomnerdtutorials.com\/wp-content\/uploads\/2019\/07\/ESP32-Board-add-on-in-Arduino-IDE-installed.png?w=786&amp;quality=100&amp;strip=all&amp;ssl=1 786w, https:\/\/i0.wp.com\/randomnerdtutorials.com\/wp-content\/uploads\/2019\/07\/ESP32-Board-add-on-in-Arduino-IDE-installed.png?resize=300%2C169&amp;quality=100&amp;strip=all&amp;ssl=1 300w, https:\/\/i0.wp.com\/randomnerdtutorials.com\/wp-content\/uploads\/2019\/07\/ESP32-Board-add-on-in-Arduino-IDE-installed.png?resize=768%2C433&amp;quality=100&amp;strip=all&amp;ssl=1 768w\" sizes=\"(max-width: 786px) 100vw, 786px\" \/><\/figure><\/li><\/ol>\n\n\n\n<h2 class=\"wp-block-heading\">Testing the Installation<\/h2>\n\n\n\n<p>Plug the ESP32 board&nbsp;to your computer. With your Arduino IDE open, follow these steps:<\/p>\n\n\n\n<p>1. Select your Board in&nbsp;<strong>Tools<\/strong>&nbsp;&gt;&nbsp;<strong>Board<\/strong>&nbsp;menu (in my case it\u2019s the&nbsp;<strong>DOIT ESP32 DEVKIT V1<\/strong>)<\/p>\n\n\n<div class=\"wp-block-image\">\n<figure class=\"aligncenter\"><img data-recalc-dims=\"1\" loading=\"lazy\" decoding=\"async\" width=\"614\" height=\"520\" src=\"https:\/\/i0.wp.com\/randomnerdtutorials.com\/wp-content\/uploads\/2016\/12\/windows-select-board.png?resize=614%2C520&#038;quality=100&#038;strip=all&#038;ssl=1\" alt=\"Arduino IDE select the ESP32 board in Tools menu\" class=\"wp-image-65451\" srcset=\"https:\/\/i0.wp.com\/randomnerdtutorials.com\/wp-content\/uploads\/2016\/12\/windows-select-board.png?w=614&amp;quality=100&amp;strip=all&amp;ssl=1 614w, https:\/\/i0.wp.com\/randomnerdtutorials.com\/wp-content\/uploads\/2016\/12\/windows-select-board.png?resize=300%2C254&amp;quality=100&amp;strip=all&amp;ssl=1 300w\" sizes=\"(max-width: 614px) 100vw, 614px\" \/><\/figure><\/div>\n\n\n<p>2. Select the Port (if you don\u2019t see the COM Port in your Arduino IDE, you need to install the&nbsp;<a rel=\"noreferrer noopener\" aria-label=\" (opens in a new tab)\" href=\"https:\/\/www.silabs.com\/products\/development-tools\/software\/usb-to-uart-bridge-vcp-drivers\" target=\"_blank\">CP210x USB to UART Bridge VCP Drivers<\/a>):<\/p>\n\n\n<div class=\"wp-block-image\">\n<figure class=\"aligncenter\"><img data-recalc-dims=\"1\" loading=\"lazy\" decoding=\"async\" width=\"687\" height=\"438\" src=\"https:\/\/i0.wp.com\/randomnerdtutorials.com\/wp-content\/uploads\/2018\/08\/com-port-selected.jpg?resize=687%2C438&#038;quality=100&#038;strip=all&#038;ssl=1\" alt=\"Arduino IDE select the ESP32 Port in Tools menu\" class=\"wp-image-72033\" srcset=\"https:\/\/i0.wp.com\/randomnerdtutorials.com\/wp-content\/uploads\/2018\/08\/com-port-selected.jpg?w=687&amp;quality=100&amp;strip=all&amp;ssl=1 687w, https:\/\/i0.wp.com\/randomnerdtutorials.com\/wp-content\/uploads\/2018\/08\/com-port-selected.jpg?resize=300%2C191&amp;quality=100&amp;strip=all&amp;ssl=1 300w\" sizes=\"(max-width: 687px) 100vw, 687px\" \/><\/figure><\/div>\n\n\n<p>3. Open the following example under <strong>File<\/strong> &gt; <strong>Examples<\/strong> &gt; <strong>WiFi (ESP32)<\/strong> &gt; <strong>WiFiScan<\/strong><\/p>\n\n\n<div class=\"wp-block-image\">\n<figure class=\"aligncenter\"><img data-recalc-dims=\"1\" loading=\"lazy\" decoding=\"async\" width=\"586\" height=\"686\" src=\"https:\/\/i0.wp.com\/randomnerdtutorials.com\/wp-content\/uploads\/2016\/12\/windows-open-wifi-scan-example.png?resize=586%2C686&#038;quality=100&#038;strip=all&#038;ssl=1\" alt=\"Arduino IDE open WiFiScan example for ESP32\" class=\"wp-image-65450\" srcset=\"https:\/\/i0.wp.com\/randomnerdtutorials.com\/wp-content\/uploads\/2016\/12\/windows-open-wifi-scan-example.png?w=586&amp;quality=100&amp;strip=all&amp;ssl=1 586w, https:\/\/i0.wp.com\/randomnerdtutorials.com\/wp-content\/uploads\/2016\/12\/windows-open-wifi-scan-example.png?resize=256%2C300&amp;quality=100&amp;strip=all&amp;ssl=1 256w\" sizes=\"(max-width: 586px) 100vw, 586px\" \/><\/figure><\/div>\n\n\n<p>4. A new sketch opens in your Arduino IDE:<\/p>\n\n\n<div class=\"wp-block-image\">\n<figure class=\"aligncenter\"><img data-recalc-dims=\"1\" loading=\"lazy\" decoding=\"async\" width=\"827\" height=\"719\" src=\"https:\/\/i0.wp.com\/randomnerdtutorials.com\/wp-content\/uploads\/2016\/12\/windows-wifi-scan-example-open.png?resize=827%2C719&#038;quality=100&#038;strip=all&#038;ssl=1\" alt=\"Arduino IDE uploading WiFiScan example to ESP32\" class=\"wp-image-65453\" srcset=\"https:\/\/i0.wp.com\/randomnerdtutorials.com\/wp-content\/uploads\/2016\/12\/windows-wifi-scan-example-open.png?w=827&amp;quality=100&amp;strip=all&amp;ssl=1 827w, https:\/\/i0.wp.com\/randomnerdtutorials.com\/wp-content\/uploads\/2016\/12\/windows-wifi-scan-example-open.png?resize=300%2C261&amp;quality=100&amp;strip=all&amp;ssl=1 300w, https:\/\/i0.wp.com\/randomnerdtutorials.com\/wp-content\/uploads\/2016\/12\/windows-wifi-scan-example-open.png?resize=768%2C668&amp;quality=100&amp;strip=all&amp;ssl=1 768w\" sizes=\"(max-width: 827px) 100vw, 827px\" \/><\/figure><\/div>\n\n\n<p>5. Press the&nbsp;<strong>Upload<\/strong>&nbsp;button in the Arduino IDE. Wait a few seconds while the code compiles and uploads to your board.<\/p>\n\n\n<div class=\"wp-block-image\">\n<figure class=\"aligncenter\"><img data-recalc-dims=\"1\" loading=\"lazy\" decoding=\"async\" width=\"34\" height=\"29\" src=\"https:\/\/i0.wp.com\/randomnerdtutorials.com\/wp-content\/uploads\/2016\/12\/arduino-ide-upload-button.png?resize=34%2C29&#038;quality=100&#038;strip=all&#038;ssl=1\" alt=\"Arduino IDE upload WiFiScan sketch to ESP32\" class=\"wp-image-65439\"\/><\/figure><\/div>\n\n\n<p>6. If everything went as expected, you should see a \u201c<strong>Done uploading.<\/strong>\u201d message.<\/p>\n\n\n<div class=\"wp-block-image\">\n<figure class=\"aligncenter\"><img data-recalc-dims=\"1\" loading=\"lazy\" decoding=\"async\" width=\"671\" height=\"388\" src=\"https:\/\/i0.wp.com\/randomnerdtutorials.com\/wp-content\/uploads\/2016\/12\/windows-arduino-ide-done-uploading.png?resize=671%2C388&#038;quality=100&#038;strip=all&#038;ssl=1\" alt=\"Arduino IDE done uploading ESP32 WiFiScan sketch\" class=\"wp-image-65448\" srcset=\"https:\/\/i0.wp.com\/randomnerdtutorials.com\/wp-content\/uploads\/2016\/12\/windows-arduino-ide-done-uploading.png?w=671&amp;quality=100&amp;strip=all&amp;ssl=1 671w, https:\/\/i0.wp.com\/randomnerdtutorials.com\/wp-content\/uploads\/2016\/12\/windows-arduino-ide-done-uploading.png?resize=300%2C173&amp;quality=100&amp;strip=all&amp;ssl=1 300w\" sizes=\"(max-width: 671px) 100vw, 671px\" \/><\/figure><\/div>\n\n\n<p>7. Open the Arduino IDE Serial Monitor at a baud rate of 115200:<\/p>\n\n\n<div class=\"wp-block-image\">\n<figure class=\"aligncenter\"><img data-recalc-dims=\"1\" loading=\"lazy\" decoding=\"async\" width=\"38\" height=\"29\" src=\"https:\/\/i0.wp.com\/randomnerdtutorials.com\/wp-content\/uploads\/2016\/12\/mac-open-arduino-ide-serial-monitor.png?resize=38%2C29&#038;quality=100&#038;strip=all&#038;ssl=1\" alt=\"Open Arduino IDE Serial Monitor at baud rate 115200\" class=\"wp-image-65447\"\/><\/figure><\/div>\n\n\n<p>8. Press the ESP32 on-board&nbsp;<strong>Enable<\/strong>&nbsp;button and you should see the networks available near your ESP32:<\/p>\n\n\n<div class=\"wp-block-image\">\n<figure class=\"aligncenter\"><img data-recalc-dims=\"1\" loading=\"lazy\" decoding=\"async\" width=\"646\" height=\"425\" src=\"https:\/\/i0.wp.com\/randomnerdtutorials.com\/wp-content\/uploads\/2016\/12\/windows-arduino-ide-serial-monitor.png?resize=646%2C425&#038;quality=100&#038;strip=all&#038;ssl=1\" alt=\"ESP32 Testing Add-on installation in Windows PC, Max OS X, and Linux computer\" class=\"wp-image-65449\" srcset=\"https:\/\/i0.wp.com\/randomnerdtutorials.com\/wp-content\/uploads\/2016\/12\/windows-arduino-ide-serial-monitor.png?w=646&amp;quality=100&amp;strip=all&amp;ssl=1 646w, https:\/\/i0.wp.com\/randomnerdtutorials.com\/wp-content\/uploads\/2016\/12\/windows-arduino-ide-serial-monitor.png?resize=300%2C197&amp;quality=100&amp;strip=all&amp;ssl=1 300w\" sizes=\"(max-width: 646px) 100vw, 646px\" \/><\/figure><\/div>\n\n\n<h2 class=\"wp-block-heading\">Troubleshooting<\/h2>\n\n\n\n<p><strong>1)<\/strong> If you try to upload a new sketch to your ESP32 and you get this error message &#8220;<em>A fatal error occurred: Failed to connect to ESP32: Timed out\u2026 Connecting\u2026<\/em>&#8220;. It means that your ESP32 is not in flashing\/uploading mode.<\/p>\n\n\n\n<p>Having the right board name and COM port selected, follow these steps:<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>Hold-down the &#8220;<strong>BOOT<\/strong>&#8221; button in your ESP32 board<\/li>\n<\/ul>\n\n\n<div class=\"wp-block-image\">\n<figure class=\"aligncenter\"><img data-recalc-dims=\"1\" loading=\"lazy\" decoding=\"async\" width=\"750\" height=\"435\" src=\"https:\/\/i0.wp.com\/randomnerdtutorials.com\/wp-content\/uploads\/2018\/07\/boot-button.jpg?resize=750%2C435&#038;quality=100&#038;strip=all&#038;ssl=1\" alt=\"Solved A fatal error occurred: Failed to connect to ESP32: Timed out\u2026 Connecting\u2026\" class=\"wp-image-67778\" srcset=\"https:\/\/i0.wp.com\/randomnerdtutorials.com\/wp-content\/uploads\/2018\/07\/boot-button.jpg?w=750&amp;quality=100&amp;strip=all&amp;ssl=1 750w, https:\/\/i0.wp.com\/randomnerdtutorials.com\/wp-content\/uploads\/2018\/07\/boot-button.jpg?resize=300%2C174&amp;quality=100&amp;strip=all&amp;ssl=1 300w\" sizes=\"(max-width: 750px) 100vw, 750px\" \/><\/figure><\/div>\n\n\n<ul class=\"wp-block-list\">\n<li>Press the \u201c<strong>Upload<\/strong>\u201d button in the Arduino IDE to upload your sketch:<\/li>\n<\/ul>\n\n\n<div class=\"wp-block-image\">\n<figure class=\"aligncenter\"><img data-recalc-dims=\"1\" loading=\"lazy\" decoding=\"async\" width=\"34\" height=\"29\" src=\"https:\/\/i0.wp.com\/randomnerdtutorials.com\/wp-content\/uploads\/2016\/12\/arduino-ide-upload-button.png?resize=34%2C29&#038;quality=100&#038;strip=all&#038;ssl=1\" alt=\"Arduino IDE uploading new sketch to ESP32\" class=\"wp-image-65439\"\/><\/figure><\/div>\n\n\n<ul class=\"wp-block-list\">\n<li>After you see the&nbsp;&nbsp;&#8220;<strong>Connecting&#8230;.<\/strong>&#8221; message in your Arduino IDE, release the finger from the &#8220;<strong>BOOT<\/strong>&#8221;&nbsp;button:<\/li>\n<\/ul>\n\n\n<div class=\"wp-block-image\">\n<figure class=\"aligncenter\"><img data-recalc-dims=\"1\" loading=\"lazy\" decoding=\"async\" width=\"900\" height=\"385\" src=\"https:\/\/i0.wp.com\/randomnerdtutorials.com\/wp-content\/uploads\/2018\/07\/uploading-esp32.png?resize=900%2C385&#038;quality=100&#038;strip=all&#038;ssl=1\" alt=\"Arduino IDE done uploading ESP32 WiFiScan sketch\" class=\"wp-image-67780\" srcset=\"https:\/\/i0.wp.com\/randomnerdtutorials.com\/wp-content\/uploads\/2018\/07\/uploading-esp32.png?w=900&amp;quality=100&amp;strip=all&amp;ssl=1 900w, https:\/\/i0.wp.com\/randomnerdtutorials.com\/wp-content\/uploads\/2018\/07\/uploading-esp32.png?resize=300%2C128&amp;quality=100&amp;strip=all&amp;ssl=1 300w, https:\/\/i0.wp.com\/randomnerdtutorials.com\/wp-content\/uploads\/2018\/07\/uploading-esp32.png?resize=768%2C329&amp;quality=100&amp;strip=all&amp;ssl=1 768w\" sizes=\"(max-width: 900px) 100vw, 900px\" \/><\/figure><\/div>\n\n\n<ul class=\"wp-block-list\">\n<li>After that, you should see the &#8220;<strong>Done uploading<\/strong>&#8221; message<\/li>\n<\/ul>\n\n\n\n<p>That&#8217;s it. Your ESP32 should have the new sketch running. Press the &#8220;<strong>ENABLE<\/strong>&#8221; button to restart the ESP32 and run the new uploaded sketch.<\/p>\n\n\n\n<p>You&#8217;ll also have to repeat that button sequence every time you want to upload a new sketch. But if you want to solve this issue once for all without the need to press the <strong>BOOT <\/strong>button, follow the suggestions in the next guide:<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li><a href=\"https:\/\/randomnerdtutorials.com\/solved-failed-to-connect-to-esp32-timed-out-waiting-for-packet-header\/\">[SOLVED] Failed to connect to ESP32: Timed out waiting for packet header<\/a><\/li>\n<\/ul>\n\n\n\n<p><strong>2)<\/strong> If you get the error &#8220;COM Port not found\/not available&#8221;, you might need to install the CP210x Drivers:<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li><a href=\"https:\/\/randomnerdtutorials.com\/install-esp32-esp8266-usb-drivers-cp210x-windows\/\">Install USB Drivers \u2013 CP210x USB to UART Bridge (Windows PC)<\/a><\/li>\n\n\n\n<li><a href=\"https:\/\/randomnerdtutorials.com\/install-esp32-esp8266-usb-drivers-cp210x-mac-os\/\">Install USB Drivers \u2013 CP210x USB to UART Bridge (Mac OS X)<\/a><\/li>\n<\/ul>\n\n\n\n<p>If you experience any problems or issues with your ESP32, take a look at our in-depth <a href=\"https:\/\/randomnerdtutorials.com\/esp32-troubleshooting-guide\/\">ESP32 Troubleshooting Guide<\/a>. <\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Wrapping Up<\/h2>\n\n\n\n<p>This is a quick guide that illustrates how to prepare your Arduino IDE for the ESP32 on a Windows PC, Mac OS X, or Linux computer. If you encounter any issues during the installation procedure, take a look at the <a href=\"https:\/\/randomnerdtutorials.com\/esp32-troubleshooting-guide\/\">ESP32 troubleshooting guide<\/a>.<\/p>\n\n\n\n<p>Now, you can start building your own IoT projects with the ESP32! <\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li><a href=\"https:\/\/randomnerdtutorials.com\/learn-esp32-with-arduino-ide\/\"><strong>Learn ESP32 with Arduino IDE [eBook + Video Course]<\/strong><\/a><\/li>\n\n\n\n<li><a rel=\"noreferrer noopener\" aria-label=\" (opens in a new tab)\" href=\"https:\/\/makeradvisor.com\/esp32-vs-esp8266\/\" target=\"_blank\">ESP32 vs ESP8266 &#8211; Pros and Cons<\/a><\/li>\n\n\n\n<li><a href=\"https:\/\/randomnerdtutorials.com\/projects-esp32\/\">Free ESP32 Projects and Tutorials<\/a><\/li>\n\n\n\n<li><a href=\"https:\/\/randomnerdtutorials.com\/esp32-web-server-arduino-ide\/\">Build an ESP32 Web Server with Arduino IDE<\/a><\/li>\n\n\n\n<li><a href=\"https:\/\/randomnerdtutorials.com\/esp32-dht11-dht22-temperature-humidity-web-server-arduino-ide\/\">ESP32 DHT11\/DHT22 Web Server with Arduino IDE<\/a><\/li>\n<\/ul>\n\n\n\n<p>Thanks for reading.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>There&#8217;s an add-on for the Arduino IDE that allows you to program the ESP32 using the Arduino IDE and its programming language. In this tutorial we&#8217;ll show you how to &#8230; <\/p>\n<p class=\"read-more-container\"><a title=\"Installing the ESP32 Board in Arduino IDE (Windows, Mac OS X, Linux)\" class=\"read-more button\" href=\"https:\/\/randomnerdtutorials.com\/installing-the-esp32-board-in-arduino-ide-windows-instructions\/#more-30772\" aria-label=\"Read more about Installing the ESP32 Board in Arduino IDE (Windows, Mac OS X, Linux)\">CONTINUE READING \u00bb<\/a><\/p>\n","protected":false},"author":1,"featured_media":86908,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"jetpack_post_was_ever_published":false,"_jetpack_newsletter_access":"","_jetpack_dont_email_post_to_subs":true,"_jetpack_newsletter_tier_id":0,"_jetpack_memberships_contains_paywalled_content":false,"_jetpack_memberships_contains_paid_content":false,"footnotes":""},"categories":[245,276,281,277,299,269,264,278],"tags":[],"class_list":["post-30772","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-arduino-ide","category-esp32","category-esp32-project","category-esp32-arduino-ide","category-0-esp32","category-guide-project","category-project","category-windows"],"aioseo_notices":[],"jetpack_featured_media_url":"https:\/\/i0.wp.com\/randomnerdtutorials.com\/wp-content\/uploads\/2018\/08\/Install-the-ESP32-Board-in-Arduino-IDE-in-less-than-1-minute-Windows-Mac-OS-X-and-Linux.jpg?fit=1280%2C720&quality=100&strip=all&ssl=1","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/randomnerdtutorials.com\/wp-json\/wp\/v2\/posts\/30772","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/randomnerdtutorials.com\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/randomnerdtutorials.com\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/randomnerdtutorials.com\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/randomnerdtutorials.com\/wp-json\/wp\/v2\/comments?post=30772"}],"version-history":[{"count":13,"href":"https:\/\/randomnerdtutorials.com\/wp-json\/wp\/v2\/posts\/30772\/revisions"}],"predecessor-version":[{"id":149297,"href":"https:\/\/randomnerdtutorials.com\/wp-json\/wp\/v2\/posts\/30772\/revisions\/149297"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/randomnerdtutorials.com\/wp-json\/wp\/v2\/media\/86908"}],"wp:attachment":[{"href":"https:\/\/randomnerdtutorials.com\/wp-json\/wp\/v2\/media?parent=30772"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/randomnerdtutorials.com\/wp-json\/wp\/v2\/categories?post=30772"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/randomnerdtutorials.com\/wp-json\/wp\/v2\/tags?post=30772"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}