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?