In the box
- 3 ESP32 development boards, 30 pins each, with USB-C.
- 3 translucent blue USB-A to USB-C cables.
- Rainbow ribbon jumpers in three types: male-to-male, male-to-female, and female-to-female. Each ribbon is 20 cm (7.9 in) long and has 40 leads.
Set up Arduino IDE
- Install Arduino IDE 2. In Settings or Preferences, add the URL below to Additional Boards Manager URLs.
- Open Boards Manager, search for
esp32, and install esp32 by Espressif Systems. - Connect one board directly to your computer. With the supplied cable, plug USB-C into the board and USB-A into the computer or a data-capable adapter.
- Read the marking on the metal module. If it says ESP32-WROOM-32 (including variants such as ESP32-WROOM-32E), select Tools → Board → esp32 → ESP32 Dev Module when no exact board entry is available. For a different ESP32 family, select the matching family or board instead.
- Under Tools → Port, select the port that appears when you plug in the board. Unplug and reconnect once if you need to identify it.
Boards Manager URL
https://espressif.github.io/arduino-esp32/package_esp32_index.json
Upload a serial test
Open a new sketch and replace the starter code with the example below. Click Upload. When it finishes, open Serial Monitor and select 115200 baud. Use a separate sketch for each example.
void setup() {
Serial.begin(115200);
}
void loop() {
Serial.println("ESP32 is running");
delay(1000);
}
What you should seeESP32 is running appears about once per second. To check all three boards, repeat the upload and serial test with each one, one at a time.
Blink an external LED
What you need One red LED, one 330 Ω resistor, and a breadboard. These are separate from the kit. Use this wiring only if your classic ESP32 board has a pin marked 23, IO23, or GPIO23 and your pinout confirms the label.
Unplug USB power. Place the LED legs on separate breadboard rows. Connect GPIO23 through the resistor to the long leg (+), then connect the short leg (−) to GND. Reconnect USB and upload.
const int ledPin = 23;
void setup() {
pinMode(ledPin, OUTPUT);
}
void loop() {
digitalWrite(ledPin, HIGH);
delay(500);
digitalWrite(ledPin, LOW);
delay(500);
}
What you should see
The LED turns on for half a second and off for half a second. If it stays dark, unplug USB and check the LED polarity, resistor, breadboard rows, and pin labels.
Arduino Blink example · Espressif GPIO reference for DevKitC V4
Find nearby Wi-Fi networks
Use one board and its USB cable. This sketch lists nearby network names, channels, and signal strength in dBm. It needs no Wi-Fi password and does not join a network.
#include <WiFi.h>
void setup() {
Serial.begin(115200);
WiFi.mode(WIFI_STA);
WiFi.disconnect();
}
void loop() {
Serial.println("Scanning for Wi-Fi...");
const int count = WiFi.scanNetworks();
if (count < 0) {
Serial.printf("Scan failed (%d).\n", count);
} else if (count == 0) {
Serial.println("No networks found.");
} else {
for (int i = 0; i < count; ++i) {
Serial.printf("%s | channel %ld | %ld dBm\n",
WiFi.SSID(i).c_str(),
(long)WiFi.channel(i),
(long)WiFi.RSSI(i));
}
}
WiFi.scanDelete();
delay(10000);
}
What you should see
At 115200 baud, the monitor prints lines such as HomeWiFi | channel 6 | -54 dBm. On a classic ESP32, check that a nearby router has 2.4 GHz enabled if the scan finds nothing.
Choose the right jumper
- Male-to-male: Connect two sockets, such as holes in a compatible breadboard.
- Male-to-female: Connect a socket to an exposed header pin on a board or module.
- Female-to-female: Connect two exposed header pins.
Peel individual leads from the ribbon as needed. Disconnect USB power before changing wiring. Use the pin labels and pinout for your exact board. Check that the peripheral's signal levels are compatible with 3.3 V GPIO, connect a common ground, and use a level shifter for a 5 V signal.
Troubleshooting
No port appears
Try a different data-capable cable and plug directly into another USB port. If the computer still sees no serial port, identify the USB-to-serial chip from the board markings or your computer's device information and check the chip maker's driver instructions.
Upload stays at “Connecting…”
Remove any jumpers, close other programs using the serial port, and confirm the board and port. On a classic ESP32 with a BOOT button, hold BOOT while the uploader is connecting and release it when writing begins. If it still cannot connect and your board also has an EN or RST button, hold BOOT, tap EN or RST, and keep holding BOOT until writing begins. Try an upload speed of 115200 if the connection is unstable.
Serial Monitor is blank or unreadable
Check that the upload succeeded, the selected port belongs to this board, and Serial Monitor is set to 115200 baud. If needed, tap EN or RST to restart the sketch. On an ESP32 variant with native USB, check whether the selected board profile uses USB CDC or a USB-to-serial connection.