I have a problem at hand that I can only share a schematic and not the code due to my industries requirements. Normally we were working with and Arduino Due and a 7' Nextion screen where TX and RX were connected directly. Now we have implemented an RS485 bridge to be able to prolong the distance to over 100 meters.
Both the arduino and nextion communicate @115200
Before adding the bridge their was no problem and now they just dont communicate. I would appreciate even suggestion on what to look for when dealing with this type of problems.
I have tried what you have said and got the same exact outcome. I was thinking in this way: when we are wiring an arduino and a nextion we do such as " Arduino TX->Nextion RX and Arduino RX->NExtion TX somewhere on the diagram must be a crossed wiring". I guess I was wrong but still have the same issue, thanks for the quick reply though !
Is your RS485 board the same as the one in the picture? The picture shows an auto switching board. Most boards require the additional signals RE & DE to control the transceiver.
Hi thanks for pointing it out, I have checked the wiring many times even changing them a bit to see if I forgot anything but ended up just wiring like what I did at the start. I double checked but will do once again just to be sure
Yes I do know, do you think that I might code a master-slave relationship to be able to deal with this problem ? Because it is automatic with this RS485 module I thought that they could deal with this kind of problems internally, but I might be wrong...
You would have to consult the nextion docs to see what they say. You could implement a full duplex RS485 link. You just need 2 more of those transceivers. Google full duplex RS485 for examples.