The examples all worked fine after initial calibration and setup. Going back to just running the examples I get no sound. I changed the SD card (32GB) and did a complete reinstall. Mechanical functions all work in the function demo, but still no sound. Screen shot attached indicates in need to run sound effects with sudo. The I2S script seems to install no red flags but no sound test. raspi-config confirms I2S installed.
I get exactly the same message, but my sound works fine. I also hear the test sounds with the I2S script, so likely something wrong with your sound card.
Thank you for the input. Any idea how I can verify the sound card operation?
Please execute the i2samp.sh script to install the audio driver, as documented here: Install All Modules - PiDog Documentation (See attached screenshot)
Hi -
Thanks for reaching out. I have run the I2Samp script more times then I can count. I have changed SD cards using new 32gb cards and complete reinstalls twice. (I am very familiar with the RPi OS and playing with Rpi’s since they were introduced 12 years ago, but not as fluent in Linux/Debian as I’d like).
Audio all worked fine until I ran the IOS app and PiDog script. It initially worked fine but after a shutdown and rerun I cannot get any audio to operate from any sketch. Not sure how to verify if the I2S chip is working … I will try to verify speaker, but I find it hard to think it failed.
tks&rgds
/jack
… I was wrong. It was the speaker. I patched in another speaker (I also work on model trains with sound decoders that use similar speakers so I had a similar to try). I just assumed that the speaker would be more rugged with regard to its use in this application. Similar speakers I work with I’ve never had a failure. … that’s what I get for assuming … at least I found the issue.
rgds/jack
Sometimes the speaker switch on the HAT may not be activated. In such cases, you can use the command ‘robot_hat enable_speaker’ to turn it on.