SunFounder ESP32 Starter Kit
• At the same time as outputting the binary value, the print() function outputs the binary value
as a string to the terminal.
• After outputting the binary value, the program pauses for 200 milliseconds using the time.
sleep_ms() function, so that the value on the LED remains displayed for a certain period of
time.
3.11 2.5 Number Display
Welcome to this fascinating project! In this project, we will explore the enchanting world of displaying numbers from
0 to 9 on a seven-segment display.
Imagine triggering this project and witnessing a small, compact display glowing brightly with each number from 0 to
9. It’s like having a miniature screen that showcases the digits in a captivating way. By controlling the signal pins, you
can effortlessly change the displayed number and create various engaging effects.
Through simple circuit connections and programming, you will learn how to interact with the seven-segment display
and bring your desired numbers to life. Whether it’s a counter, a clock, or any other intriguing application, the seven-
segment display will be your reliable companion, adding a touch of brilliance to your projects.
Required Components
In this project, we need the following components.
It’s definitely convenient to buy a whole kit, here’s the link:
Name ITEMS IN THIS KIT LINK
ESP32 Starter Kit 320+
You can also buy them separately from the links below.
COMPONENT INTRODUCTION PURCHASE LINK
ESP32 WROOM 32E
ESP32 Camera Extension -
Breadboard
Jumper Wires
Resistor
7-segment Display
74HC595
Available Pins
Here is a list of available pins on the ESP32 board for this project.
Available Pins IO13, IO12, IO14, IO27, IO26, IO25, IO33, IO32, IO15, IO2, IO0, IO4, IO5, IO18, IO19,
IO21, IO22, IO23
3.11. 2.5 Number Display 325