Tutorial:Mechanisms/Vending machine

Side view
Top view of hopper–comparator circuit