-
Notifications
You must be signed in to change notification settings - Fork 5
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).
┌─────┐
│ VCC ├─ +3.3 V DC
│ GND ├─ 0 V DC
│ │
│ OUT ├─ Amplifier
└─────┘
┌──────────────┐
│ 3V3 ├─ +3.3 V DC
│ GND ├─ 0 V DC
│ │
│ Analog input ├─ 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 // AmplifierWarning
Avoid strapping pins as this pin is biased.
The Microphone extension provides the capability for various modes to synchronize with music.
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.
External links for deeper exploration — provided for reference only and with no formal connection to this project.