Skip to content

Latest commit

 

History

History
 
 

esp32-rx

esp32-rx

This is a sample project for receiving audio data using ESP32 microcontroller. The chip has a built-in 12-bit ADC which is used to process the analog audio from the external microphone module in real-time. The program also support input from I2S MEMS microphones that does not require the usage of the ADC. The received messages are optionally displayed on the attached OLED display.

Setup

  • NodeMCU-ESP32
  • OLED SSD1306
  • Microphone, tested with the following, but others could be also supported:
    • Analog:
      • MAX9814
      • KY-037
      • KY-038
      • WS Sound sensor
    • I2S MEMS:
      • SPH0645

Pinout

Analog Microphone

MCU Mic
GND GND
3.3V VCC / VDD
GPIO 35 Out

Digital (I2S) Microphone

MCU Mic
GND GND
3.3V VCC / VDD
GPIO 26 BCLK
GPIO 33 Data / DOUT
GPIO 25 LRCL

I2C Display (optional)

MCU Display
GND GND
3.3V VCC / VDD
GPIO 21 SDA
GPIO 22 SCL

Sketch-Breadboard

Sketch-photo

Demo

IMG_0546_compressed.mp4

Watch high quality on Youtube