help me to connect Weighing indicator to arduino via usb

my device is arduino uno and rs232 module.
i connect rx and tx rs232 module to arduino in pin 0 for rx and 1 for tx.

Asynchronous, bi-directional, half-duplex
Data format Baud rate: 1200, 2400, 4800, 9600 bps
Data: 7 bits + parity 1bit (even or odd) or 8 bits (non-parity)
Start bit: 1 bit
Stop bit: 1 bit
Terminator: CRLF (CR: 0Dh, LF: 0Ah)

This is a sample of the string generated:

S T , G S , + 0 0 1 2 . 3 4 5 gCR LF

If I open excel or notepad, data is continuosly written to application.

This is a sample of how the data is outputted:
The data is outputted about every 100ms

If I open a terminal emulator such as putty and connect at with the same vaules I’m attempting to use with my code, I see the same output.

I’m using the example code found in the arduino library. and the output in serial monitor is always -1 .

please help me!!

// include the SoftwareSerial library so you can use its functions:
#include <SoftwareSerial.h>

#define rxPin 0
#define txPin 1

// set up a new serial port
SoftwareSerial mySerial = SoftwareSerial(rxPin, txPin);

void setup() {
// define pin modes for tx, rx:
pinMode(rxPin, INPUT);
pinMode(txPin, OUTPUT);
// set the data rate for the SoftwareSerial port

void loop()

No one else has EVER been able to do SoftwareSerial on the hardware serial pins while also using them for hardware serial. What makes you think you are special?

change “#define rxPin 0” and “#define txPin 1” to some other value may be “#define rxPin 2” and “#define txPin 3” for softwareserial (mySerial) since pins 0 and 1 are for the hardware serial which is used by the Serial monitor

i change rxpin and tx pin to 2 and 3 but nothing change. my code can read data 8 data bit 1 start bit from PC to arduino and my weighing* can deliver data to rs com using 8 data bit and 1 start bit. how to connect my weighing* to arduino using rs232?

*my weighing is And EK-300i

*my weighing is And EK-300i

You could post a link to that device AND a schematic showing how it is connected to the Arduino OR you can solve your problem yourself. Your choice.