To solve the problem, we studied similar solutions and adopted the principle of dispensing with a rotating rotor.
The creative challenge was in how to limit the amount of sugar being dispensed. We decided not to use the approach of braking the shaft, as the force that a person can exert in pursuit of sweetness can be quite strong...
Instead, when the maximum allowable amount is dispensed, the transmission of rotation from the handle to the mechanism is disengaged. The force no longer matters, as the handle continues to rotate freely after the limit is reached.
For prototyping, we used FDM printing.