← Back to BlogBeginner Arduino ESP32 course — IoT from Blink to SmartNode · Part 3 / 8
ESP32 programming (3/8): PWM — LED fade & SG90 servo
ESP32 LEDC PWM, smooth LED fade, ESP32Servo library for 0–180° control.
· 1 min read
Beginner Arduino ESP32 course — IoT from Blink to SmartNode · Part 3/8▼
Part 3/8 · Use ledcSetup/ledcWrite for fade; ESP32Servo on GPIO 13 for 0–180°.
Frequently asked questions
Servo power?
Feed SG90 from a separate 5 V supply; share GND with ESP32.
Continue reading
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
Read more →ESP32 programming (2/8): Digital GPIO, buttons & debounce
ESP32 GPIO: digital I/O, internal pull-up, LED toggle, software debounce.
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.