EasyManuals Logo

Parallax Boe-Bot User Manual

Parallax Boe-Bot
360 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Page #304 background imageLoading...
Page #304 background image
Page 290 · Robotics with the Boe-Bot
for the pair that is now over the electrical tape should increase to 4 or 5. Keep in mind
that if you move the Boe-Bot toward its left, the right detectors should increase in value,
and if you move the Boe-Bot toward its right, the left detectors should show the higher
value.
Adjust your IR LED/detector pairs until the Boe-Bot passes this last test. Then
you will be ready to try following the stripe.
Vdd VssVin
Board of Education
© 2000-2003
Rev C
X4 X5
+
www.stampsinclass.com
Reset
S
T
A
M
P
S
C
L
A
S
S
in
Board of Education
Pwr
9 Vdc
Battery
6-9VDC
Sout
Sin
ATN
Vss
P0
P1
P2
P3
P4
P5
P6
P7
P11
P9
P8
Vin
P10
P15
P14
P13
P12
Vdd
Rst
Vss
Bla c k
Red
X4 X5
15 14 13 12
1
X1
Vss
P1
P3
P5
P7
P9
P11
P13
P15
Vin
Vss
P0
P2
P4
P6
P8
P10
P12
P14
Vdd
U1
TM
0 1 2
© 2000-2 003
Vdd
P15
P14
P13
P12
P11
P10
P9
P8
P7
P6
P5
P4
P3
P2
P1
P0
X2
X3
Vdd VssVin
P15
P14
P13
P12
P11
P10
P9
P8
P4
P2
P1
P0
P7
P6
P5
P3
X2
X3
Vdd VssVin
Rev C
+
Figure 8-12
Stripe Scan
Test
IR pairs close-up Top view of Boe-Bot straddling the stripe
Programming for Stripe Following
You will only need to make a few small adjustments to FollowingBoeBot.bs2. from page
282 to make it work for following a stripe. First, the Boe-Bot should move toward
objects closer than the
SetPoint and away from objects further from the SetPoint.
This is the opposite of how FollowingBoeBot.bs2 behaved. To reverse the direction the
Boe-Bot moves when it senses that the object is not at the
SetPoint distance, simply
change the signs of
Kpl and Kpr. In other words, change Kpl from -35 to 35, and change
Kpr from 35 to -35. You will need to experiment with your SetPoint. Values from 2 to
4 tend to work best. This next example program will use a
SetPoint of 3.
Example Program: StripeFollowingBoeBot.bs2
Open FollowingBoeBot.bs2 and save it as StripeFollowingBoeBot.bs2.
Change the
SetPoint declaration from SetPoint CON 2 to SetPoint CON 3.
Change
Kpl from -35 to 35.

Table of Contents

Other manuals for Parallax Boe-Bot

Questions and Answers:

Question and Answer IconNeed help?

Do you have a question about the Parallax Boe-Bot and is the answer not in the manual?

Parallax Boe-Bot Specifications

General IconGeneral
BrandParallax
ModelBoe-Bot
CategoryRobotics
LanguageEnglish