Is anyone able to help, I am fairly new to Arudino programming and am trying to read the Serial output of a device with little luck.
I have been able to read it using a RS232 to USB dongle and PuTTY directly into my PC, with the default settings (9600,8,1,N)
When I attempt to connect the device to a Arduino MEGA (using the same settings), I am getting backwards question marks and other random characters.
I have tried these Examples.
But thought I would take it back to the very basic's till I can get a reasonable output, so I removed all GPIO's except the Rx,Tx and GND and used the following code:
void setup() {
Serial.begin(9600);
Serial.println("<Ready>");
}
void loop() {
if (Serial.available()) {
Serial.write(Serial.read());
//delay(1000 * 13 / 960 + 1);
}
}
I don't have the circuit diagram at the time of posting but I know it is a TTL Serial and the device runs on 6V (4 x 1.5V AA)

