Stamps.com Scale Tool (v1.0) : Download Executable
Recently, my found and I came across the Stamps.com scale. It helps with things like postal shipping.
You can find more information here: Stamps.com
The scale I have is the Model 510 which is what you see on the Stamps.com site at the first scale. I give it credit. It works quite well.
We have the software installed on my wifes laptop, but I had a need to weigh some things and I didn't want to install the software. I wanted a simple application I could run and also something small that I could put on a USB thumb drive in case I need to take it somewhere else. Everybody carries a USB scale with them.....right?
Here is a picture of what my scale looks like:
The little tool I created looks like this:
It gives you the option to click a button and weigh the object on the scale, or you can turn on Realtime. Which periodically polls the scale to find out the current weight of the object on it.
When you extract the zip file, there is a .config file. It has 3 configuration options.
VID - Vendor ID
PID - Product ID
WeightTimeout - the is the time in milliseconds, between each realtime request from the scale to get a weight measurement.
I left these values configurable, because I wasn't 100% sure the VID and PID would be the same for everyone, and the WeightTimeout I just wanted as a configurable option to see how fast I can poll the device.
Finding the VID and PID
On your computer, open up the Device Manager. Expand the node "Human Interface Devices".
Plug your scale into the USB port and you'll see 1-2 devices appear. The one I found to be most useful is the HID-complient device.
Double-click on it and go the properties, then click the Details tab and find the property "Hardware Ids".
This is where you can see the VID and the PID (these are hex values). Plug them into the .config file and run the EXE.
It should now be able to talk to it.
Big thanks goes out to Mike Obrien who created an open-source Hid library. If you need it, get it here :