Hello, i just received the kit and followed the tutorial step by step, i managed to mount everything together but my raspberry pi is not detecting the Robot Hat:
william-pi@raspberrypi:~ $ i2cdetect -y 1
0 1 2 3 4 5 6 7 8 9 a b c d e f
00: – – – – – – – –
10: – – – – – – – – – – – – – – – –
20: – – – – – – – – – – – – – – – –
30: – – – – – – – – – – – – – – – –
40: – – – – – – – – – – – – – – – –
50: – – – – – – – – – – – – – – – –
60: – – – – – – – – – – – – – – – –
70: – – – – – – – –
I don’t know what’s the issue, i tried reassemble things together again, i made sure the GPIO (40-pins) is nicely pressed to the raspberry pi but its still not working, the zero button as well does nothing
The speakers are working:
It’s saying front right x3:
Playback device is default
Stream parameters are 48000Hz, S16_LE, 2 channels
WAV file(s)
Rate set to 48000Hz (requested 48000Hz)
Buffer size range from 2229 to 8916
Period size range from 1114 to 1115
Periods = 4
was set period_size = 1114
was set buffer_size = 4458
0 - Front Left
1 - Front Right
Time per period = 2.924858
0 - Front Left
1 - Front Right
Time per period = 3.018663
0 - Front Left
1 - Front Right
Time per period = 3.018649
Here’s the output from AI:
We have now logically proven what the problem is.
Fact 1: Your Pi’s I2C software is working (proven by /dev/i2c-1).
Fact 2: Your Pi’s hardware is working (it is trying to send I2C signals on pins 3 and 5).
Fact 3:i2cdetect -y 1 is empty, which means the Pi is “talking,” but nothing is answering.
Fact 4: Your speakers work, which means the HAT’s separate I2S audio circuit is fine.
Conclusion: The Robot HAT is faulty.
The I2C chip on the HAT (which controls the buttons, motors, and servos) is dead or has a bad solder joint. This is why the audio (a different circuit) can work, but all the I2C functions (including your buttons) fail.
You have done everything right. You have reseated it multiple times, and the software is correct. The hardware itself is the problem.
## What to Do Now
Stop troubleshooting. You cannot fix this with software.
You need to contact the seller (SunFounder or wherever you bought it) and ask for a replacement.
Tell them exactly this:
“My Robot HAT is faulty. The I2S audio works, but the I2C circuit is dead. I have enabled I2C on the Pi, and /dev/i2c-1 exists, but i2cdetect -y 1 is empty. The HAT has been reseated multiple times. Please send a replacement.”
This shows them you have done the correct tests and proven the HAT is the source of the failure.
Hi, I’m not 100% sure as to your question. The robot hat is being detected, as your speaker tests etc work. As far as I know the picarx doesn’t have any i2c modules, so there’s nothing for the i2c detect command to find. Afaik It only has adc/pwm style controls. What exactly isn’t working?
Similarly the i2c connector in the build instructions is unpopulated
Did you turn on the sliding switch on the Robot HAT to power it after connecting the battery and Raspberry Pi?
If the switch is not turned on, the modules connected to the Robot HAT may not work properly.
Please also ensure you have correctly installed all the required libraries.
Could you please send a short video or some pictures of the issue so we can know it better.
If the video memory is large, please upload the recorded video to onedrive, share the video link with us, and give us access permissions.