An astrarium, also called a planetarium, is the mechanical representation of the cyclic nature of astronomical objects in one timepiece. It is an astronomical clock.

The first astraria were mechanical devices. Archimedes is said to have used a primitive version that could predict the positions of the Sun, the Moon, and the planets. On May 17, 1902, an archaeologist named Valerios Stais discovered that a lump of oxidated material, which had been recovered from a shipwreck near the Greek island of Antikythera, held within it a mechanism with cogwheels.

This mechanism, known as the Antikythera mechanism, was recently redated to end of the 2nd century BCE. Extensive study of the fragments, using X-rays, has revealed enough details (gears, pinions, crank) to enable researchers to build partial replicas of the original device. Engraved on the major gears are the names of the planets, which leaves little doubt as to the intended use of the mechanism.

More Info: en.wikipedia.org