Skip to content
Arduino library for the Sharp GP2Y0A21YK IR Distance sensor
C++ C Other
Branch: master
Clone or download
Latest commit b3cba36 Nov 12, 2015
Type Name Latest commit message Commit time
Failed to load latest commit information.
Calculations added calculation for linear functions to spreadsheet Mar 20, 2012
DistanceGP2Y0A21YK build for Arduino 1.6. Apr 5, 2015
Documentation added LUT calculations spreadsheet Jan 22, 2012 Create Nov 12, 2015


Library for the Sharp GP2Y0A41SK IR Distance sensor.

This library uses a lookup table in program memory to convert the ADC values to distance values. This library was a test to evaluate code size and processing time.

An alternative library, where the board does the actual calculation on the CPU can be found here

You can’t perform that action at this time.