Arduino talking to each other


#1

Hello, lately I have been working on a project that requires many sensors, so I need to have 2 Arduino talking to each other to share text. I was wondering if it’s possible to output a text line from a digital or analog output and have the other Arduino to “read it” so, for example, I want to send “Hello world” to another Arduino so that to the other Arduino I can have a display connected and it shows the text or an if node that makes something happen based on the text.

Best regards
Alessandro.


#2

hello, send with xod/uart nodes and compare string with equal(string)


#3

@alessandrogiannini also you can check out this article and the library: https://medium.com/@gpeople/simple-uart-communication-protocol-in-xod-9ce67cc69d3c

But from the box it works only with bytes, so you have to convert your strings into bytes