I fully assembled the PiCrawler and everything works great except there is no sound!
Reinstalled the below module multiple times as instructed to with no luck. cd /home/pi/picrawler sudo bash i2samp.sh
I’d appreciate any help to find a solution to correct the problem.
You are currently using a Raspberry Pi 3, right? What version of the Raspberry Pi system are you installing?
Your installation of i2samp.sh is not successful?
Please send us a screenshot of your installation so that we can analyze the problem.
If you install i2samp.sh successfully, start the Raspberry Pi, and then execute the sound example, but still can not sound, please execute sudo killall pulseaudio command, and then execute the sound example to see how it works.
We also suggest you to send us the video of executing sound example which can’t make sound, so that we can analyze and solve the problem.
From the screenshot you provided, i2samp.sh is installed successfully.
You execute the sound_effect.py code and press q: to play the background music, but it fails to make sound:
We recommend that you send us a video of the execution sound example that fails to make sound so that we can analyze and resolve the issue.
Or you can prepare another kind of SD card for installing ezblock OS image, control it with ezblock studio APP, and run the example with sound effect in the APP to see if robot hat speaker can make sound. Play with Ezblock — SunFounder PiCrawler Kit documentation
You use ezblock studioAPP to connect to Spider Pie, and then go to run the sound example, we suggest you provide us with a video.
The video of the connection process, with the process of running the example is provided to us.
If the sound is not working, we will arrange to send you a new robot hat.
If there is no error message, the robot hat’s speakers are damaged. We will arrange to send you a new robot hat.
If there is an error message in the print window, it may be a software code problem, please provide a screenshot of the error message to us, so that we can analyze and solve the problem.
I received the new Robot-Hat. I installed it and the PiCrawler still does not play sound. I noticed when I took off the old Robot-Hat that the speaker was crushed (damaged) compared to the new one. I removed the new one and noticed that the new speaker was now crushed as well. I then noticed that had installed a heat sink on my RaspberryPi processor…the heat sink pressed against the speaker and had damaged it. See the attached pictures. It may be a good idea to include a statement in the instructions to tell customers to remove any heat sinks that may have been installed to avoid damage to the Robot-Hat.
Would it be possible for me to purchase a replacement Robot-Hat?
Sorry, we missed the unexpected situation of installing the heat sink. From your picture, it looks like the diaphragm of the speaker is crushed, and it can’t vibrate, so it can’t produce sound. Please try to remove the heat sink, install robot_hat again, and run the music playback program to see if the diaphragm of the speaker can be recovered. Or you can try to use adhesive tape to stick the diaphragm, then pull up the tape to recover the dent.
OK, I was able to repair one of the speakers. I now get sound when running the EZBlock system, but I do not get any sound when I run the Raspbian GNU/Linux 10 (buster) system. i2samp.sh does not produce any sound and there is no sound when I run sound_effect.py.
Sometimes it is necessary to install the i2samp.h script several times for it to work.
Manually check the sound card configuration: use “sudo aplay -l”, to see the list of sound cards, use “sudo cat /etc/asound.conf”, to see the configuration file of the sound card serial number consistent.
1.What version of Raspberry Pi system are you currently using.
2.When you execute i2samp.sh installation, is there any error report, if so, please provide the error report screenshot to us.
3.Execute i2samp.sh to install:
cd ~/picrawler
sudo bash i2samp.sh
After successful installation, execute the sudo reboot command to reboot the Raspberry Pi.
Go ahead and run the sound example again to see how it works:
cd ~/picrawler/example
sudo python3 3.tts_example.py
If the speakers don’t sound, run the sudo killall pulseaudio command again and go run the sound example again to see how it works.
Ok, after running the sudo killall pulseaudio command the speakers work. But when I reboot the raspberry pi, I have to run sudo killall pulseaudio command again to get them to work. I have to run that command every time after reboot.
Any suggestions on how to avoid having to run that command everytime at startup?
You configured the robot’s WiFi network to follow without connecting the display. If you connect the display, the sound will probably be output from the HDMI channel by default, i.e. the sound will be output from the display speakers. You can use the putty remote connection tool to connect to the robot’s IP directly, you execute the sudo Killallpulseaudio command in the terminal, and then you do not need to repeat the command.