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

ESP32 and INMP441 Smart Audio System with Pushbutton Control and LED Indicators

View and Edit Project In Cirkit DesignerImage of ESP32 and INMP441 Smart Audio System with Pushbutton Control and LED Indicators

Circuit Documentation

Summary

This document provides a detailed overview of a circuit that includes an ESP32 Devkit V1 microcontroller, an INMP441 microphone, a Max98357 amplifier, a loudspeaker, pushbutton, and two LEDs (red and blue). The circuit is designed to capture audio input, process it, and output it through a loudspeaker, with additional user interaction via a pushbutton and visual feedback through LEDs.

Component List

  1. INMP441 FRONT MIC

    • Description: Digital MEMS microphone
    • Pins: L/R, WS, SCK, SD, VDD, GND
  2. Pushbutton

    • Description: Simple pushbutton switch
    • Pins: Pin 3 (out), Pin 4 (out), Pin 1 (in), Pin 2 (in)
  3. LED: Two Pin (red)

    • Description: Red LED
    • Pins: cathode, anode
  4. LED: Two Pin (blue)

    • Description: Blue LED
    • Pins: cathode, anode
  5. ESP32 Devkit V1

    • Description: Microcontroller with Wi-Fi and Bluetooth capabilities
    • Pins: 3V3, GND, D15, D2, D4, RX2, TX2, D5, D18, D19, D21, RX0, TX0, D22, D23, EN, VP, VN, D34, D35, D32, D33, D25, D26, D27, D14, D12, D13, VIN
  6. Loudspeaker

    • Description: Audio output device
    • Pins: pin1, pin2
  7. Max98357

    • Description: Class D amplifier
    • Pins: LRC, BLCK, DIN, GAIN, SD, GND, VIN, -, +

Wiring Details

INMP441 FRONT MIC

Pushbutton

LED: Two Pin (red)

LED: Two Pin (blue)

ESP32 Devkit V1

Loudspeaker

Max98357

Documented Code

ESP32 Devkit V1 Code

void setup() {
  // put your setup code here, to run once:

}

void loop() {
  // put your main code here, to run repeatedly:

}

INMP441 FRONT MIC Code

void setup() {
  // put your setup code here, to run once:

}

void loop() {
  // put your main code here, to run repeatedly:

}

This documentation provides a comprehensive overview of the circuit, including the components used, their connections, and the code running on the microcontrollers.