Sharp 10-80cm Infrared Distance Sensor (GP2Y0A21YK0F)Sold By UPGRADE INDUSTRIES, Ships from United States of America
Medium range Sharp IR sensors are used to measure the range to distant objects at ranges up to 80 cm. These work great on robots for obstacle detection and navigation and can be mounted on servos f...Read More…
Medium range Sharp IR sensors are used to measure the range to distant objects at ranges up to 80 cm. These work great on robots for obstacle detection and navigation and can be mounted on servos for radar-like object detection.
Each sensor also comes with wires.
Formulas for Converting Voltage to Range
Try some of these algorithms to convert the measured analog voltage to range in centimeters on a device like an BoardX or Arduino:
From 8-bit ADC to Distance in Centimeters:
distance = 4 * 12343.85 * (8bit reading)^-1.15
From 10-bit ADC to Distance in Centimeters:
distance = 12343.85 * (10bit reading)^-1.15
From Voltage to Distance in Centimeters:
distance (cm) = 27.86 (voltage reading)^-1.15
If you need extra analog to digital conversion channels to read several of these, we'd highly recommend checking out our ADC-X Analog to Digital Converter Add-on. It gives you 8 channels of analog data via I2C with 8bits of quick precision.
We recognize our top users by making them a Tindarian. Tindarians have access to secret & unreleased features.
We look for the most active & best members of the Tindie community, and invite them to join. There isn't a selection process or form to fill out. The only way to become a Tindarian is by being a nice & active member of the Tindie community!