Inventory Source Code for Arduino: Parts Counter by Weight

For stockroom keepers with screws, connectors or spare parts in bins: count a bin by weight right here, then let an Arduino Uno do it all day and light the reorder alarm.

What the paid pack does on the shelf

SketchJobWhat a tutorial leaves out
ScaleCalibrationTare and per-part value from 20 of your own partsRejects a sample that is too light; a silent HX711 is a fault, not zero
BinScaleCounterCounts one bin all day, reorder LED + buzzerStability gate (hand in the bin), ambiguity check, hysteresis, ACK button
BreakBeamInOutIn/out count through a chute with two IR beamsCounts only a full pass, jam pause, pass timeout, never below 0
TwoBinKanbanReorder lights for 4 two-bin locationsLatch + 2 s confirm timers so a quick lift is ignored
StockLedgerEEPROM+1/−1 buttons or IN/OUT/SET from a PC, survives power cutsNever negative, corrupt-EEPROM check, batched writes

No libraries to install: the HX711 is read with the core API, and EEPROM.h ships with the Arduino AVR core. Install: unzip as is (each .ino sits in a folder of the same name) ▸ open it in Arduino IDE ▸ pick Board “Arduino Uno” and your port ▸ Upload. Menu names differ slightly by IDE version and UI language.

Yardstick: Uline lists its Industrial Counting Scale H-1114 (6 lb x .0005 lb) at $558 each (uline.com, checked 2026-10-18).

Open full tool → getreadystack.com · Put this on your site with your logo