GP2Y0A21YK0F : OSS Spec and Program Download

OSS specifications and program downloads for GP2Y0A21SK0F can be found in the table below.
OSS = OSS-EC(Open Source Software for Embedded Components) = Sample program

Sharp : GP2Y0A21SK0F : Distance measurement sensor
MPU interface : ADC
OS Supported : Mbed , Arduino & Free-RTOS

To view the OSS detailed specifications, click on the number in the table below. To download program, click on the Download file name in the table below:

Update History.

NumberMP TypeOS TypeCA*CC**FilterDiagnosticsDownload
00000009 ADCMbedfloat typenon-linear

00000010ADCMbedfloat typenon-linearSMA

00000011ADCMbedfloat typenon-linearEMA

00000012ADCMbedfloat typenon-linearWMA

00000013ADCMbedfloat typenon-linearSP Max/Min
CP Max/Min
MP fault

00000014ADCMbedfloat typenon-linearSMASP Max/Min
CP Max/Min
MP fault

00000015ADCMbedfloat typenon-linearEMASP Max/Min
CP Max/Min
MP fault

00000016ADCMbedfloat typenon-linearWMASP Max/Min
CP Max/Min
MP fault

00000025ADCMbedinteger typenon-linear

00000026ADCMbedinteger typenon-linearSMA

00000027ADCMbedinteger typenon-linearEMA

00000028ADCMbedinteger typenon-linearWMA

00000029ADCMbedinteger typenon-linearSP Max/Min
CP Max/Min
MP fault

00000030ADCMbedinteger typenon-linearSMASP Max/Min
CP Max/Min
MP fault

00000031ADCMbedinteger typenon-linearEMASP Max/Min
CP Max/Min
MP fault

00000032ADCMbedinteger typenon-linearWMASP Max/Min
CP Max/Min
MP fault

00000104ADCArduino  
Free-RTOS
float typenon-linearSP Max/Min
CP Max/Min
MP fault

00000105ADCArduino  
Free-RTOS
float typenon-linearSMASP Max/Min
CP Max/Min
MP fault

00000106ADCArduino  
Free-RTOS
float typenon-linearEMASP Max/Min
CP Max/Min
MP fault

00000107ADCArduino  
Free-RTOS
float typenon-linearWMASP Max/Min
CP Max/Min
MP fault

* CA : Calculation accuracy   ** CC : Characteristic Conversion

Components Spec

Components Software IF Spec

OSS-EC Site