I've been working a while on a project using 3 Arduino Nanos, linked together using this tutorial Nick Gammon.
As I am not experienced with Arduino programming, I was making it step by step.
First I get all devices in one network, then managed to get the correct data sent from the correct device to one receiver. I added a Nextion display to visualize the received data. Then I have some physical buttons and some relays as well.
So far everything went fine until today. I wanted to send a command from the Nextion to the Arduino. Only then I realized that when using multiple software serial ports, only one can receive data at a time.
In my case I have an RS485 on SoftwareSerial and the Nextion.
I'm feeling a bit upset now, as I soldered everything on a prototyping board as nice as I can. I tried to move the Nextion on to hardware serial, as that was quite easy to access, but the result was inconsistent.
Please, can someone suggest me how to change my project's hardware and what I need to program (Software Serial or Hardware Serial) to make it to work? Basically I am looking for the right direction now, when I will get that I can figure out the rest by myself.