In the late 1660s, the architect and doctor Claude Perrault devised a genuine clock whose mechanisms are driven by the flow of water. The flow of liquid in a waterwheel works cogs and the clock can even chime. But all these devices lacked precision, and as mechanisms were gradually perfected and miniaturised they were soon replaced by spring-driven clocks.