Zhang Heng (Chinese: Zhang Heng ; AD 78-139), formerly romanized as Chang Heng, was a Han Chinese polymath from Nanyang who lived during the Han dynasty. Educated in the capital cities of Luoyang and Chang'an, he achieved success as an astronomer, mathematician, scientist, engineer, inventor, geographer, cartographer, artist, poet, statesman, and literary scholar. Zhang Heng began his career as a minor civil servant in Nanyang. Eventually, he became Chief Astronomer, Prefect of the Majors for Official Carriages, and then Palace Attendant at the imperial court.

Zhang Heng is often credited with inventing the first odometer, an achievement also attributed to Archimedes (c. 287-212 BC) and Heron of Alexandria (fl. AD 10-70). Similar devices were used by the Roman and Han-Chinese empires at about the same period. By the 3rd century, the Chinese had termed the device the ji li gu che, or "li-recording drum carriage" (the modern measurement of li = 500 m/1640 ft).  Ancient Chinese texts describe the mechanical carriage's functions; after one li was traversed, a mechanically driven wooden figure struck a drum, and after ten li had been covered, another wooden figure struck a gong or a bell with its mechanically operated arm. However, there is evidence to suggest that the invention of the odometer was a gradual process in Han Dynasty China that centered on the "huang men"--court people (i.e. eunuchs, palace officials, attendants and familiars, actors, acrobats, etc.) who followed the musical procession of the royal "drum-chariot". There is speculation that at some time during the 1st century BC the beating of drums and gongs was mechanically driven by the rotation of the road wheels. This might have actually been the design of Luoxia Hong (c. 110 BC), yet by at least 125 the mechanical odometer carriage was already known, as it was depicted in a mural of the Xiao Tang Shan Tomb.  The south-pointing chariot was another mechanical device credited to Zhang Heng. It was a non-magnetic compass vehicle in the form of a two-wheeled chariot. Differential gears driven by the chariot's wheels allowed a wooden figurine (in the shape of a Chinese state minister) to constantly point to the south, hence its name. The Song Shu (c. AD 500 ) records that Zhang Heng re-invented it from a model used in the Zhou Dynasty era, but the violent collapse of the Han Dynasty unfortunately did not allow it to be preserved. Whether Zhang Heng invented it or not, Ma Jun (200-265) succeeded in creating the chariot in the following century. Answer this question using a quote from the following article:

What is the south-point chariot?
The south-pointing chariot was another mechanical device credited to Zhang Heng.