28125 Parallax Inc, 28125 Datasheet - Page 287
28125
Manufacturer Part Number
28125
Description
TEXT ROBOTICS
Manufacturer
Parallax Inc
Datasheet
1.28125.pdf
(360 pages)
Specifications of 28125
Title
Robotics with the Boe-Bot
Product
Microcontroller Accessories
Lead Free Status / RoHS Status
Not applicable / Not applicable
- Current page: 287 of 360
- Download datasheet (5Mb)
' -----[ Title ]--------------------------------------------------------------
' Robotics with the Boe-Bot - TestLeftFrequencySweep.bs2
' Test IR detector distance responses to frequency sweep.
' {$STAMP BS2}
' {$PBASIC 2.5}
√
√
√
√
Enter, save, and run TestLeftFrequencySweep.bs2.
Use a sheet of paper or card facing the IR LED/detector to test the distance
detection.
Start with the sheet very close to the IR LED, perhaps ¼ in (or 1 cm) away from
the IR LED. Your Zone in the Debug Terminal should either be 0 or 1.
Gradually move the sheet of paper away from the IR LED and make a note of
each distance that causes the zone value to get larger.
Keep in mind that these distance measurements are relative and not necessarily
precise or evenly spaced. However, they will give the Boe-Bot a good enough sense of
object distance for following, tracking, and other activities.
Zones 1-4 typically fall in the range of 6 to 12 in (15 to 30 cm) for the shielded LEDs with a 1
kΩ resistor. Older shrink wrap LED distances will be less. As long as objects can be
detected up to 4 in (10 cm) away, the experiments in this chapter will work. If the distance
detector range is less than that, which is likely if you have shrink wrapped IR LEDS, try
reducing your series resistance from 1 kΩ to 470 Ω or 220 Ω.
Figure 8-3
Testing
Distance
Detection
Output
Examples
' Stamp directive.
' PBASIC directive.
Related parts for 28125
Image
Part Number
Description
Manufacturer
Datasheet
Request
R
Part Number:
Description:
Microcontroller Modules & Accessories DISCONTINUED BY PARALLAX
Manufacturer:
Parallax Inc
Part Number:
Description:
BOOK UNDERSTANDING SIGNALS
Manufacturer:
Parallax Inc
Datasheet:
Part Number:
Description:
COMPETITION RING FOR SUMOBOT
Manufacturer:
Parallax Inc
Datasheet:
Part Number:
Description:
TEXT INFRARED REMOTE FOR BOE-BOT
Manufacturer:
Parallax Inc
Datasheet:
Part Number:
Description:
BOARD EXPERIMENT+LCD NX-1000
Manufacturer:
Parallax Inc
Datasheet:
Part Number:
Description:
CONTROLLER 16SERVO MOTOR CONTROL
Manufacturer:
Parallax Inc
Datasheet:
Part Number:
Description:
BASIC STAMP LOGIC ANALYZER
Manufacturer:
Parallax Inc
Datasheet:
Part Number:
Description:
IC MCU 2K FLASH 50MHZ SO-18
Manufacturer:
Parallax Inc
Datasheet: