Israel Lopez
← Writing

Scale Keyboard - Get Scale Data like a Keyboard

Scale Keyboard is my little weekend project to treat a Dymo M10 scale like a keyboard.  The inspiration came from a client asking if Fishbowl Inventory was “Scale enabled.” I said, it wasnt, but that doesnt mean we cant find a solution. Further inspiration came from USB Barcode scanners that act like keyboards when a Barcode is scanned, the data is sent as key presses into wherever the computer cursor is located. 

Example

Earlier this week I bought the Dymo M10 Digital Postal Scale from Amazon, and it arrived Friday. This Sunday I spent the better part of the afternoon researching the device, USB Protocols, and the best way to simulate what a USB Barcode scanner worked.

One issue that I found was that there is no “Trigger” for a scale like there is for a Barcode Scanner, so I’d have to find my own.

A second issue was that there was no documentation on most of these devices, and if there is; I’d have to pay for it, so I’d have to reverse engineer how to talk to it.

Then there was the issue of actually making this work within Windows, and without too much fuss.

After about 6 hours in Visual Studio, I came up with this.

In the GIF above, Left; I have a window noting what the Application is doing, and Right; I have Fishbowl Inventory with a possible use case.  

The client wanted to see if they could use a scale to get the weight of materials being sold.  So in this example all they would need to do is place the cursor where the Quantity field would be; hit a hotkey (F9 in this example), and the weight would be “keyed-in” from the device.

There is some more work to be done to enable preferences, and additional support for other scales and different connectivity (USB, Serial, Ethernet, Bluetooth).

But this is a great starting point for me, as a technical exercise, and possible solution for clients.

There does exist a commercial product called WinWedge.  It costs approximately $259 Standard or $495 Professional. http://www.taltech.com/winwedge

I can see why, it supports a variety of devices, and seems to have years of development.  So this would not at all be competitive to that, but is good to know that such a solution does exist.

-Israel

Search

Loading…