Reverse Engineering RS-485 Signals - Floating Issue

I'm currently trying to reverse engineer RS-485 signals, see waveforms below.

As you can see, Signal 1 (Yellow) and Signal 3 (Purple) are a differential pair and seem to be floating.

Here's a closeup of Signal 1's wavefrom:

I'm trying to use a MAX485 Arduino module which has the following schematic:

Can anyone advise me as to whether this is possible with this module and, if so, what's needed?

If not possible, is there another IC I could use to achieve this floating signal?

I've recreated the circuit above with a MAX491EPD IC and removed any biasing/termination resistors. The issue is still there, see output below:

I'm starting to think it's an Arduino code issue. Code below:

const int EnTxPin =  2;  // HIGH:Transmitter, LOW:Receiver


void setup() { Serial.begin(19200); Serial.setTimeout(100);
pinMode(EnTxPin, OUTPUT); digitalWrite(EnTxPin, HIGH); }

void loop() {
Serial.write(0x02); Serial.write(0x50); Serial.write(0x30); Serial.write(0x32); Serial.write(0x00); Serial.write(0x56); Serial.write(0x03); Serial.write(0x30); Serial.write(0x38); delay(57); Serial.write(0x02); Serial.write(0x50); Serial.write(0x30); Serial.write(0x32); Serial.write(0x00); Serial.write(0x57); Serial.write(0x03); Serial.write(0x30); Serial.write(0x39); delay(1); delay(10000); }

Am I missing something here?

• "seem to be floating"??? why do you say this? Jun 28 at 11:34
• @Andyaka I think because both signals do seem to float at roughly 2.5V when not transmitting anything? Jun 28 at 11:44
• Well, I think the correct term is "biased" - if you look at the proposed circuit and assume a termination resistor is present then R5 and R6 will bias the A and B lines at mid-rail. But, this is for the OP to work out and whether the bias resistors on the proposed solution are adequate in value for the system he's trying to rev eng. Jun 28 at 11:50

Yes that module can be used. RS-485 signals float when no driver is enabled. It can be set to receive only and passively listen to the communication, if the bus is already terminated then you might want to remove the 120 ohm termination resistor and maybe the bias pull-up and pull-down resistors.

• Thanks for the reply! I'm actually using the MAX491EPD IC at the moment so I can alter the wiring. When you say "no driver is enabled" do you mean leaving DE or Driver Output Enable disconnected? Because if I do that, then no data transmits. Jun 28 at 11:51
• If you want to transmit and/or receive, control DE and/or RE respectively. Jun 28 at 12:21
• one of DE and RE is usually an inverted input so you either want both high or both low, whichever makes the module produce the least volrage measured between A and B. Jun 28 at 13:10
• Still seeing issue. Could be a code issue, see above for details. Jun 28 at 14:00
• So what is the issue? You enable the transmitter forever so it never is disabled for reception or the bus to return to midpoint bias. Jun 28 at 14:05

you should remove the termination resistors from that module all the resistor right of the max485.

other than that yes, that module will work.