Phi Robotics GP2Y0A21YK0F User manual

Type
User manual
Version 1.1
Sharp IR Sensor
GP2Y0A21YK0F
Phi Robotics Research Pvt. Ltd.
www.phi-robotics.com
Product Manual
Table of Contents
1 Introduction ................................................................................................................................................... 2
2 Features ......................................................................................................................................................... 2
3 Specifications ................................................................................................................................................. 2
4 Hardware Connections ................................................................................................................................... 2
5 Pseudo Code ................................................................................................................................................... 3
6 Reference ....................................................................................................................................................... 3
1 Introduction
Sharp GP2Y0A21YK0F IR sensor is distance measuring unit, can be used for obstacle detection for robots. It
has measuring range of 10 to 80 cm. The sensor gives output voltage proportional to the distance measured.
The sensor adopts triangulation method hence cannot be easily influenced by variety of reflectivity of object
or ambient temperature and provides reliable readings. The module can be used in obstacle detection for
robots, sensor for energy saving, amusement equipment (like arcade game machine) and many such
applications. Its high obstacle detection range makes this sensor an excellent alternative to sonar in some
applications.
2 Features
Composed of an integrated combination of PSD (position sensitive detector), IR LED (Infrared light
emitting diode) and signal processing circuit
Small compact size and easy to use
3 Specifications
Operating voltage: 5V
Distance measuring range: 10 to 80 cm
Current consumption: Typ. 30mA
Output type: analog voltage
Update period: 38 ± 10 ms
4 Hardware Connections
Figure 1 - GP2Y0A21YK0F pin layout
Sharp GP2Y0A21YK0F IR sensor has a 3 pin JST connector. The connector power supply pins and an analog
output voltage pin (Vo). Output voltage can be read by microcontroller ADC. Figure 1 shows pin layout for the
sensor. Obstacle distance can be calculated from output voltage using following equation.
  

5 Pseudo Code
6 Reference
GP2Y0A21YK0F Datasheet: http://www.sharpsma.com/webfm_send/1489
Phi Robotics Research Pvt. Ltd.
www.phi-robotics.com
  • Page 1 1
  • Page 2 2
  • Page 3 3
  • Page 4 4
  • Page 5 5

Phi Robotics GP2Y0A21YK0F User manual

Type
User manual

Ask a question and I''ll find the answer in the document

Finding information in a document is now easier with AI