Arduino to PuTTY not working

Hi there! I am trying to make a simple program to get the Arduino talking to PuTTY working correctly.

void setup() {
Serial.begin(9600);
}

void loop() {
Serial.println("Test");
delay (2000);
}

I came up with the above code to send a test message out every couple of seconds.
My issue is, despite having PuTTY and the Arduino set up correctly talking on the same baud rate etc; I cannot seem to get the comms working.

When running my code all I am seeing in the PuTTY window is "UStT▒" instead of "test".

Again, I have checked my baud rates and everything matches as it should do, So I am confused as to what is wrong? Any advice please?

Maybe you can share a screenshot of the connection settings?

Apologies, Here it is. I have tried turning flow control off too but that did nothing :frowning:
PuTTY

And the connection type is also set to "Serial"?

It is indeed
PuTTY

Get rid of XON/XOFF
Use 'None'

Strange..

How come you use COM3 in the serial monitor and COM5 in PuTTY?

Also, are you trying to use both applications at the same time?

COM3 is the Arduino plugged in via USB to my PC so I can see it writing the messages to serial.
COM5 is a USB-Serial adapter which is then wired directly to the RX , TX , GND pins on the arduino.

My aim is to see the messages being sent on COM3 and then see them being received in PuTTY on COM5.

Could you disconnect the serial adapter, close the serial monitor and try to use PuTTY on COM3 first?

I tried this earlier thinking it could be PuTTY. It works fine.
PuTTY

Please post photos of your wiring.

PuTTY works perfectly with Arduino, on my Win10 machine.

Serial is point-to-point protocol and using of multi-receivers or multi-transmittors modes are not supported

Multi receivers are not a problem with TTL level signals like on the Arduino pins. This experiment should work because the USB-serial adapter has high impedance inputs. Multi transmitters would cause a voltage level conflict, but the OP is not doing that.

That is what I thought too. I would still leave the TX (serial adapter side) disconnected just to be sure.

This topic was automatically closed 180 days after the last reply. New replies are no longer allowed.