ESP32 programming (1/8): Board intro, Arduino IDE setup & Blink
Free ESP32 Arduino course — part 1: DevKit, esp32 board package, Blink sketch, Serial Monitor. Roadmap: learn-arduino-esp32-from-scratch
· 2 min read
Beginner Arduino ESP32 course — IoT from Blink to SmartNode · Part 1/8▼
Table of contents▼
Beginner Arduino ESP32 course — Part 1/8 (~25 min)
Running case study: SmartNode — WiFi IoT node for lights and sensors.
Roadmap: Learn Arduino ESP32 from scratch · Hub: 8-part course
Next: Part 2 — GPIO & buttons
No embedded background required — breadboard patience helps.
Table of contents
What is ESP32?
Espressif ESP32: dual-core MCU, WiFi, Bluetooth, GPIO, 12-bit ADC, PWM, I2C/SPI/UART. The Arduino-esp32 core gives familiar APIs for IoT projects.
Minimum parts
ESP32 DevKit, USB cable, LED + 220–330Ω resistor, breadboard, jumper wires.
Install Arduino IDE + esp32 core
- Install Arduino IDE 2.
- Add board URL:
https://espressif.github.io/arduino-esp32/package_esp32_index.json - Boards Manager → install esp32 by Espressif.
- Select ESP32 Dev Module and the correct Port.
Blink sketch
#define LED_PIN 2
void setup() { pinMode(LED_PIN, OUTPUT); }
void loop() {
digitalWrite(LED_PIN, HIGH);
delay(500);
digitalWrite(LED_PIN, LOW);
delay(500);
}
Serial Monitor
Use Serial.begin(115200) and Serial.println for debugging — essential for WiFi projects later.
Exercises
- Change timing to 200 ms ON / 800 ms OFF.
- Count blinks on Serial.
- Move LED to GPIO 4 and verify your board pinout.
Series navigation: Part 2 →
Frequently asked questions
Which ESP32 board for beginners?
ESP32 DevKit with ESP32-WROOM-32 — well documented and breadboard friendly.
Upload fails to connect?
Hold BOOT during upload, pick the correct COM port, install CP210x/CH340 drivers, use a data USB cable.
Continue reading
ESP32 programming (2/8): Digital GPIO, buttons & debounce
ESP32 GPIO: digital I/O, internal pull-up, LED toggle, software debounce.
Read more →ESP32 programming (3/8): PWM — LED fade & SG90 servo
ESP32 LEDC PWM, smooth LED fade, ESP32Servo library for 0–180° control.
Read more →ESP32 programming (4/8): ADC — analog sensors & DHT22
12-bit ADC, voltage dividers, DHT library for temp/humidity.
Read more →Does your startup need a tech partner?
Free chat about MVP, timeline, and the right profit-sharing approach.