AudioSense-Pi is a RPi HAT based on a TI's stereo codec.
It is Open Source Harwdare Association (OSHWA) certified with UID - IN000007
This hardware provides audio input capabilities to the RPi.
The codec connects to the RPi's SoC through the I2S Bus.
The codec chosen, allows interfacing multiple audio I/O to the RPi.
Multiple I/O? Yes!
The following devices can be connected through a 3.5mm jack
Simultaneous Inputs? Yes!
It supports the following combinations
Simultaneous Outputs? Yes!
Audio output can be routed to the headphones or speakers (with additional hardware)
Using the ALSA System on Chip (ASoC) layer we write a machine driver for the HAT.
With the following changes a new sound card by the name audiosense-pi
will appear
Assembled Board
We have three ways to setup audiosense
Stay with the existing image you have, build the kernel yourself and flash only the kernel image
Edit/add the following lines to the config.txt
in the boot partiton of the SD card
# Uncomment some or all of these to enable the optional hardware interfaces
dtparam=i2c_arm=on
dtparam=i2s=on
dtparam=spi=on
# Uncomment this to enable the lirc-rpi module
#dtoverlay=lirc-rpi
# Additional overlays and parameters are documented /boot/overlays/README
dtoverlay=audiosense-pi
# Enable audio (loads snd_bcm2835)
dtparam=audio=on
aplay -l
you should see a new soundcard audiosense-pi
git am
might not work owing to the large number of changes among the trees)config.txt
changes and boot the pialsamixer
. Hit F6
and select audiosense-pi
from the list of soundcards
Soundcard selection
arecord -D hw:1 -c 2 -r 48000 -f S16_LE | aplay -D hw:1
Hardware licensed under the CERN Open Hardware License version 1.2
Software licensed under the GNU GPLv2
Documentation licensed under CC0 1.0 Universal