c. 850–1206 CE

Machines that kept their own time

Al-Jazari fills a book with water clocks and automata that reset and repeat — robotics before the word existed.

1. Introduction

In 1206, a court engineer in Diyarbakir finished a book full of machines that kept their own time. Al-Jazari's Book of Knowledge of Ingenious Mechanical Devices describes water clocks that strike the hours, fountains that change their patterns, and figures that pour, drum and move — machines built to reset and repeat on their own. Some modern engineers, looking back, have called this robotics before the word existed. It is a dazzling body of work; it is also one that later writers have sometimes overclaimed, and both things are worth saying carefully.

3. Historical Background

The tradition runs through the Islamic world in two great works. First, the Banu Musa — three brothers working in ninth-century Baghdad's House of Wisdom — produced the Book of Ingenious Devices (c. 850), describing about a hundred mechanisms, many self-acting, and drawing openly on Hellenistic sources the Abbasid court had gathered and translated [3]. Three and a half centuries later, Ismail al-Jazari, engineer to the Artuqid rulers at Diyarbakir, wrote the Book of Knowledge of Ingenious Mechanical Devices (1206), describing some fifty devices — water clocks, fountains, hand-washing and drink-serving automata, and the famous elephant clock — with enough constructional detail to be rebuilt [1][2].

The correction belongs here, at the front. These were not the first automata. Self-moving machines are considerably older: Hero of Alexandria in Roman-era Egypt built bird automata, temple devices and a wheeled automatic theatre, drawing in turn on Ctesibius and Philo of Byzantium, and comparable mechanical traditions existed elsewhere, including in China [4]. Al-Jazari and the Banu Musa inherited and extended this lineage; they did not begin it.

4. Timeline

  1. c. 1st c. CE — Hero of Alexandria describes automata and pneumatic machines, building on Ctesibius and Philo of Byzantium [4]

  2. c. 850 — Banu Musa brothers compile the Book of Ingenious Devices in Baghdad, describing about 100 mechanisms [3]

  3. 1136 — Ismail al-Jazari born [1]

  4. 1206 — Al-Jazari completes the Book of Knowledge of Ingenious Mechanical Devices, the year of his death; it describes ~50 devices [1][2]

  5. c. 1206 — Al-Jazari's use of the camshaft in automata, clocks and water-raising machines documented in the treatise [1]

  6. 15th c. — Leonardo da Vinci designs a mechanical figure, long held to be the earliest "programmable" automaton [2]

  7. 21st c. — Engineer Noel Sharkey argues al-Jazari's musical-boat automaton was likely programmable via movable pegs, predating the Leonardo claim [2]

5. Key Details

  • Problem it solved: How to make machines act on their own — telling time, serving guests, playing music — without continuous human operation, and how to record such designs precisely enough to be rebuilt.
  • How it worked: Al-Jazari's devices used flowing water and falling weights as power, regulated by mechanisms including the camshaft (a shaft with attached cams that trip levers in sequence) and crank-connecting-rod motion; his water clocks reset and repeated their cycles, and figures moved on schedule [1][2]. A musical automaton — a boat carrying drummers — could be made to play different rhythms by moving pegs that struck the levers [2].
  • Immediate impact: The treatises were prized court works, copied and illustrated; folios survive in museum collections such as the National Museum of Asian Art [1].
  • Influence on other inventions: The Banu Musa's work is cited as an influence on al-Jazari [3]; the camshaft and self-acting control mechanisms they used are foundational to later machine design [1][2].

6. Significance

The significance is real and can be stated without exaggeration. Al-Jazari collected, refined and — crucially — documented mechanisms of self-action in enough detail to reconstruct, and the peg-and-lever arrangement in his musical automaton lets one reprogram a rhythm by rearranging pegs, which is why some historians read it as an early programmable machine [2]. But "programmable," "robot" and "computer" are modern words applied in hindsight. The reading of al-Jazari's musical boat as programmable is an interpretation advanced by writers such as the engineer Noel Sharkey, who reconstructed a plausible mechanism; it should be presented as a scholarly argument, not an established fact, and even Sharkey has extended the same question back to Hero of Alexandria's much older devices [2][4].

7. Impact

Scientific/Technological

Systematised camshaft, cam-and-lever and crank mechanisms in buildable treatises that extended the Hellenistic and Abbasid engineering tradition [1][2][3].

Cultural

The elephant clock, drink-serving figures and fountains were court showpieces, fusing engineering with spectacle and craft [1][2].

Modern Relevance

Al-Jazari is popularly celebrated as a "father of robotics," a retrospective framing that highlights the machines' importance while inviting the correction that automata long predate him [2][4].

8. Legacy & Modern Relevance

Al-Jazari's book survives in illustrated manuscripts, and individual folios are held in major museum collections, keeping his designs visible eight centuries on [1]. His use of the camshaft and self-regulating mechanisms sits in the ancestry of later control engineering [1][2]. In modern popular culture he is often crowned "the father of robotics," and the Banu Musa are celebrated for early automatic control [2][3] — descriptions that carry genuine truth about influence while requiring the honest caveat that self-moving machines reach back to Hero of Alexandria and beyond [4].

9. Interesting Facts

  • 01

    Al-Jazari completed his book in 1206, the year he died [1][2].

  • 02

    His elephant clock combined Indian, Greek and Islamic elements into a single water-driven timepiece and remains his best-known device [1][2].

  • 03

    Noel Sharkey argued al-Jazari's drummer automaton was likely programmable — its rhythm changeable by repositioning pegs — challenging the older attribution of the first programmable automaton to Leonardo da Vinci [2].

  • 04

    The Abbasid caliph al-Ma'mun commissioned the Banu Musa to gather surviving Hellenistic texts, tying their ninth-century mechanics directly to the Greek tradition of Hero and Philo [3].

10. Related Topics

  • The Camera Obscura & Optics (Inventions × Middle Ages) — another line of Islamicate science extending Greek foundations, in the study of light and vision.
  • The Astrolabe (Inventions × Middle Ages) — a precision instrument of the same scientific culture, blending calculation with fine mechanism.
  • The Abbasid Caliphate (Civilizations × Middle Ages) — the Baghdad court and House of Wisdom whose translation movement seeded the Banu Musa's and al-Jazari's mechanics.

11. Sources & Further Reading

  1. National Museum of Asian Art (Smithsonian), folios from al-Jazari's Book of Knowledge of Ingenious Mechanical Devices. https://asia.si.edu/explore-art-culture/collections/search/edanmdm:fsg_F1930.75/
  2. TechRadar, "The forgotten history of the 800-year-old robot" (on al-Jazari and Noel Sharkey's programmable-automaton argument). https://www.techradar.com/news/the-forgotten-history-of-the-800-year-old-robot
  3. Muslim Heritage, "The Mechanics of Banu Musa in the Light of Modern System and Control Engineering." https://muslimheritage.com/the-mechanics-of-banu-musa-in-the-light-of-modern-system-and-control-engineering/
  4. Encyclopaedia Britannica, "Hero of Alexandria." https://www.britannica.com/biography/Heron-of-Alexandria