Wired Communication Between Arduinos

To do a wired serial conection you need 3 wires, rx, tx, ground.  Don’t forget the ground, that had me all confused and frustrated.  The tx (transmit) and rx (recieve) wires need to be crossed.

I wrote a simple sketch that starts at 0, outputs that value, increments by 1, outputs that value and so on.  This sketch will be used for all of my serial communication between Arduino posts. code

LCD output

LCD output

So I get my sketches running, one outputting that information and the second reading it and displaying it to an LCD.

Then I wire everything up.

This allows tx and rx between the 2 Arduino’s dont forget the common ground.  With wireless you do not have to have that common ground, my next 2 posts will be on such things.

Download the sketches I used

Leave a Reply