C
C
Conacry2015-01-07 21:16:48
Arduino
Conacry, 2015-01-07 21:16:48

Arduino Uno connecting to Arduino Uno via UART?

Hello.
I want to set up data transfer between two Arduino Uno via UART. The firmware is working. The payment is stitched. The problem is that when the Arduino is powered off and back on, data transfer does not start automatically. What is the problem? Thanks in advance!
Program code:

void setup(){
Serial.begin(9600);
}
void loop(){
Serial.write(45); // send byte with value 45
delay(100);
}

Here is the wiring diagram:
a9bb9d8f284b4e56b1d6ecc025efdb11.png

Answer the question

In order to leave comments, you need to log in

1 answer(s)
A
Armenian Radio, 2015-01-07
@gbg

Tx must be connected to Rx, and Rx to Tx. This is how I see myself in a crystal ball.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question