Thanks for your time to read and repond to this. I have an ultrasonic sensor which operates on RS485.
It works just fine with my Arduino but when I send commands to the ultrasonic sensor, it displays on the Serial Monitor as ascii rubbish. "Uª Uª " to be exact.
This is ascii which corresponds to the data packets I am sending. Maybe sending data through the RS485 port is being repeated up the USB cable to the PC.
When the ultrasonic sensor reponds and says "OK" and sends back it's reading, it says something like: "55 aa 11 02 02 01 0A 11" where the second last byte "OA" is the distance in centimeters.
This displays just fine on Arduino's serial monitor, but is not accompanied by any extra ascii rubbish.
So why is it just when I'm sending information via RS485 that extra rubbish is displayed in the Serial Monitor but when I'm receiving data via RS485 it displays completely clean in the Serial Monitor?