SunFounder ESP32 Starter Kit
• 3.1 Beep
2.14 Video 14: Playing Custom Music Note
In this tutorial, you’ll learn how to use the SunFounder ESP32 IoT Learning Kit to play custom musical notes:
• Passive Buzzer Introduction: Unlike the previous tutorial with an active buzzer, this one uses a passive buzzer
which requires an external signal for sound generation.
• Wiring Guide: Detailed instructions to correctly wire the passive buzzer to the ESP32 module.
• Buzzer Specifications: The passive buzzer operates on 3 to 5 volts and can produce varying tones based on the
input signal frequency.
• Arduino Code Overview: The tutorial explains how to write and upload code to ESP32 for generating different
musical notes through PWM signals.
• Musical Note Project: Create a setup to play a series of musical notes with the passive buzzer controlled by
ESP32.
• Project Execution: Demonstrates the playing of musical notes once the code is successfully uploaded to the
ESP32 module.
Video
Related On-line Tutorials
• 3.2 Custom Tone
2.15 Video 15: DC Motor Speed Control with ESP32 L293D
This tutorial covers controlling a DC motor using ESP32 and the L293D motor driver:
• Motor Control Basics: Learn how to control a DC motor’s direction and speed with ESP32.
• L293D Motor Driver: Introduction to the L293D driver, essential for interfacing the motor with ESP32.
• Two Projects: The first project controls motor direction, and the second adjusts the motor’s speed.
• Arduino Code Explanation: Detailed walkthrough of the Arduino code for motor speed and direction control.
• Practical Demonstration: See the motor in action, demonstrating speed variation and directional change.
Video
Related On-line Tutorials
• 4.1 Motor
2.14. Video 14: Playing Custom Music Note 259