Skip to content

ebth/usb-scale

master
Switch branches/tags
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
lib
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

usb-scale

Reads input from Dymo S100 Digital USB Postal Scale

http://www.dymo.com/en-US/s100lb-digital-usb-shipping-scale

Raw data format:

=> [0] Unknown 3
=> [1] Stability (2 when at 0, 3 when getting stable, 4 when stable, 5 when negative, 6 when too much weight)
=> [2] Mode (lbs = 12, kg = 3)
=> [3] Scale factor
=> [4-5] 16 bit weight

Scale

$ irb -r ./lib/scale.rb
> scale = Scale.new

About

Read from a USB scale in Ruby

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages