How does a Gumball Machine Work?

A gumball machine works by combining the actions of a few mechanical parts. The coin releases a locking mechanism that allows for the crank to turn and drop the candy to the dispensing slot. The crank locks again when one crank is complete.