EasyManuals Logo

SunFounder ESP32 User Manual

Default Icon
771 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Page #263 background imageLoading...
Page #263 background image
SunFounder ESP32 Starter Kit
2.9 Video 9: Toggle LED with Push Button
This tutorial is aimed at beginners, providing a practical guide to using a push button to control an LED with the ESP32.
• Project Focus: Teaches how to read a push button’s state and toggle an LED on and off.
• Components: Includes ESP32, breadboard, jumper wires, resistors, LED, and push button.
• Wiring and Setup: Provides wiring instructions for connecting the push button and LED to ESP32.
• Arduino Code: Explains the code for button state reading and LED toggling.
• Practical Demonstration: Showcases the LED being toggled using the push button.
Video
Related On-line Tutorials
• 5.1 Reading Button Value
2.10 Video 10: Digital Counter with Seven-Segment Display
This tutorial is designed for learners who want to explore digital displays and counters using the ESP32 module.
• Project Scope: Create a 0-9 counter, reverse it, and display letters A-E using ESP32.
• Components: Includes ESP32, seven-segment display, 74HC595 shift register, resistors, and wiring.
• Seven-Segment Basics: Explains segment control for displaying numbers and letters.
• Wiring Guide: Details how to wire the display to the ESP32 and shift register.
• Arduino Code: Describes the code for controlling the counter and display segments.
• Demonstrations: Shows practical applications, including digit and letter display.
Video
Related On-line Tutorials
• 2.5 7 Segment Display
2.11 Video 11: Using LCD1602/LCD2004 with ESP32
Learn to use LCD screens with ESP32 for displaying text and other information:
• LCD Types: Tutorial covers both LCD1602 (16 characters, 2 lines) and LCD2004 (20 characters, 4 lines).
• Key Features: Explains adjusting contrast and using I2C communication for simpler wiring.
• Components: Utilizes the ESP32 board, LCD screen, and necessary wires.
• Wiring Guide: Step-by-step instructions on connecting the LCD to ESP32, including power connections and
data lines.
• Arduino Code: Detailed explanation of the Arduino code for displaying text on the LCD.
• Demonstrations: Shows practical applications like displaying a counter and custom text on the LCD.
• Contrast Adjustment: Tips on setting the right contrast for clear visibility.
• LCD Color Recommendation: Advises on choosing a green LCD for better display quality over blue.
2.9. Video 9: Toggle LED with Push Button 257

Table of Contents

Questions and Answers:

Question and Answer IconNeed help?

Do you have a question about the SunFounder ESP32 and is the answer not in the manual?

SunFounder ESP32 Specifications

General IconGeneral
BrandSunFounder
ModelESP32
CategoryController
LanguageEnglish