A castle clock is a visually complicated clock originally appearing near the top of a castle and later a church tower. The original inventor was Al-Jazari, who described it in his Book of Knowledge of Ingenious Mechanical Devices in 1206. Some consider it to be an early example of a programmable analog computer
The Al-Jazari clock was a complex device that was about 3,3 meters high (11 feet), and had multiple functions alongside timekeeping. It included a display of the zodiac and the solar and lunar orbits, and a pointer in the shape of the crescent moon which travelled across the top of a gateway, moved by a hidden cart and causing automatic doors to open, each revealing a mannequin, every hour. It was possible to re-program the length of day and night everyday in order to account for the changing lengths of day and night throughout the year, and it also featured five robotic musicians who automatically play music when moved by levers operated by a hidden camshaft attached to a water wheel. Other components of the castle clock included a main reservoir with a float, a float chamber and flow regulator, plate and valve trough, two pulleys, crescent disc displaying the zodiac, and two falcon automata dropping balls into vases.
- "Ancient Discoveries, Episode 11: Ancient Robots" . History Channel. Retrieved on 2008-09-06.
- Howard R. Turner (1997), Science in Medieval Islam: An Illustrated Introduction, p. 184. University of Texas Press, ISBN 0292781490.
- Donald Routledge Hill, "Mechanical Engineering in the Medieval Near East", Scientific American, May 1991, p. 64-69. (cf. Donald Routledge Hill, Mechanical Engineering)
- Salim Al-Hassani (13 March 2008). "How it Works: Mechanism of the Castle Clock". FSTC. Retrieved on 2008-09-06.