Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

i2cdetect -y 1 with nothing. is it normal ? #9

Open
Sam-saidane opened this issue Jan 6, 2022 · 5 comments
Open

i2cdetect -y 1 with nothing. is it normal ? #9

Sam-saidane opened this issue Jan 6, 2022 · 5 comments

Comments

@Sam-saidane
Copy link

Hi,
i can't do any test.py or main.py... i hava an error "OSError: [Errno 121] Remote I/O error" all the time.
can you help me ?

log:
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: -- -- -- -- -- -- -- --

@Sam-saidane
Copy link
Author

start ..

No correct I2C address found,
Please use command 'i2cdetect -y 1' to check the I2C address!
Program Exit.

I2C is enable

@bravok
Copy link

bravok commented Jan 8, 2023

Having the same issue getting the servos calibrated and installed.
It worked once last night, but this morning I'm getting the following
sudo python Servo.py Now servos will rotate to certain angles. Please keep the program running when installing the servos. After that, you can press ctrl-C to end the program. Traceback (most recent call last): File "/home/kris/Freenove_Big_Hexapod_Robot_Kit_for_Raspberry_Pi/Code/Server/Servo.py", line 51, in <module> servo_installation_position() File "/home/kris/Freenove_Big_Hexapod_Robot_Kit_for_Raspberry_Pi/Code/Server/Servo.py", line 35, in servo_installation_position S=Servo() File "/home/kris/Freenove_Big_Hexapod_Robot_Kit_for_Raspberry_Pi/Code/Server/Servo.py", line 10, in __init__ self.pwm_40 = PCA9685(0x40, debug=True) File "/home/kris/Freenove_Big_Hexapod_Robot_Kit_for_Raspberry_Pi/Code/Server/PCA9685.py", line 32, in __init__ self.write(self.__MODE1, 0x00) File "/home/kris/Freenove_Big_Hexapod_Robot_Kit_for_Raspberry_Pi/Code/Server/PCA9685.py", line 36, in write self.bus.write_byte_data(self.address, reg, value) OSError: [Errno 121] Remote I/O error

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: -- -- -- -- -- -- -- --

@bravok
Copy link

bravok commented Jan 8, 2023

Okay solved for me: The connector between the servo controller board and the raspberry pi wasn't completely seated. I pushed it down as far as it would go, reran the program and it works.

@bravok
Copy link

bravok commented Jan 8, 2023

@Sam-saidane do you still have this issue?

@Shaynee-MO
Copy link
Member

@Sam-saidane Please unplug and replug the connector and check again.
If the issue remains, please send an email to [email protected].
image
image

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants