Weighing Indicator

Hi,
i am working on the project related to load cells. after several of my inquiries and great help from this forum i reached to the following conclusion.

I had weighing indicator (attached pic) i want to get data of weight from it using arduino UNO now it had following serial ports on its back (Attached pic).
The first one DB9 Female is used for the input from Load cells.
I want to get output from it serially using arduino which port should i be using and how can i get it..????

Thanks

Hi, how do you know that the other sockets are for serial output?
Do you have a manual for it, as just pictures is not going to help much?
Is there a Model and Make on it somewhere?

Tom..... :slight_smile:

The case says "Matrix Ind USA" and "D1000+". A forum post here seems to indicate it uses 2400 baud, 8-bit, No Parity, 1 Stop Bit:

You will need something like a MAX232 breakout board to convert the RS232 logic levels to TTL logic levels. You will also need to build the necessary cable to connect to the serial port. Then you can use Serial or SoftwareSerial to read the data.

Hi,
Thanks Johnwasser you pointed me in a right direction.

I make MAX232 breakout board to convert to TTL logic levels.(Attached pic)
my DB 15 from indicator is giving me serial out(tested).
i am giving TX from my RS232 board to RX of arduino UNO (Attached pic) and also 5V and GND from Arduino to RS232 board as indicated in picture.

But my output is not coming correct.

On using this code my output is something like that (attached photo)

float WgtGRM;
float WgtKG;
float NetWgt;
char array[9];
int i = 0;
float incomingByte = 0;  

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

void loop() {

            while(1)
            {
              incomingByte = Serial.read();
              if (incomingByte == '=')
              {
              for(i=0;i<=7;i++)
              {
                array[i] = Serial.read();
              }
              
            
         
                

                 Serial.print("I received: ");
                Serial.println(incomingByte);
                
           WgtKG = array[7]*100 + array[6]*100 + array[5]*10 + array[4]*1;
           
           WgtGRM = array[2] * 100 + array[1]*10 + array[0]*1;
           WgtGRM = WgtGRM/1000;
           
           NetWgt = WgtKG + WgtGRM;
           
           Serial.print(NetWgt);
           
           delay(3000);
        }
            }
}

whereas my indicator shows correct reading of 1.251 KG
i consulted the ascii chart too but its not correct reading that arduino shows on Serial Monitor.

Please help me out that know i cannot use PIC controller or something else for the serial communication.

float incomingByte

incomingByte = Serial.read();
              if (incomingByte == '=')
              {

?

AWOL:
float incomingByte

incomingByte = Serial.read();

if (incomingByte == '=')
              {



?

The first character coming from the serial out is = (or Decimal 61) after it the data so thats why....

I was querying why you were assigning an "int" (which is what Serial.read returns) to a "float", and then comparing to a "char".

Hey bro, i have a similar project where i need to get the weigtht from fs8000 to arudino uno, can you tell me how did you get the data from indicator to uno
uno

Is it works fine if i connect indicator rx tx to uno rx tx pins