Hey there, I have this working on a Raspberry pi 5:
https://www.amazon.com/KEYESTUDIO-ReSpe ... 07H3T8SQY/
I am able to get voice in, voice out and button/LED control.
Do know my RP5 is crashing and I am not sure why but I haven't ruled out my code, power issues, or temperature. It might be a hardware issue with the hat, but I am guessing not.
The button works fine, but you need to use the gpiozero library rather then RPi.GPIO, See https://gpiozero.readthedocs.io/en/stab ... igpio.html.
Installation hints:
You do need to install from the "HinTak" build that matches your kernal, which is probably 6.6.
Here is the code to set it up. Note that there is a point where you need to run raspi-config, to automate that is on my todo:NOTE: If your kernal isn't 6.6 (lets say it's 6.5) then you need to grab that version:
git clone -b v6.5 https://github.com/HinTak/seeed-voicecard/
https://www.amazon.com/KEYESTUDIO-ReSpe ... 07H3T8SQY/
I am able to get voice in, voice out and button/LED control.
Do know my RP5 is crashing and I am not sure why but I haven't ruled out my code, power issues, or temperature. It might be a hardware issue with the hat, but I am guessing not.
The button works fine, but you need to use the gpiozero library rather then RPi.GPIO, See https://gpiozero.readthedocs.io/en/stab ... igpio.html.
Installation hints:
You do need to install from the "HinTak" build that matches your kernal, which is probably 6.6.
Here is the code to set it up. Note that there is a point where you need to run raspi-config, to automate that is on my todo:
Code:
cd ~uname -rn # get the kernal version, should be 6.6git clone -b v6.6 https://github.com/HinTak/seeed-voicecard/cd seeed-voicecard/sudo ./install.shsudo raspi-config #TODO automate: pick sound card, turn on i2c # test arecord -D "plughw:3,0" -f S16_LE -r 16000 -d 2 -t wav test.wav;aplay -D "plughw:3,0" test.wav
git clone -b v6.5 https://github.com/HinTak/seeed-voicecard/
Statistics: Posted by followkim — Tue Feb 25, 2025 2:59 am