Peter DalmarisLina Alexaki
Published © MIT

A simple ESP32 Digital Output experiment using an LED

In this lesson you will learn how to control the state of a GPIO on the ESP32.

BeginnerProtip6 minutes3,560
A simple ESP32 Digital 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)
Any ESP32 development board will work with this project.
×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

Wire an LED to GPIO 32 and GND, with a 330 Ohm resistor in series. Beware of the polarity! Short pin of the LED should go towards the GND pin on the ESP32.

Code

ESP32 Digital out blink LED example

This sketch shows you how to toggle the state of an LED using an ESP32. This sketch was written by Peter Dalmaris using information from the ESP32 datasheet and examples.

Credits

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.
Lina Alexaki

Lina Alexaki

30 projects • 6 followers

Comments