The Mercury program got massive attention when America finally got their efforts safely off the ground, and Apollo naturally ... both optical beacons and a radar transponder.
But in the days of Apollo, there was no Arduino. In fact, there were no Integrated Circuits. And Apollo missions went all the way to the moon- far too distant for relatively simple Radar measurements.