• Skip to main content
  • Skip to primary sidebar

RNTLab.com

The Ultimate Shortcut to Learn Electronics and Programming with Open Source Hardware and Software

  • Courses
  • Forum
    • Forum
    • Ask Question
  • Shop
  • Account
  • Blog
  • Login

Installing ESP32 in Arduino IDE

Q&A Forum › Category: Arduino › Installing ESP32 in Arduino IDE
0 Vote Up Vote Down
Robert Gillespie asked 6 years ago

Arduino: 1.8.9 (Windows 10), Board: “DOIT ESP32 DEVKIT V1, 80MHz, 921600, None”
Sketch uses 631346 bytes (48%) of program storage space. Maximum is 1310720 bytes.
Global variables use 37960 bytes (11%) of dynamic memory, leaving 289720 bytes for local variables. Maximum is 327680 bytes.
esptool.py v2.6
Serial port COM3
Connecting…….._____….._____….._____….._____….._____….._____….._____
A fatal error occurred: Failed to connect to ESP32: Timed out waiting for packet header
A fatal error occurred: Failed to connect to ESP32: Timed out waiting for packet header
This report would have more information with
“Show verbose output during compilation”
option enabled in File -> Preferences.
This is the error I get while uploading the wifi scan sketch.  I’m using the right com i believe.  I’ve loaded the latest Arduino IDE.  Any help?
 

Question Tags: 80MHz, 921600, Arduino: 1.8.9 (Windows 10), Board: "DOIT ESP32 DEVKIT V1, None" Sketch uses 631346 bytes (48%) of program storage space. Maximum is 1310720 bytes. Global variables use 37960 bytes (11%) of dynamic memory
3 Answers
0 Vote Up Vote Down
DK answered 6 years ago

Hi
use Device Manager to find the Com Port your esp32 is using
https://docs.espressif.com/projects/esp-idf/en/latest/get-started/establish-serial-connection.html
 
https://randomnerdtutorials.com/installing-the-esp32-board-in-arduino-ide-windows-instructions/
 

0 Vote Up Vote Down
Robert Gillespie answered 6 years ago

https://randomnerdtutorials.com/solved-failed-to-connect-to-esp32-timed-out-waiting-for-packet-header/ was an answer that worked.  Hold down the boot button during loading.  It worked but is problematic.  They then went on to say install a 10 uf capacitor between the EN and GND.  Might try this.  I think it does show I had the correct com port.  Thanks for advice.
Bob

0 Vote Up Vote Down
Paul answered 6 years ago

Hi Robert, having to push a button at the flashing time may be very annoying, even more if you have to repeat the flashing many times.
I use boards like the Wemos D1 mini (8266) or the MH-ET Live MiniKit (ESP32) and I do not have to do that irritating task. I assume that these boards have already all the needed electronics .

Primary Sidebar

Login to Ask or Answer Questions

This Forum is private and it’s only available for members enrolled in our Courses.

Login »

Latest Course Updates

  • [eBook Updated] Learn Raspberry Pi Pico/Pico W with MicroPython eBook – Version 1.2 May 26, 2025
  • [New Edition] Build ESP32-CAM Projects eBook – 2nd Edition April 16, 2025

You must be logged in to view this content.

Contact Support - Refunds - Privacy - Terms - MakerAdvisor.com - Member Login

Copyright © 2013-2025 · RandomNerdTutorials.com · All Rights Reserved

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.