I hope this question is not too broad. I am checking for quite some time for cables and connectors to be used on my (future) project.
I checked RS232, 4-pin, molex, etc. but I think they do not fit quite well for what I'm looking for.
What I want is a communication:
- Between 1 and around max 5 Arduino's
- One is the controller
- Others are slave
- All messages are between controller and slave (and vice versa)
- Communication needs to be fast (small packages, like 4-10 bytes, less than 1 ms, preferably less).
What I want are connectors that
- Can pass I2C
- Can pass +5 and GND (max 12 V / 1 A, probably less than 1A), so I can power several Arduinos with one cable per Arduino (from one Arduino to another), with just one power adapter (12V/1A)
- Can be built (easily) in a panel/mount/DIY/enclosure box
- Cheap if possible
And accompanying cables that: - are short (I want to stack the Arduino's on top of each other but each in a separate enclosure), so 5-10 cm is enough. - are cheap if possible
If there is another solution it would even be better.
If there is a better way instead of I2C for such short distances to send messages back and forth between Arduinos I'm also interested to know.