Lina AlexakiPeter Dalmaris
Published © MIT

A simple ESP32 PWM output experiment using an LED

In this lesson, you will learn how to make an LED fade using the PWM capability of the ESP32.

BeginnerProtip18 minutes1,757
A simple ESP32 PWM output experiment using an LED

Things used in this project

Hardware components

FireBeetle ESP32 IOT Microcontroller (Supports Wi-Fi & Bluetooth)
DFRobot FireBeetle ESP32 IOT Microcontroller (Supports Wi-Fi & Bluetooth)
×1
5 mm LED: Red
5 mm LED: Red
×1
Resistor 330 ohm
Resistor 330 ohm
×1
Breadboard (generic)
Breadboard (generic)
×1
Jumper wires (generic)
Jumper wires (generic)
×1

Software apps and online services

Arduino IDE
Arduino IDE

Story

Read more

Schematics

Simple Digital Output experiment schematic

Code

ESP32 Digital out PWM LED example

This sketch shows you how to use the PWM output capability of the ESP32. This sketch was written by Peter Dalmaris using information from the ESP32 datasheet and examples.

Credits

Lina Alexaki

Lina Alexaki

30 projects • 6 followers
Peter Dalmaris

Peter Dalmaris

32 projects • 10 followers
I am an online educator & Maker, and founder at Tech Explorations. I help people learn Arduino, KiCad, Raspberry Pi, ESP32 through projects.

Comments