Smart cash drawer auto weighing system
A cash drawer is provided. The cash drawer includes a plurality of compartments configured to hold a plurality of objects. The cash drawer further includes a weight sensor coupled to each of the plurality of compartments, the weight sensor being configured to detect a weight change within a respective compartment and produce an output indicative of the detected weight change. The cash drawer further includes a processor configured to receive the output from the weight sensor and determine an object count based on the detected weight change within the respective compartment.
1 . A method of operating a cash drawer, comprising:
acquiring a first stable weight reading from one or more weight sensors of the cash drawer;
acquiring a second stable weight reading from the one or more weight sensors of the cash drawer;
acquiring a noise signal from the one or more weight sensors of the cash drawer;
filtering, with a processor of the cash drawer, the first stable weight reading and the second stable weight reading from the noise signal;
calculating, with the processor of the cash drawer, a difference between the second stable weight reading and the first stable weight reading;
comparing, with the processor of the cash drawer, the difference between the second stable weight reading and the first stable weight reading to a no-weighing threshold;
selectively comparing, with the processor of the cash drawer, the difference between the second stable weight reading and the first stable weight reading to a calculate count threshold, the difference between the second stable weight reading and the first stable weight reading exceeds the no-weighing threshold;
selectively processing, with the processor of the cash drawer, the difference between the second stable weight reading and the first stable weight reading to produce an object count movement, the difference between the first stable weight reading and the second stable weight reading exceeds the calculate count threshold, the object count movement being indicative of a change in currency within the cash drawer, based on the first stable weight reading and the second stable weight reading.
2 . The method of claim 1 , further comprising:
calculating a confidence metric indicative of a confidence level of the produced object count movement based on the difference between the second stable weight reading and the first stable weight reading.
3 . The method of claim 2 , further comprising:
comparing the confidence metric to a confidence threshold;
rounding the object count movement based on the comparison between the confidence metric to the confidence threshold; and
adding the rounded object count movement to a previous count movement to produce an accumulated movement.
4 . The method of claim 3 , wherein rounding the object count movement comprises rounding down the object count movement after the confidence metric does not meet the confidence threshold.
5 . The method of claim 4 , further comprising:
comparing the difference between the second stable weight reading and the first stable weight reading to a minimum weight threshold.
6 . The method of claim 5 , further comprising:
selectively assigning the difference between the second stable weight reading and the first stable weight reading and rounded object count movement to a value of zero based on whether the weight movement meets the minimum weight threshold.
7 . The method of claim 5 , further comprising:
selectively assigning the first stable weight reading to the second stable weight reading based on whether the difference between the second stable weight reading and the first stable weight reading meets the minimum weight threshold.
8 . A method of operating a cash drawer, comprising:
acquiring a first stable weight reading from a weight sensor of the cash drawer;
acquiring a second stable weight reading from the weight sensor of the cash drawer;
acquiring a noise signal from the weight sensor of the cash drawer;
filtering, with a processor of the cash drawer, the first stable weight reading and the second stable weight reading from the noise signal;
calculating, with the processor of the cash drawer, a difference between the second stable weight reading and the first stable weight reading;
comparing, with the processor of the cash drawer, the difference between the second stable weight reading and the first stable weight reading to a no-weighing threshold;
selectively overwriting, with the processor of the cash drawer, the first stable weight reading with the second stable weight reading, the difference between the second stable weight reading and the first stable weight reading is less than the no-weighing threshold;
acquiring a new second stable weight reading from the weight sensor of the cash drawer and calculating the difference between the first stable weight reading and the new second stable weight reading;
comparing, with the processor of the cash drawer, the difference between the first stable weight reading and the new second stable weight reading to the no-weighing threshold;
selectively processing, with the processor of the cash drawer, the difference between the new second stable weight reading and the first stable weight reading to produce an object count, indicative of a currency value within the cash drawer, the difference between the first stable weight reading and the new second stable weight reading exceeds the no-weighing threshold; and
transmitting, with the processor of the cash drawer, the object count to a user.
9 . A method of operating a cash drawer, comprising:
acquiring a first stable weight reading from one or more weight sensors of the cash drawer;
acquiring a second stable weight reading from the one or more weight sensors of the cash drawer;
acquiring a noise signal from the one or more weight sensors of the cash drawer;
filtering, with a processor of the cash drawer, the first stable weight reading and the second stable weight reading from the noise signal;
calculating, with the processor of the cash drawer, a difference between the second stable weight reading and the first stable weight reading;
comparing, with the processor of the cash drawer, the difference between the second stable weight reading and the first stable weight reading to a no-weighing threshold;
selectively comparing, with the processor of the cash drawer, the difference between the second stable weight reading and the first stable weight reading to a calculate count threshold, the difference between the second stable weight reading and the first stable weight reading exceeds the no-weighing threshold; and
selectively comparing, with the processor of the cash drawer, accumulated weight to a minimum weight threshold, the difference between the first stable weight reading and the second stable weight reading does not exceed the calculate count threshold;
determining, with the processor of the cash drawer, that the accumulated weight is below the minimum weight threshold; and
setting, with the processor of the cash drawer, accumulated movement and accumulated weight to zero based on the determination.