The Vending Machine is built from the Lego Wedo 2.0 educational kit. The model uses two mechanical gears – worm gear and rack and pinion. The vending mechanism is driven by a rack and pinion, and the motor, through a worm gear, acts on the gears that are engaged with the racks.
The set includes step-by-step building instruction and an example of program (in Lego Wedo 2.0 environment).