connecting to an asrock ab350 pro4

Please forgive me I'm not sure if this is the right place to post this.

how can I hookup my arduino to my computer (not using the USB)

I've read the manual and looked on the web and youtube but cant find the info I need.

I would assume that the COM1 pins have a tx/rx but don't know which ones.

the whole reason I want to know this is for a simple project having external temp. sensors and use python(or some other language to make a GUI)

here is my code if you're interested

float tempC;
float tempC1;
float tempC2;
int reading;
int reading1;
int reading2;
int tempPin0 = 0;
int tempPin1 = 1;
int tempPin2 = 2;
void setup() {
  analogReference(INTERNAL);
Serial.begin(9600);// put your setup code here, to run once:

}

void loop() {
 reading = analogRead(tempPin0);
tempC = reading / 9.31;
Serial.print("  sensor_1  ");
Serial.print(tempC);

reading = analogRead(tempPin1);
tempC1 = reading / 9.31;
Serial.print("  sensor_2  ");
Serial.print(tempC1);

reading = analogRead(tempPin2);
tempC2 = reading / 9.31;
Serial.print("  sensor_3  ");
Serial.println(tempC2);
delay(1000);

}

Here you go: Python <-> Arduino Serial Comms

Thank you very much.

I'm still waiting on tec support to identify the correct pins to hook it up.
on COM1 there is a rrxd1 and a ttxd1 hopefully that's the pins i need. I'm a noob and trying to teach myself this stuff, and again thank you very much

I'm still waiting on tec support to identify the correct pins to hook it up.
on COM1 there is a rrxd1 and a ttxd1 hopefully that's the pins i need.

Another example of the classic x-y problem. If I could only find the rx/tx pinouts...

Hopefully? Hope does not work with electronics. Hope is how you blow things up. Now you're attempting to find what are probably non-exsistent rx and tx connections on a modern PC motherboard. Let's say that tech support does in fact reply and tell you where the pins are. Do you know what electrical levels need to be connected? RS232? TTL? 3V3? What electrical levels does the Arduino expect?

Why did you assume you couldn't use the USB port? You'd be working on your GUI by now if you hadn't started making assumptions. Use the USB connection. PySerial reads and writes it. Just about every Python<->Arduino demo reads and writes to/from the Arduino via it's USB port... as a serial device - because of thats all the USB connection is, a serial port.

like I said I'm tying to teach myself this stuff and a few hours of research can solve most problems.

Please and Thank you

Hi,
What model Arduino?

The Arduino board has on its headers usually pin0 and pin1 marked as Tx and Rx, they are your serial programming ports and are TTL level.

Does the computer you want to communicate with have a legacy COM port?

Why don't you want to use the USB port?

Tom... :slight_smile:

I'm using a Chinese UNO R3. I may have to use to USB to connect I was hoping to leave the USB free for programming because I may want to add some more bells and whistles and I'm unsure if there is a legacy com port because I can't find it in the manual.

Hi,

raptor:
I'm using a Chinese UNO R3. I may have to use to USB to connect I was hoping to leave the USB free for programming because I may want to add some more bells and whistles and I'm unsure if there is a legacy com port because I can't find it in the manual.

The UNO's USB can be used for both, you won't be running program while you are uploading code.

What is your projects application?

Thanks.. Tom.. :slight_smile: