Cirkit Designer LogoCirkit DesignerYour all-in-one circuit design IDE Launch Cirkit Designer App

ESP32-Based Voice-Controlled Speaker

View and Edit Project In Cirkit DesignerImage of ESP32-Based Voice-Controlled Speaker

Circuit Documentation

Summary

This circuit is designed to capture audio through an electret microphone, amplify the signal, and output the sound through a loudspeaker. It uses an ESP32 Devkit V1 microcontroller to process the audio signal and control the flow of data to an Adafruit MAX98357A I2S Class-D Mono Amp, which drives the loudspeaker. A pushbutton is included to provide user interaction, and a 3.7V battery powers the circuit through a 3.3V regulator to ensure a stable power supply for the components.

Component List

ESP32 Devkit V1

Loudspeaker

Adafruit MAX98357A

Adafruit MAX9814 Electret Microphone Amplifier

Pushbutton

3.7V Battery

3.3V Regulator

Wiring Details

ESP32 Devkit V1

Loudspeaker

Adafruit MAX98357A

Adafruit MAX9814 Electret Microphone Amplifier

Pushbutton

3.7V Battery

3.3V Regulator

Documented Code

There is no code provided for the microcontroller in this circuit. The ESP32 Devkit V1 would typically be programmed to handle the I2S communication with the Adafruit MAX98357A, process the audio signal from the Adafruit MAX9814 Electret Microphone Amplifier, and respond to the pushbutton input. The code would be responsible for initializing the I2S protocol, setting up GPIO pins, and implementing the logic for audio signal processing and user interaction. Since no code is provided, this section cannot be documented further.