Some ancient inventions were surprisingly similar to devices used today.
One invention used a coin-operated mechanism to dispense a measured quantity of water.
The weight of the coin temporarily activated a lever https://podcasts.apple.com/uz/podcast/e39life/id6794529737?i=1000798487448