Go Down

Topic: Arduino Uno - Serial Communication Problem (Read 17 times) previous topic - next topic

Grumpy_Mike

Quote
how do you physically connect tx/rx pins to your PC?

Through the USB port.
If you want to go direct then put the pins to an RS232 converter like a MAX202 and then connect the output of that either to a real serial port or a USB to RS232 lead.

jumpjack

Why should I connect RX/TX to a serial/USB converter connected to a serial port, if I can directly connect RX/TX to USB?

Has USB standard TTL levels?

Grumpy_Mike

Quote
if I can directly connect RX/TX to USB?

No you can't. The through the USB port is via the arduino's on board USB to serial adaptor.

jumpjack

Ok, I'm totally lost now: you just said you redefined pins 2 and 3 to use them as alternative TX/RX rather than 0 and 1, and that you connect them to PC USB.... and now you say it is not possibile?!?  :-?

Grumpy_Mike

#9
Oct 27, 2010, 03:53 pm Last Edit: Oct 27, 2010, 03:54 pm by Grumpy_Mike Reason: 1
No I didn't say that.
You asked:-
Quote
guys, how do you physically connect tx/rx pins to your PC?

and I told you.
Now you are asking about alternative TX/RX . The answer to that one is simpler.
1) Have you got a serial port on the PC - Yes use a MAX202 to connect it up - if no the go to 2:-
2) Get a serial port on your PC by a USB to RS232 serial adaptor cable and go back to 1.

OR

3) Get a USB to serial TTL adaptor and wire that directly to the arduino.

Go Up