A device discovered in the wreckage of a sunken Portuguese armada ship has been declared by Guinness World Records as the earliest of its kind.