• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 1501
  • Last Modified:

Mettler Toledo - weighing scale / web app integration

I have a mettler toledo scale that reads the weight for fedex ups applications. I want to make it write back the weight to a input box on a web application. How do i go about this? The scale i am using uses a serial port. How do i go about integrating the scale with the web application. I do not want the users to be entering the weight manually. As it defeats the purpose of reducing work for people weighing packages. In the ideal situtation, a user places weight on the scale and the ystem reads it directly on the weight field in the web app? Anyone had experience doing something similar to this?

  • 2
1 Solution
Get into touch with mettler or visit their site. I'm sure you can download many code examples on how to do that.
adobhalAuthor Commented:
I tried that... they just send me a manual about the scale with no samples :(. i will try again.

First of all I'm not expert in serial port programming but here's how I'd go about your problem.  Most likely Mettler aren't going to want to know you, and the best you could get out of them would be a functional description of their serial port communication protocols.  Much easier would be to connect to the scales from the computer using hyperterminal.  You should be able to get a binary or hex readin from the scales.  Compare the value you read off the scales with the output from hyperterminal.  The windows calculator in hex and binary mode is really handy here.  You'll probably find that the scales output a standard 16/32 bit word of which part of it will be the weight itself, and other parts may be things like what mode or units etc.
From there search the web for serial programming websites and use their help to work out how to readin the values from the serial port using your desired programming language.

adobhalAuthor Commented:

Even though your answer does not hit the nail on the head. I think you have pointed me in the right direction. No one else seems to more on this rather vague topic so I accept this answer as the best one so far.

Thank you
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

Featured Post

Free Tool: Site Down Detector

Helpful to verify reports of your own downtime, or to double check a downed website you are trying to access.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now