I2C drive a servo

I did this like you.

a PCA9685 board, without a jumper and a PCA9685 board with jumper in A0?
and two nodes i2c-servo …device ?

One board with jumper set to address 41, one default 40. Tested individually and chained. entered the address as hex, tried numeric values using int8_t instead of uint8_t …

mmm, try this

i2c-servo-test.xodball (6.1 KB)

Thank you! Both boards silent though. Checked it chained and indiviual with different PWM settings.

ok, I do not have the hardware to test, but you can try to multiplex “CLK” with the CD4066

Hi, maybe the two i2c-devs want to start at the same time, try the following in the example that I uploaded.

Before reversing the change in the library


Hi Cesars,

I finally created two devices with two different adresses as you initially proposed and let XOD generate the code that I uploaded to Arduino by pasting it into the IDE. It worked that way. The bug must be somewhere under the hood of XOD, I assume. Thank you again for helping!

Hi, I was thinking of buying two to try. But later I do not know what utility it could give.

Thanks for confirming that it worked.



Has the library been updated?

Also is having to copy the code into the Arduino IDE defeating the object so to speak

As well as make testing and debugging very difficult

I am trying to use these with multiple boards as yet without success but one on its own works great

Unfortunately personally don’t have the coding skill to sort this out I wish I did but am following this very closely trying to learn

Thanks Barry

I’m also interested in using the 16-servo board with Xod. The problem I keep running into with these visual programming tools is they don’t support the “add-on” board and I don’t have the coding skills to figure how to link them (hence wanting to use a visual programming tool).

Here is a library but I don’t know if it works, I couldn’t test it … I don’t have the hardware.