Pages: [1]   Go Down
Author Topic: Arduino to Arduino - Cable and Speed?  (Read 332 times)
0 Members and 1 Guest are viewing this topic.
Offline Offline
Jr. Member
Karma: 0
Posts: 61
Be patient, I'm a total newbie.
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

At last, I'm almost there when I can connect the Playfield Arduino Unit to the Display Control Arduino Unit in my pinball project. It will be a one way communication where the Playfield unit sends updates on which Player is up, Tilt, Ball In Play/Game Over, Game Credits, and of course the scores for up to 4 players. In other words: All the information displayed on the Top Box.

Data will be sent in "packages" of 3, 4, or 8 bytes depending on which kind of information is sent. If it proves necessary, I can save some bytes by sending them binary instead of human readable ASCII, but I prefer not to for debugging purposes.

I thought I would need help with the serial communication code, but it proved to be much easier than I expected.

But I do need some expert advise when it comes to choosing the best cable and setting the speed. The original 50 wire flat cable that went from the Master Unit to the Driver/Multiplexer Board on the playfield was 1 meter (3 & 1/3 ft). I have a 1.7 meters long shielded cable made for video signals that I plan to use for the serial communication. I suppose this is much better to use than a plain wire without shield, right?

If I got it right, transfering 8 bytes will take somewhere between 6.7 to 7.5 milliseconds at 9600 baud. Say 10 ms to be one the safe side. An interrupt from the display strobes that short shouldn't be possible to notice, should it?

But OTOH, with a shielded cable that short, and only one way communication without handshake, the baudrate could be higher I think.

And finally, should I have any capacitor or anything in one or both ends to filter out any noise? I have very little knowledge on noise elimination, just wildly guessing here.

« Last Edit: April 09, 2013, 07:49:52 pm by SimLego » Logged

Global Moderator
Boston area, metrowest
Offline Offline
Brattain Member
Karma: 538
Posts: 27114
Author of "Arduino for Teens". Available for Design & Build services. Now with Unlimited Eagle board sizes!
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

With that cable, I would boost the data rate way up. 115200 even.
No caps, that will just screw up your signal.

Designing & building electrical circuits for over 25 years. Check out the ATMega1284P based Bobuino and other '328P & '1284P creations & offerings at
Arduino for Teens available at

Pages: [1]   Go Up
Jump to: