Ancient Greeks created complex mechanical clocks and measuring devices, including the Antikythera mechanism, which was used to calculate the positions of the sun and moon.