PiCar-S Servo [Errno 121] Remote I/O error

I’m stuck with the following error when I get to the ‘Servo Configuration’ section of the manual.

admin@raspberrypi:~/SunFounder_PiCar-S $ picar
[Errno 121] Remote I/O error
I2C bus number is: 1
Checking I2C device:
I2C device exist.
Your PCA9685 address is set to 0x40
i2cdetect output:
0 1 2 3 4 5 6 7 8 9 a b c d e f
00: – – – – – – – –
10: – – – – – – – – – – – – – – – –
20: – – – – – – – – – – – – – – – –
30: – – – – – – – – – – – – – – – –
40: – – – – – – – – 48 – – – – – – –
50: – – – – – – – – – – – – – – – –
60: – – – – – – – – – – – – – – – –
70: – – – – – – – –

Conneceted i2c device:
0x48
Device is missing.
Check the address or wiring of PCA9685 Server driver, or email this information to support@sunfounder.com

Addtional Info

  • Raspberry Pi 4B
  • Python 3.9.2
  • Installed python3-smbus instead of python-smbus as the package is no longer available.
  • I2C service is enabled (following the note in manual)

1, please make sure robot hats are connected to battery power yet.
Check if the robot hats are powered by looking at the two led lights on the robot hats that represent the power level if you don’t see a lighted led light on the robot hats, it means that the robot hats are not powered.
Check that the switch on the robot hats is turned on.
Check if the battery is fully charged.

2, Please check if robot hats are connected to the raspberry pi pins.

3, After starting the cart, provide a video where you can see the status of all the indicator lights.

4, It is recommended that you reinstall the Raspberry Pi system and then reinstall the source code.
And then go to execute the command to see the working status.
Install the source code:
cd ~
git clone --recursive GitHub - sunfounder/SunFounder_PiCar-S: SunFounder Smart Sensor Car Kit for Raspberry Pi -b V3.0
cd ~/SunFounder_PiCar-S/
sudo . /install_dependencies
During the installation process, make sure there are no error messages, if there are, please provide screenshots of the error messages to us, so that we can analyze and solve the problem.
After installing the code successfully, execute the picar command to see the result.

Everything is working as expected now!
After double checking, I missed a wire :expressionless:

Thanks for your help!

Best Wishes,
Michael Hou

1 Like