28125 Parallax Inc, 28125 Datasheet - Page 242

TEXT ROBOTICS

28125

Manufacturer Part Number
28125
Description
TEXT ROBOTICS
Manufacturer
Parallax Inc
Datasheet

Specifications of 28125

Title
Robotics with the Boe-Bot
Product
Microcontroller Accessories
Lead Free Status / RoHS Status
Not applicable / Not applicable
Exercises
Projects
2. Does an I/O pin have any effect on the circuit when it’s set to input? What
3. What does threshold voltage mean? What’s the threshold voltage of a BASIC
4. Referring to Figure 6-4 on page 197, what causes Vo to rise above or fall below
5. How does the program ShadowGuidedBoeBot.bs2 differ from the program
6. What is a constant declaration? What does it do? How can you use one in a
7. How are math expressions evaluated in PBASIC?
8. What are the two examples in this chapter where PBASIC was used to calculate
1. Calculate Vo for Figure 6-4 on page 197 if R is 10 kΩ. Repeat for R = 30 kΩ.
2. If Vo in Figure 6-4 on page 197 is 1.4 V, what’s the value of R? Repeat for Vo
3. Assume you have three variable values:
1. With your Boe-Bot’s photoresistors looking down in front of it, develop a
causes the input register for an I/O pin to hold a 1 or 0 when it’s set to input?
Stamp I/O pin?
a BASIC Stamp I/O pin’s threshold voltage? What is it about the circuit that
causes Vo to change value?
RoamingWithPhotoresistorDividers.bs2? What does this change in the Boe-
Bot’s performance?
program?
an average? How are they different? How are they the same?
= 1 V and Vo = 3 V.
thirdValue
variable named
value in a variable named
needed to make your command able to run in a program, first with
and
names aliased as the other.
program that makes your Boe-Bot recognize the difference between black and
white. Find a large white surface and place dark-black sheets of paper on it.
Develop a program that makes the Boe-Bot avoid the black sheets of paper.
Hints: Make sure to test and understand what the Boe-Bot sees when it is
focused on a black sheet of paper and what it sees when it is focused on a white
background. Use example programs from the last three activities in this chapter.
The RC decay time circuit and programs will be much more helpful for making
myScaledAverage
. Write a command that takes the average of these three values in a
myAverage
as separate variables, then with one of these variable
myScaledAverage
. Write a command that stores 7/8 of the average
firstValue
. Write the variable declarations
,
secondValue
myAverage
, and

Related parts for 28125