title: trying to decode RS485 protocol
body: <p>I am trying to decode signal that two devices are using over RS485.</p>
  <p>I captured signal, from which i got baud rate (57600, one bit is 17,3us long):</p>
  <p><a href="https://i.stack.imgur.com/Tmi9b.png" rel="nofollow noreferrer">Screenshot of the signal</a></p>
  This signal is BIN: 0000000000010010001001111110011110011011111110...
  <p>Then i wrote simple capture program in arduino:</p>
  <pre><code>void setup() {
    Serial.begin(57600);
    Serial1.begin(57600);
  }
  
  void loop() {
    if (Serial1.available()){
      byte temp=Serial1.read();
      if(temp==0){
        Serial.println();
      }else{
        Serial.print(temp,HEX);
      }
    }
  }
  </code></pre>
  <p>Which got me following output:</p>
  <p><a href="https://justpaste.it/6sw5g" rel="nofollow noreferrer">https://justpaste.it/6sw5g</a></p>
  <p>What is my next step in decoding this communication?</p>