# Arduino to arduino serial communication

**URL:** <https://discourse.nodered.org/t/arduino-to-arduino-serial-communication/26774>\
**Category:** General\
**Created:** [16 May 2020 21:29 UTC](https://discourse.nodered.org/t/arduino-to-arduino-serial-communication/26774 "2020-05-16T21:29:29Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![wasifazmi](https://avatars.discourse-cdn.com/v4/letter/w/439d5e/32.png) [@wasifazmi](https://discourse.nodered.org/u/wasifazmi)\
**Post date:** [16 May 2020 21:29 UTC](https://discourse.nodered.org/t/arduino-to-arduino-serial-communication/26774/1 "2020-05-16T21:29:29Z")

</div>

Hi,

I have two Arduinos, master and slave.  
Master is is configured on node-red.

```auto
[{"id":"ecbb4b8e.2b4d28","type":"serial out","z":"8de82ddc.c1d07","name":"Serial Out","serial":"a5c662b5.9c21c","x":500,"y":180,"wires":[]},{"id":"a5c662b5.9c21c","type":"serial-port","z":"","serialport":"/dev/ttyACM2","serialbaud":"9600","databits":"8","parity":"none","stopbits":"1","waitfor":"","dtr":"none","rts":"none","cts":"none","dsr":"none","newline":"\\n","bin":"false","out":"char","addchar":"","responsetimeout":"10000"}]

```

Slave is configured to read serial data.

```auto

int incomingByte = 0;

void setup() {
  Serial.begin(9600); // start serial for output
}

void loop() {
  if (Serial.available() > 0) {
    // read the incoming byte:
    incomingByte = Serial.read();

    // say what you got:
    Serial.print("I received: ");
    Serial.println(incomingByte, DEC);
  }
}

```

Problem is 'i'm unable to receive the serial data on the slave, when it's sent from the master.

---

<div class="post-metadata">

**Author:** ![Brew](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/brew/32/19776_2.png) [@Brew](https://discourse.nodered.org/u/Brew)\
**Post date:** [18 May 2020 14:53 UTC](https://discourse.nodered.org/t/arduino-to-arduino-serial-communication/26774/2 "2020-05-18T14:53:57Z")

</div>

What's the connectivity between the two? is it as simple as the RX/TX are the wrong way arround? Where are you running Node-Red?

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/1X/d073cd938eafa2e558d7c2cd59003b3ef4963033.png) [@system](https://discourse.nodered.org/u/system)\
**Post date:** [17 July 2020 14:53 UTC](https://discourse.nodered.org/t/arduino-to-arduino-serial-communication/26774/3 "2020-07-17T14:53:59Z")

</div>

This topic was automatically closed 60 days after the last reply. New replies are no longer allowed.
