 It was not a clockwork mechanism.Al-Zarqali, was an Arab Muslim instrument maker, mathematician, and astronomer.He wrote a treatise on the construction of his improved equatorium in around 1080/1081 CE.