Microphone - VIPnytt/Frekvens GitHub Wiki

πŸŽ™οΈ Microphone

Some modes can react to sound β€” for example, syncing animations with music.

Most analog microphone modules with a built-in amplifier will work. A good starting point is a electret microphone (e.g. this) or an MEMS microphone (e.g. this).

πŸ“Œ Schematics

Amplifier schema

β”Œβ”€β”€β”€β”€β”€β”
β”‚ VCC β”œβ”€ +3.3 V DC
β”‚ GND β”œβ”€ 0 V DC
β”‚     β”‚
β”‚ OUT β”œβ”€ Amplifier
β””β”€β”€β”€β”€β”€β”˜

ESP32 schema

β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”
β”‚          3V3 β”œβ”€ +3.3 V DC
β”‚          GND β”œβ”€ 0 V DC
β”‚              β”‚
β”‚ Analog input β”œβ”€ Amplifier
β””β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”˜

πŸ”§ Configuration

Microphone amplifier

Analog input from the microphone amplifier.

Any analog input pin can be used, but those on the ADC1 channel are preferred.

Configure in secrets.h:

#define PIN_MIC 1 // Amplifier

[!WARNING] Avoid strapping pins as this pin is biased.

🧩 Extension

The Microphone extension provides the capability for various modes to synchronize with music.

βœ… IKEA Frekvens

IKEA Frekvens has an microphone built-in.

On the green PCB there’s an LM358 amplifier, simply connect U3 pin 7 to an analog input on the ESP32 board. Since the 89F112 chip must be desoldered, it might be easier to connect from U2 pad 11 instead.

πŸ”— Resources

External links for deeper exploration β€” provided for reference only and with no formal connection to this project.