Go Down

Topic: Arduino uno serial comm with serial terminal problem (Read 536 times) previous topic - next topic

mcash

Mar 24, 2012, 05:28 pm Last Edit: Mar 24, 2012, 05:47 pm by mcash Reason: 1
Hi,
I have a usb to rs232 adapter. I connected the TX pin of the arduino to the RX pin (pin 2) of the adapter and connected the signal ground pin (pin 5) of the adapter to ground pin of the arduino. I started the AVR Terminal (http://www.battledroids.net/downloads/AVRTerminal.html) program and started a serial communication at 9600 baud rate with COM port adapter with the following (default) settings data bits: 8, parity: none, stop bit: one and flow control: none. I have the following codes loaded on the Arduino.

Code: [Select]
void setup()
{
 Serial.begin(9600);
}

void loop()
{
 Serial.print('c');
 delay(500);
}


I should get cccccccccccccc... on the terminal window, instead I get NNNNNNNNNNNNNN... But if I select the COM port of the Arduino I get the correct chars. What could be wrong? Any idea how to fix this?

Go Up