Installing the Arduino IDE and the ESP32 board.
Free for parents and teachers.
Everything from a blank computer to a blinking LED on the board in your kit. Pick your computer first - every step below changes to match it. Tick them off as you go; the page remembers where you were.
Showing the Windows instructions.
Every link below goes to the manufacturer, never to a driver-download site. Those sites wrap drivers in adware and are the usual reason a school laptop ends up in a worse state than it started.
CH341SER.EXE.
wch-ic.com
🔌
CH340 driver
Try without it first. macOS has bundled a CH34x driver since Mojave, so most Macs need nothing. Only install this if the port never appears.
wch-ic.com
📚
Espressif's official guide
The manufacturer's own install walkthrough, with current screenshots. Useful if your IDE looks different from the diagrams below.
docs.espressif.com
About 15 minutes, most of it waiting for downloads. Do this before class, not during it.
Go to arduino.cc/en/software and take Arduino IDE 2.x, the big download button.
Choose Windows Win 10 and newer, 64 bit. You will get an .exe installer.
Choose macOS Apple Silicon if your Mac is M1/M2/M3/M4, or macOS Intel, 10.15 or newer if it is older. If you are not sure: Apple menu → About This Mac. It says either "Apple M..." or "Intel".
The site will ask you to donate. "Just Download" is free and fine.
Run the .exe. Accept the licence, keep the default folder, and say yes to every driver box Windows offers during the install - those are the USB drivers you will need in step 3.
Open the .dmg and drag Arduino IDE into Applications. Open it from Applications, not from the disk image.
The ESP32 board talks to your computer through a small USB-to-serial chip. Your computer needs its driver, or the board will never appear. Boards in this kit use one of two chips, and you cannot tell by looking - install whichever matches, or simply install both.
Plug the board in, then open Device Manager (Win + X, then Device Manager) and look under Ports (COM & LPT).
Plug the board in, then hold Option and click the Apple menu → System Information → USB.
If you see CP210x or CP2102, install the Silicon Labs driver above. If you see CH340 or CH9102, install the WCH driver. If you see nothing at all, jump to the troubleshooting section below.
Out of the box the Arduino IDE only knows Arduino boards. Two short steps add ESP32.
In the IDE: File → Preferences.
In the IDE: Arduino IDE → Settings (or Cmd + ,).
Find Additional boards manager URLs and paste this in:
https://espressif.github.io/arduino-esp32/package_esp32_index.json
Open Tools → Board → Boards Manager (or the second icon down the left edge). Search for esp32 and install esp32 by Espressif Systems.
This download is large, roughly 200 MB, and can take several minutes. Let it finish before doing anything else.
With the board plugged in: Tools → Board → esp32 → ESP32 Dev Module. That is the right choice for the board in this kit.
Then Tools → Port and pick the COM number that appeared when you plugged the board in. Unplug and replug to see which one changes.
Then Tools → Port and pick /dev/cu.usbserial-... or /dev/cu.SLAB_USBtoUART. Avoid anything with "Bluetooth" in the name.
115200 fixes it more often than anything else.Paste this in, then press the arrow button to upload. The small blue LED on the board should start blinking one second on, one second off.
void setup(){ pinMode(2, OUTPUT); }
void loop(){ digitalWrite(2, HIGH); delay(1000); digitalWrite(2, LOW); delay(1000); }
When the IDE prints Connecting........, press and hold the BOOT button on the board until it starts writing. On many ESP32 boards this is required every time, and it is not a fault.
Tap a symptom. These are in the order they actually happen in a classroom.
Connecting.... appears, press and hold BOOT until the progress bar moves. Release it then.115200.115200. That is what every sketch in this course uses.Serial.begin(115200); in setup().Serial.println("alive"); to loop() to prove the sketch is actually running.The five minutes that save a lesson.
Not one machine - every one. Driver problems are per-computer, and finding eight of them at 2:50 PM with twelve children waiting is the single most common way one of these lessons goes wrong.
Label each board and its cable with the same number. A cable that works stays with the board it works with.