Answer:
There are many accounts of the invention of the compass. Some scientists attribute it to the Chinese or even the Italians. But most scientists agree that the compass was made by Iranians. The Iranian compass, unlike the Chinese compass, which had 24 directions, had 32 directions. The number 32, in addition to showing the accuracy of the Iranian compass, indicates the familiarity of Iranians with numbers in base 2 and their advanced mathematical knowledge. According to ancient Persian legends, Esfandiar Rouin used an iron arrow when moving to fight the dragon, which always showed him a fixed direction. In the first Islamic period, the qibla was added to the pole by the Iranians so that the right direction of the qibla could always be found in any situation. The Iranians made full use of this invention and introduced it to other Muslims. The Persian letters of the compass components in the Arabic language are an indisputable historical evidence that the use of the compass has reached other Muslim nations through the Iranians.