Hi, I have a new problem - my pidog no longer moves at all..no servo activity, even though I can execute programs such as the function demonstration script without errors. Pidog still plays audio, I just get no motor activity. This seemed to happen after I installed ChatGPT following the official instructions. Any help appreciated thanks.
It is recommended to provide us with the problem video so that we can help you analyze and solve the problem.
When you run the example, does an error message appear? If so, it is recommended to provide us with a complete error screenshot.
When I run this code after installing chatgpt:
cd ~/pidog/gpt_examples/
sudo ~/my_venv/bin/python3 gpt_dog.py --keyboard
I get these init errors:
imu_sh3001 init … fail
rgb_strip init … fail
…(and then a few lines later)..
ERROR: ‘Pidog’ object has no attribute ‘rgb_strip’
camera close
Stopping and returning to the initial position …
Quit
ALSA lib pcm.c:8570:(snd_pcm_recover) underrun occurred
..also I get no movement from any servos from any code in the non-gpt ‘Fun Projects’ section of your site.
To help troubleshoot your setup, could you please:
- Confirm whether both the IMU board and RGB light strip are properly daisy-chained to the Robot HAT’s I2C interface?
- Verify all connections are correct (a clear wiring photo would be very helpful).
Suggested Steps:
Watch our assembly guide (jump to 27:04 for wiring reference):
Video Tutorial
Test components individually:
- Disconnect both IMU and RGB from each other
- Connect each directly to the Robot HAT’s I2C interface
- Run test codes from
pidog/test/
directory to verify functionality
Try both connectors on each component (IMU/RGB)
Note: This assumes your Robot HAT’s I2C port is functioning normally.
Please share your test results - we’re happy to help further!
The wiring is all correct I believe (photos attached). Is there a way to bypass the IMU and RGB strip via code? Or any other advice much appreciated.
(post deleted by author)
We noticed the photos you provided don’t show the complete setup. Could you confirm if the other end of the cable is properly connected to the Robot HAT’s I2C interface?
Regarding the code execution:
- Our system first verifies all module connections before running
- Since both IMU_SH3001 and RGB_Strip failed to initialize, the code couldn’t proceed
Please follow our FAQ guide to verify:
- IMU board functionality
- RGB strip working status
Let us know your test results so we can better assist you.