Hello I have been working with a raspberry Pi and have coded some STT software etc, however, I am building a smart speaker for a project I’m working on,
I am now wanting to use the ReSpeaker Core and Respeaker Mic array 2.0 and the adafruit plug and play speaker. (doesnt have to be that speaker though)
My trouble is I’m not very good with electronics side, so need help connecting them all together to make one unit.
Mind you, It doesn’t even have to be altogether either, if I can just use the mic array or the core with a sound output that would work too? I know I can just put a speaker into the headphone jack but that wont do for my prototype. I am trying to fit it all into the respeaker pro-case you see.
I notice there is a breakout for the ReSpeaker core v1.0 for a speaker so happy just to get an 8ohms speaker to fit that too, but I don’t know which way the cables should be attached etc.
Hope this makes sense.
Connect ReSpeaker 4-Mic Array to Raspberry Pi
Mount ReSpeaker 4-Mic Array on Raspberry Pi, make sure that the pins are properly aligned when stacking the ReSpeaker 4-Mic Array for Raspberry Pi.
Note: Hot-plugging ReSpeaker 4-Mic Array is not allowed. It will damage the respeaker.
connection pic1 connection pic2
Make sure that you are running the latest Raspberry Pi OS on your Pi. (updated at 2021.06.30)
Step 1. Get the Seeed voice card source code, install and reboot.
sudo apt-get update
sudo reboot now
Step 2. Then select audio output on Raspberry Pi:
Select 1 System options
Select S2 Audio
Select your preferred Audio output device
Step 3. Check that the sound card name looks like this:
pi@raspberrypi:~ $ arecord -L
Discard all samples (playback) or generate zero samples (capture)
JACK Audio Connection Kit
PulseAudio Sound Server
Default Audio Device
Direct sample mixing device
Direct sample snooping device
Direct hardware device without any conversions
Hardware device with all software conversions
USB Stream Output
USB Stream Output
If we want to change the alsa settings, we can use sudo alsactl --file=ac108_asound.state store to save it. And when we need to use the settings again, copy it to: sudo cp ~/seeed-voicecard/ac108_asound.state /var/lib/alsa/asound.state
Step 4. Open Audacity and select AC108 & 4 channels as input and bcm2835 alsa