599 Menlo Drive, Suite 100
Rocklin, California 95765, USA
Office:
(916) 624-8333
Fax:
(916) 624-8003
General:
info@parallax.com
Technical:
support@parallax.com
Web Site:
www.parallax.com
Educational:
www.stampsinclass.com
QTI Line Sensor
(#550-27401)
Introduction
The Parallax QTI senor uses a QRD1114 infrared (IR) reflective sensor to determine
the reflectivity of the surface below it. When the QTI sensor is over a dark surface, the
reflectivity is very low; when the QTI is over a light surface, the reflectivity is very
high and will cause a different reading from the sensor.
Features
•
•
•
•
•
Phototransistor Output
No contact surface sensing
Unfocused for sensing diffused surfaces
Compact Package
Daylight filter on sensor
Specifications
ABSOLUTE MAXIMUM RATINGS (
T
A
=
25
c unless otherwise specified)
Parameter
Symbol
Rating
Units
Operating Temperature
Storage Temperature
Lead Temperature (Solder Iron)
(2,3)
Lead Temperature (Solder
Flow)
(2,3)
EMITTER
Continuous Forward Current
Reverse Voltage
Power Dissipation
(1)
SENSOR
Collector-Emitter Voltage
Emitter-Collector Voltage
Power Dissipation
(1)
T
OPR
T
STG
T
SOL-l
T
SOL-F
l
F
V
R
P
D
V
CEO
V
ECO
P
D
-40 to +85
-40 to +85
Celsius
Celsius
Celsius
Celsius
240 for 5 sec
260 for 10 sec
50
5
100
30
mA
V
mW
V
V
mW
100
Kit Packing List
1. This manual
2. QTI sensor unit
Setting Up
Description
The QTI sensor is activated by placing 5 V (Vdd) on the W pin. This will cause
current to flow through the 470 ohm resistor to the LED side of the QRD1114.
IR light reflecting of the surface below will cause a change in the ability for the
current to flow through the phototransistor side of the QRD1114. The
transistor, in effect, behaves like an IR controlled resistance.
Demonstration Programs
' -----[ Title ]------------------------------------------
----------------------
' Mini-Sumo 3.1 : Line Sensor Test
' {$STAMP BS2}
' -----[ I/O Definitions ]--------------------------------
----------------------
LineSnsrPwr
CON 10 ' line sensor power
LineSnsrIn
CON 9 ' line sensor input
' -----[ Constants ]--------------------------------------
----------------------
ClrEOL
CON 11 ' clear to end of line (DEBUG)
' -----[ Variables ]--------------------------------------
----------------------
Sense
VAR Word ' sensor raw reading
' -----[ Main Code ]--------------------------------------
----------------------
Read_Sensor:
HIGH LineSnsrPwr ' activate sensor
HIGH LineSnsrIn ' discharge QTI cap
PAUSE 1
RCTIME LineSnsrIn, 1, Sense ' read sensor value
LOW LineSnsrPwr ' deactivate sensor
Display:
DEBUG Home
DEBUG "Sensor ", CR
DEBUG "-----", CR
DEBUG DEC Sense, ClrEOL
PAUSE 100
GOTO Read_Sensor
Dimensions
PCB Length: 1”
Overall Length: 1 ¼”
PCB Width: 3/8”
Thickness: 5/16”
Trouble Shooting Tips
Make sure that the QTI sensor is properly installed by matching up the pins. The “B”
connects to Vss. The “R” connects to pin 9 of the BASIC Stamp and the “W” connects
to pin 10 of the BASIC Stamp.
BASIC Stamp support:
Web:
www.parallax.com
E-mail:
support@parallax.com
Fax: (916) 624-8003
Phone: (916) 624-8333