Written in 1206 by polymath al-Jazari, covering hundreds of machines with instructions on how to build them, including waterwheel, watermill, giant water clock, elephant and castle shaped clock, fountain, candle clock, musical automata, and water flute