Hero of Alexandria described a remarkable coin-operated dispensing mechanism.
One invention used a coin-operated mechanism to dispense a measured quantity of water.
A coin dropped into the device would land on a small https://podcasts.apple.com/eg/podcast/e39life/id6794529737?i=1000798487448