Early astronomical devices