Uno and RS232 Shield V2 from LinkSprite, help needed

Hi,

I am quite new to the RS232 communication using Uno and RS232 Shield V2 from LinksSprite.

Currently, I have the RS232 shield solder pins soldered O.K. and inserted the shield to the Arduino Uno R3.

I am trying to receive RS232 data from a digital indicator for load data acquisition connected to a load cell device, giving gram-force or similar data stream at 9600bps.

As the arduino sketch, I have utilized the one by Seeed Studio's example.

However, I only get 'Goodnight moon!' message on my PC's serial monitor screen.
When I press the S1 push-button on the RS232 shield of LinkSprite, it gives me again 'Goodnight moon!' message.
When I type some characters on the message line of serial monitor, it just blinks once, without any echoes on the serial monitor.

Port numbers have been changed to 2, and 3.

I really appreciate your comments or hints on this problem.

Bryan.

//-----copy from Seeedstudio wiki page; Port numbers changed ----
#include <SoftwareSerial.h>
 
SoftwareSerial mySerial(3, 2); //232_TX,232_RX
 
void setup()
{
    // Open serial communications and wait for port to open:
    Serial.begin(9600);
    while (!Serial) {
        ; // wait for serial port to connect. Needed for Leonardo only
    }
 
 
    Serial.println("Goodnight moon!");
 
    // set the data rate for the SoftwareSerial port
    mySerial.begin(9600);
    mySerial.println("Hello, world?");
}
 
void loop() // run over and over
{
    if (mySerial.available())
    Serial.write(mySerial.read());
    if (Serial.available())
    mySerial.write(Serial.read());
}

RS232Shield1.jpg

RS232Shield_Digital_Indicator.jpg

Port numbers have been changed to 2, and 3.

Not it the code you posted.

Hi, :slight_smile:

I really appreciate your comments on this problem.

changes are reflected in the code.

 SoftwareSerial mySerial(3, 2); //232_TX,232_RX

I just tested with the port numbers, 3 tx, 2 rx.
The change still does not give me what I want: a series of changing load values.

Any clues to this problem?

Thanks,

Bryan

changes are reflected in the code.

Really? The code YOU posted shows:

SoftwareSerial mySerial(7, 6); //232_TX,232_RX

Do NOT expect help with code that does not match what the Arduino is ACTUALLY running.

Hi, PaulS,

Thanks again for your corrections.

In the meantime, I have tried as per the suggestions from the post GrumpyMike made a while back.

I've tied the port numbers 2 and 3 together with one single small wire, to see if I could get any echoes from my typing in the message line of the SerialMonitor of Arduino on my PC.

Nothing much is happening with the try.

....

Hi,

The problem is solved! Thanks, PaulS.

I have checked the Digital Indicator for the Load Cell signal measurement unit again.

Due to the incorrect selection steps of the built-in functions in the Digital Indicator, it would not send any digital signal to the RS232 shield.

I have changed the selection of the 'serial output: OFF' to 'RS232' again, which is a built in function step of the measurement unit.

It is now sending streams of data perfect.

Bryan.

It is now sending streams of data perfect.

Excellent.

Hi,

I made a some unforgivable mistake due to my poor knowledge on the Arduino Uno voltage limits.

Connections shown in the picture I attached with the initial post are totally wrong, since the voltage limits should be less than 5vdc for this Uno.

I should have connected them to the designated pins of 2, 3, and gnd, through the 9 pin female.

Please ignore the picture.

Thanks,

Bryan.