This guide walks you through everything from zero to your first “Blink” program on the Electrifly Labs ESP32 CoreLab board.
The ESP32 CoreLab board can be programmed using the Arduino IDE, which provides an easy development environment for beginners.
Laptop/PC (Windows, macOS, or Linux)
Good internet connectivity
USB Type-C cable (data cable, not just charging cable)
Electrifly Labs ESP32 CoreLab board
The components from your CoreLab kit (OLED, sensors, LEDs, etc.)
Go to the official website: https://www.arduino.cc/en/software
Download the Arduino IDE 2.x version for your operating system (Windows, macOS, or Linux).
Run the installer and follow the on-screen instructions.
Open Arduino IDE once installed.
In Arduino IDE, go to File → Preferences.
In the field “Additional boards manager URLs”, paste this exact link:
https://raw.githubusercontent.com/espressif/arduino-esp32/gh-pages/package_esp32_index.json
Click OK.
Go to Tools → Board → Boards Manager.
In the search box, type ESP32.
Find “ESP32 by Espressif Systems” and click Install (install the latest version, usually 3.x).
Wait for the installation to finish, then close Boards Manager.
Plug the USB Type-C cable into the CoreLab board and your laptop/PC.
The board should be detected by your computer.
ESP32 CoreLab board use a CH340 USB-to-serial chip. If the board is not detected in Arduino IDE (no port appears under Tools → Port), or if you see a "USB device not recognized" message, you may need to install the CH340 driver.
Follow these steps:
For Windows:
Download the official CH340 driver from WCH: https://www.wch-ic.com/downloads/CH341SER_ZIP.html (or search “WCH CH341SER Windows driver”)
Extract the ZIP file and run the installer (SETUP.EXE).
After installation, unplug and replug the board.
For macOS:
Download the CH340 driver : https://sparks.gogo.co.nz/ch340.html?srsltid=AfmBOopYwuexFdJFejZcGNaSTwVWPpdUeV6RtdLaRlI1gyKPpH4ySsa9 (or latest version)
Open the downloaded file and install the driver.
Restart your Mac, then reconnect the board.
For Linux:
Most modern Linux distributions (Ubuntu, etc.) already include CH340 support. No extra installation is usually needed. If the port still doesn’t appear, run this command in Terminal: sudo apt update && sudo apt install linux-modules-extra-$(uname -r)
After installing the driver:
Reconnect the board.
Check Tools → Port again — the port should now appear (e.g., COMxx on Windows or /dev/cu.usbserial... on macOS).
Go to Tools → Board → ESP32 Arduino → select ESP32S3 Dev Module.
Go to Tools → Port and select the port shown for your CoreLab board.
According to your CoreLab board, there is a built-in LED connected to GPIO 15.
Easiest Way:
Go to File → Examples → 01.Basics → Blink.
In the code, change LED_BUILTIN to 15 in both pinMode and digitalWrite lines.
Click Upload.
Manual Code (Recommended – Copy and Paste This):
// the setup function runs once when you press reset or power the board
void setup() {
// initialize digital pin 15 as an output.
pinMode(15, OUTPUT);
}
// the loop function runs over and over again forever
void loop() {
digitalWrite(15, HIGH); // turn the LED on (HIGH is the voltage level)
delay(1000); // wait for a second
digitalWrite(15, LOW); // turn the LED off by making the voltage LOW
delay(1000); // wait for a second
}
How to Upload:
Click the Verify button (✓) to check the code.
Click the Upload button (→).
If upload fails, hold the BOOT button on the board while clicking Upload, then release it.
After successful upload, you should see the onboard LED (connected to pin 15) blinking on and off every second.
No port appears → Install CH340 driver (Step 3.1) and reconnect.
Upload error → Hold BOOT button during upload.
LED not blinking → Confirm you changed the pin to 15. Try a longer delay (e.g., 2000) to see it clearly.
Board disconnects during upload → Use a better USB-C data cable.
Great! The board is now ready for all ESP32 CoreLab projects. 🚀