Some ancient inventions were surprisingly similar to devices used today.
Hero of Alexandria was a mathematician and engineer active during the first century AD.
The weight of the coin temporarily activated a lever https://music.amazon.fr/podcasts/69d3b9a8-ce50-4beb-8cef-e2712da6057e/episodes/a76ffe28-6efc-4ae7-a23f-f87f572fdab7/e39life