Weird Fact Cafe

Learn More

Ancient Greeks Had Vending Machines

The concept of automated retail is far older than you might think, originating not in a modern factory but in the temples of first-century Roman Egypt. The brilliant Greek inventor and mathematician Hero of Alexandria, known for creating early steam engines and syringes, also designed a device to dispense a fixed portion of holy water. This wasn't a machine for public convenience, but rather a clever tool for temple priests to ensure that worshippers made an appropriate offering for the sacred liquid and didn't take more than their share.

The machine's design was an elegant display of basic physics. When a worshipper deposited a coin of a certain weight, it fell onto a small pan attached to a lever. The weight of the coin tilted the lever, which in turn pulled a plug from an opening, allowing the holy water to flow out. As the lever tilted further, the coin would eventually slide off the pan. Freed from the weight, a counterweight would pull the lever back to its original position, reinserting the plug and stopping the flow of water until the next coin was inserted. This simple yet ingenious system represents one of history's earliest examples of an automated, self-regulating device.