This time I want to connect a MegaPi and an Orion cards, and make them to communicate using I2C.
First I want to know is how to connect both cards. I think to connect this way using a Dupont-and-RJ25 wire. Important, I do not have RJ25 Female connector in the MegaPi.
Port_8 SCL & SDA pins near to the servo connectors
According to cards documentation, the Orion Port_8 supports I2C, and the pinout of this port is:
SCL - RJ25 connector Blue wire.
SDA - RJ25 connector Yellow wire.
GND - RJ25 connector Green wire.
5V - RJ25 connector Red wire.
A7 - RJ25 connector Black wire.
A0 - RJ25 connector White wire.
So I plug the RJ25 wire tip to the Orion Port_8.
On the other card (MegaPi), I do not have RJ25 female connectors, due to I am using all servo pins with miniservos.
So I need to connect using the SDA/SCL pins at the left of the servo pins.
I attach the dupont connectors this way:
Blue wire to the SCL pin
Yellow wire to the SDA pin
Is this the appropriate way to connect both cards using I2C?
Is there other way to communicate both cards?
Thanks a lot.