range : 3 to 8ft
accuracy more like 0.5 - 2 ft something like that
moving objects , specifically a person moving towards it
it's a hs-422 servo, the servo is used at a joint to rotate an arm, it's basically the elbow joint.
Keep in mind, though, that these sensors work best with hard, flat, stationary objects like walls. Soft, rounded, moving objects, like people will be harder to get an accurate reading on.
If all you are interested in doing is waving as a person gets near the sensor, the ultrasonic sensor will work. If you're aiming for greater precision, the accuracy of the output may disappoint you.