0

Hello I would like to know if there is already a protocol that both the raspberry pi zero and the arduino (nano) have in common that i can use to communicate 5-10 meters away no added hardware? With the raspberry pi acting as the master.

I would like to retriev a 24bit data from the nano, and also would like to send a 1 bit data to the nano but that is pretty simple to achieve i can just use any GPIO for that.

6
  • You mention CAT6 which is ethernet cable but the nano has no ethernet unless there is "added hardware". What they do both have is a UART and an I2C bus, but I dunno about the length of the wires. WRT 24-bit data, you cannot do that in parallel, there aren't enough pins. Serialized you can send whatever data you like. – goldilocks Dec 15 '20 at 20:16
  • @goldilocks yes CAT6 but without the RJ45 terminations. Should be good for signals because of they are twisted pairs. – Jack Dec 15 '20 at 20:19
  • What's wrong with using a serial port? – Seamus Dec 15 '20 at 20:25
  • I do not need very high speeds, google says at 10khz i2c can go for 10m, but not tested though. The RS protocols is my supposed go to but the connectors form factor are to big, theres also no board i can get easily that lets me just screw in in wires – Jack Dec 15 '20 at 20:28
  • @Seamus how far can serial port go ? Dont you need special chips if you want to go with longer wires? – Jack Dec 15 '20 at 20:29
0

how about an i2c extender. Have a look at this Otherwise look for something in the 485 neighborhood. I haven't tested i2c over 4-5 meters so I can't really say if it will work without extra equipment.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.