RS 232 program

Hello everybody

I need an example

I have a Scale with a RS 232 output (9600 bauds)printing continuously , a DB9 Max3232 interface,
I want to show the scale values on the serial monitor each second

How to connect the 4 wires RS232 TTL converter on the Arduino (pin 0 ?, pin 1 ?, VCC , GND )
Any short example to start or library with example?

Thank you very much

The serial monitor uses pins 0 and 1 (RX and TX), so you need to use either an Arduino Mega, with 3 more serial ports, or one of the software serial libraries to read the scale.

This example uses a standard Arduino to send serial data from a GPS module (connected to pins 10 and 11) to the serial monitor.

#include <SoftwareSerial.h>

SoftwareSerial mySerial(10, 11); //(RX, TX) check correct pin assignments.

void setup() {
  Serial.println("GPS start");

void loop() {
  while (mySerial.available()) {

Is there some reason you need the Arduino?

It is perfectly possible to connect the scale to the PC using a USB-to-RS232 converter such as and read the values directly from the scale using a program such as TeraTerm without any need for the Arduino!