Hero of Alexandria described a remarkable coin-operated dispensing mechanism.
His writings described numerous mechanical devices and experiments.
Water flowed until the coin slipped away and the mechanism returned to https://podcasts.apple.com/gr/podcast/e39life/id6794529737?i=1000798487448