# Defective Ultrasonic Range Sensor

**URL:** <https://xrp.discourse.group/t/defective-ultrasonic-range-sensor/380>\
**Category:** Support\
**Created:** [June 5, 2024, 2:07am UTC](https://xrp.discourse.group/t/defective-ultrasonic-range-sensor/380 "2024-06-05T02:07:54Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![mellipar000](https://avatars.discourse-cdn.com/v4/letter/m/919ad9/32.png) [@mellipar000](https://xrp.discourse.group/u/mellipar000)\
**Post date:** [June 5, 2024, 2:07am UTC](https://xrp.discourse.group/t/defective-ultrasonic-range-sensor/380/1 "2024-06-05T02:07:54Z")

</div>

I recently put together the XRP robot, but am having an issue with the ultrasonic range sensor. When running installation\_verification.py, the robot does not output any sensor data. The only two values it ever outputs are 0.0 and 65535.0. I have ruled out a defective cable as the cable connecting the ultrasonic range sensor to the range port on the XRP Control Board works fine on the line following the sensor. I have triple-checked the wiring and have found no issues. The two possibilities I have in mind are a defective ultrasonic range sensor or a defective range port. Does anyone have any ideas on how to fix this?

 ![Screenshot 2024-06-04 220438](https://canada1.discourse-cdn.com/flex011/uploads/xrp/original/1X/53cd61d76546d0f0128a689dc9d2d0c4f5761559.png)
