dinux
Published © CC BY

16 Microphone Array Using PocketBeagle

Use the powerful PRU on PocketBeagle or BBAI to capture 16-channel audio from a PDM microphone array.

AdvancedFull instructions provided4 hours2,166
16 Microphone Array Using PocketBeagle

Things used in this project

Hardware components

PocketBeagle
BeagleBoard.org PocketBeagle
×1
TDK Corporation INMP621
×16
Texas Instruments SN74AUC2G34DBVR
×2
Texas Instruments SN74HC595
×2
0805 SMD Capacitor 100nf
×21
0805 SMD LED Yellow
×16
0805 SMD Resistor 33 ohm
×16
AMS1117 3.3V LDO
×1
Pin header 2x18
×2

Story

Read more

Schematics

Beaglemic-cape Schematics

Code

Recording Session

SH
Starting and using the BeagleMic ALSA driver with PocketBeagle.
# Load the ALSA driver.
sudo modprobe beaglemic

# Load PRU firmware and setup pin mux.
cd pru
sudo ./start.sh

# Record audio - 16 channels
arecord  -r31888  -c16 -f S16_LE -t wav out.wav
# Record audio - 8 channels
arecord  -r26940  -c8 -f S32_LE -t wav out.wav

Full source code, schematics and gerbers

Repository contains full source code for PRU firmware, init scripts, host-side audio driver, KiCad project for the PocketBeagle Cape.

Credits

dinux

dinux

1 project • 3 followers

Comments