FAQ
TL;DR: Arduino IDE 1.8.19 works on Windows 7; “Select your COMx port.” Install the ESP32 core, choose DOIT ESP32 DEVKIT V1, and drivers. [Elektroda, piterek-23, post #19863757]
Why it matters: This FAQ helps Windows users fix ESP32 upload, driver, and board-selection errors fast.
Quick Facts
- Add this Boards Manager URL: https://dl.espressif.com/dl/package_esp32_index.json, then install “esp32 by Espressif Systems.” [Elektroda, piterek-23, post #19863735]
- Typical USB‑UART chips: CP210x or CH340; on Windows 7 install their drivers so the USB device is recognized. [“Getting Started with ESP32”]
- For generic devkits select “DOIT ESP32 DEVKIT V1”; defaults 80 MHz CPU and 115200 upload work well. [Elektroda, piterek-23, post #19863735]
- If you see “Multiple libraries were found for WiFi.h,” keep the ESP32 core’s WiFi.h and remove the separate Arduino WiFi library. [Elektroda, malimaro, post #19863744]
What board should I choose in Arduino IDE for my ESP32 devkit?
Install “esp32 by Espressif Systems” via Boards Manager. Then select “DOIT ESP32 DEVKIT V1” for common DevKit V1 boards. Keep default options (80 MHz, 115200). Finally, pick your COM port under Tools > Port before uploading. [Elektroda, piterek-23, post #19863735]
How do I install the ESP32 boards package in Arduino IDE (Windows)?
- File > Preferences > Additional Boards Manager URLs: paste https://dl.espressif.com/dl/package_esp32_index.json.
- Tools > Board > Boards Manager: search “esp32” and install by Espressif Systems.
- Tools > Board: choose “DOIT ESP32 DEVKIT V1,” then select your COM port.
Restart the IDE if the board list does not refresh. [“Getting Started with ESP32”]
Windows 7 shows “Unknown USB device.” How do I make the ESP32 appear?
Use a known data‑capable USB cable and try another port. Install the correct USB‑UART driver (CP210x or CH340) for your board. After driver install, replug the board and check Device Manager for a new COM port. Edge case: charge‑only cables power the board but never create a COM port. [“Getting Started with ESP32”]
How do I fix “cannot find crt1-sim.o” or “_vectors.o” when compiling?
Your ESP32 core or toolchain is incomplete. Reinstall the ESP32 boards package using Boards Manager. Close Arduino IDE, reopen it, and compile again. Ensure your antivirus or firewall does not block downloads. If issues persist, remove and reinstall the ESP32 package cleanly via Boards Manager. [“Installing ESP32 in Arduino IDE”]
What does “Multiple libraries were found for WiFi.h” mean and how do I resolve it?
Arduino found more than one WiFi library. For ESP32, use the WiFi.h that ships with the ESP32 core. Remove or rename the separate Arduino WiFi library to avoid conflicts. Then recompile your sketch. This clears the ambiguous include and prevents build errors. [Elektroda, malimaro, post #19863744]
How do I upload a basic Blink sketch to verify the board?
Open File > Examples > 01.Basics > Blink. Select your ESP32 board and COM port. Many DevKit V1 boards map LED_BUILTIN to GPIO 2. If the LED does not blink, set pinMode(2, OUTPUT) and toggle digitalWrite(2, HIGH/LOW). Upload and confirm the LED activity. [“Getting Started with ESP32”]
Which COM port should I select, and how do I find it?
Open Windows Device Manager and expand “Ports (COM & LPT).” Note the COM number for “USB Serial” or CP210x. In Arduino IDE, go to Tools > Port and choose that COMx. “Select your COMx port.” After selecting, compile and upload. [Elektroda, piterek-23, post #19863757]
Do I need to hold the BOOT button when uploading to ESP32?
Many boards auto‑enter bootloader mode. If you see “Failed to connect” or “Connecting….” forever, hold BOOT while starting upload. Release BOOT when the upload begins, or press EN to reset after flashing. This helps boards without auto‑boot circuitry. [“Getting Started with ESP32”]
What upload speed should I use for faster flashing?
Use 115200 for reliability. Increase to 921600 baud if your cable and port are stable. Faster speeds cut flash time significantly on large sketches. If uploads fail at high speed, step down to 460800 or 115200 and retry. [Espressif, 2023]
Will upgrading to Windows 10 help with driver issues?
Yes. Windows 10 often auto‑installs common USB‑UART drivers via Windows Update. This reduces manual driver steps compared to Windows 7. You still must install the ESP32 boards package in Arduino IDE. Verify Device Manager shows a valid COM port after plugging in. [“Getting Started with ESP32”]
How can I tell if the USB cable is the problem?
If the board powers but no COM port appears, suspect a charge‑only cable. Test with a known data cable from a phone that can transfer files. Swap ports and cables until Device Manager shows a stable COM entry. Then retry uploading. [“Getting Started with ESP32”]
Where can I find a step‑by‑step tutorial for this specific ESP32 board?
Follow the recommended beginner guide for ESP32 devkits. It shows driver installation, Boards Manager setup, board selection, and example uploads. The forum linked it as a match for your board. Work through it end‑to‑end before custom code. [Elektroda, inot, post #19862985]