SoftSerial problem with setting up


I’m trying to connect pH meter to arduino - it has serial output.

I’m using arduino duemilanove to do so, but can get it to work as it should.

First of all, I’ve checked how to connet to serial with no-name usb-to-serial cable. Using CuteCom at:
baud: 1200
data bits: 8
stop bits: 1
parity: none
handshake: soft - no, hard - no

And i’m getting something like this

6.78pH   22.0\0xf8C  MTC

and that’s cool.

But after programming:

#include <SoftwareSerial.h>

SoftwareSerial mySerial(10, 11); // RX, TX

void setup() {
  // Open serial communications and wait for port to open:
  while (!Serial) {
    ; // wait for serial port to connect. Needed for native USB port only

  Serial.println("Goodnight moon!");

  // set the data rate for the SoftwareSerial port

void loop() { // run over and over
  if (mySerial.available()) {
    Serial.write (;

and connecting:
Digital 10 (RX) to COM TX,
Ground to ground,
TX is not needed, since it does not receive any commands…

I’m getting from arduino this:


*some signs didn’t copied

And from arduino compatible programer (set 5V), this:


What am i doing wrong?

Best regards!

Checked settings in the serial monitor?