Site Guide

Find your way around the Engineering Club.

Know what you need? Search for a component, concept or project.

Around the site

Start

Labs

TestingExperimental

Build

Club

LearnExperimental

Go a little deeper

Entry points to larger collections. Use Search for individual records.

Learning paths & reference

Inside PiCrawlerExperimental

Inside Inventory

Start / Board Guides

ELEGOO ESP-WROOM-32

Run a serial counter after checking the exact ESP32 carrier board.

← Choose a different board

What you need

  • The ESP32-WROOM-32 development board, with its module and carrier identified before upload.
  • A data-capable USB cable that fits the actual board, plus a computer with internet access.
  • VS Code with PlatformIO IDE. No external circuit is needed.
ELEGOO ESP-WROOM-32

Identify the carrier before upload. ESP32-WROOM-32 names the module, not the complete development board. The supplied esp32dev configuration is conditional: confirm an original ESP32, 4 MB flash with DIO mode, the USB bridge, pinout and reset/boot controls. If these are unknown, ask a club lead to identify the board before uploading. ESP32 GPIO is 3.3 V and is not generally 5 V tolerant.

Setup

  1. Install the editor and extension

    Install VS Code. In Extensions, search for PlatformIO IDE by PlatformIO, install it, and let its setup finish. Already completed the Uno setup? Keep that installation; only the downloaded board project changes.

  2. Check the board and connect USB

    Read the module and carrier markings and compare them with the board manufacturer's documentation. This project is not for ESP32-C3, C6 or S3. Once the identity checks above are resolved, connect USB with all header wiring removed. Identify the USB device that appears on your computer.

Your first program

The program prints an increasing number once per second; it does not assume an onboard LED pin or connect to Wi-Fi.

Download complete project ZIP · PlatformIO & C++ · conditional carrier
main.cpp
#include <Arduino.h>

#ifndef CONFIG_IDF_TARGET_ESP32
#error "This example targets the original ESP32, not C3, C6 or S3."
#endif

unsigned long messageNumber = 0;

void setup() {
  Serial.begin(115200);
}

void loop() {
  Serial.print("Engineering Club: ESP32 message ");
  Serial.println(messageNumber++);
  delay(1000);
}
platformio.ini
platformio.ini
[env:esp32]
platform = espressif32@7.1.3
board = esp32dev
framework = arduino
monitor_speed = 115200
  1. Download and open the reference project

    Extract the complete project ZIP. In VS Code, use File → Open Folder… and open the folder containing platformio.ini and src. Inspect both files below. board = esp32dev is a generic reference, not confirmation that your carrier is compatible.

  2. Build

    Choose Project Tasks → esp32 → General → Build in PlatformIO, or run the command below in a PlatformIO terminal. Wait for SUCCESS. A successful build checks the software target; it does not identify the connected hardware.

    pio run -e esp32
  3. Upload after the identity check

    Close other serial monitors. With the carrier and flash assumptions confirmed, choose Project Tasks → esp32 → General → Upload, or run the command below. Upload replaces the existing firmware. If the loader does not connect, follow the short BOOT/EN check under Troubleshooting.

    pio run -e esp32 -t upload

Verify it works

Open Project Tasks → esp32 → General → Monitor at 115200 baud, or run the command below. Expect consecutive message numbers about one second apart. If necessary, press the identified reset/EN button with BOOT released. An LED change is not part of this example. Close the terminal monitor with Ctrl+C before uploading again.

pio device monitor -b 115200
Engineering Club: ESP32 message 0
Engineering Club: ESP32 message 1
Engineering Club: ESP32 message 2

Troubleshooting

Carrier or flash size is still unknown

Stop before upload. Read the carrier's documentation or have the actual board inspected. Do not try other ESP32 targets until one happens to upload.

No serial port

Try a known USB data cable. Identify the carrier's USB bridge and install only its manufacturer-provided driver if your operating system needs it.

Loader stays at Connecting

Only if the board has confirmed BOOT and EN controls: hold BOOT, tap EN, and release BOOT after the loader connects and begins writing. After upload, reset with BOOT released.

Blank or garbled monitor

Use the actual application port and 115200 baud. Close competing monitors and reset with BOOT released. Check that upload completed successfully.