title: Pyserial read is not returning what I write out
body: <p>currently I have a raspberry pi ports connected to two serial devices. the devices are usb to RS485/RS422 converter. both are connected with wires to the proper terminals (terminal 1 of device A to terminal 2 of device B, terminal 2 of device A to terminal 1 of device B). </p>
  
  <p>I'm able to successfully read and write from one device to the other, however the return read data is not the same as the data I wrote.</p>
  
  <p>For example, if the message I am trying to send is "Te", the message I read is <code>b'U\x13\x00'</code>.</p>
  
  <p>I am currently running python 3 on buster.</p>
  
  <pre class="lang-py prettyprint-override"><code>ser = serial.Serial(port='port 1', baudrate = 9600)
  message = "Te"
  message = message.encode('ascii')
  while True:
       ser.write(message)
       time.sleep(1)
  </code></pre>
  
  <p>write.py</p>
  
  <pre class="lang-py prettyprint-override"><code>ser = serial.Serial(port = 'port 2', baudrate = 9600)
  while True:
       serial_line = ser.read(50)#placehoder until I am able to get correct values
       print(serial_line)
  
  </code></pre>
  
  <p>read.py</p>
  
  <p>I except the output of bytes in read to convert to the string I wrote in write.py, however the output is always something completely different.</p>
  
  <p>EDIT:
  <a href="https://rads.stackoverflow.com/amzn/click/com/B005CPI0JQ" rel="nofollow noreferrer" rel="nofollow noreferrer">link to serial devices</a>(usb to RS-485/RS-422)</p>