I tried connecting PCA9685 Servo Controller to Jetson TX1 through I2c Bus 1.
using the command i2cdetect it is showing me that the address of the device is 40.
Pinout -
GND J21-2 -> PCA9685 (GND)
VCC J21-6 -> PCA9685 (VCC)
SCL J21-28 -> PCA9685 (SCL)
SDA J21-27 -> PCA9685 (SDA)
I used the following code https://github.com/jetsonhacks/JHPWMDriver
but while running the servoExample it’s showing me the error WriteByte Error: 9.
Also, this issue is currently open on the Github repository. How to resolve this issue?
Also how to connect Arduino through I2c Bus 0 to Jetson TX1. I was not able to find relevant tutorials regarding it.
I changed to Bus 0 and ran it with root permissions and the code worked. Thanks for the support.
I wanted to extend more I2C devices on the same bus or different bus.
PCA9685 Servo controller has SDA and SCL pins to connect more devices in series. I tried adding an I2C slave to the pins but the slave is not detected. Only 0x40 and 0x70 are shown using the i2c-tools.
I also tried connecting the same sensor to bus 1, but there was no address detected either. What might be the issue?