Grove - Infrared Reflective
Sensor User Manual
Release date:
Version:
2015/9/22
1.0
Wiki:http://www.seeedstudio.com/wiki/Grove_-
_Infrared_Reflective_Sensor
Bazaar:
http://www.seeedstudio.com/depot/Grove-Infrared-Reflective-
Sensor-p-1230.html?cPath=25_31
1
Document Revision History
Revision
1.0
Date
Sep 22, 2015
Author
Jiankai.li
Description
Create file
2
Contents
Document Revision History ·····································2
····································
1. Introduction ············································2
···········································
2. Specification ··········································· 3
···········································
3. Usage ··············································· 4
···············································
With Arduino ············································ 4
············································
3.1.1
Demo 1: Line Following ···································
·································· 4
3.1.2
Demo 2: Rotary Speed Detection ······························
····························· 5
3.1.3
With Raspberry Pi ······································ 8
······································
4. Resources ·············································
············································10
3
Disclaimer
For physical injuries and possessions loss caused by those reasons which are not related to
product quality, such as operating without following manual guide, natural disasters or force
majeure, we take no responsibility for that.
Under the supervision of Seeed Technology Inc., this manual has been compiled and published
which covered the latest product description and specification. The content of this manual is
subject to change without notice.
Copyright
The design of this product (including software) and its accessories is under tutelage of laws. Any
action to violate relevant right of our product will be penalized through law. Please consciously
observe relevant local laws in the use of this product.
1
1. Introduction
The reflectivity of infrared light varies with the color and distance of the reflecting surface.
According to this principle, Grove - Infrared Reflective Sensor utilizes a RPR220 reflective
photosensor module to detect color and distance. When a light-colored object approaches,the
signal intensity received by infrared reflective sensor increases and the indicator LED on board
turns red. When a dark-colored object approaches, the intensity decreases and the LED turns off.
This sensor is a basic and widely used part in applications such as line-following cars, rotary speed
detection, auto data logging on utility meters or other situations where color or distance contrast is
sharp.
2