28125 Parallax Inc, 28125 Datasheet - Page 219

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
Your Turn – Condensing the Program
This program does not need the
follow. If you deliver no pulses, the Boe-Bot will sit still, just as it should when you
deliver pulses using 750 for the
ACTIVITY #4: GETTING MORE INFORMATION FROM YOUR
PHOTORESISTORS
The only information the BASIC Stamp was able to gather from the photoresistor divider
circuits was whether the light level was above or below a threshold. This activity
introduces a different circuit that the BASIC Stamp can monitor, and actually gather
enough information from it to determine relative light levels. The value the BASIC
Stamp gets from the circuit will range from small numbers, indicating bright light, to
large numbers, indicating low light. This means no more manually replacing series
resistors based on light levels. Instead, you will be able to adjust your program to look
for different ranges of values.
Introducing the Capacitor
A capacitor is a device that stores charge, and it is a fundamental building block of many
circuits. How much charge the capacitor tends to store is measured in farads (F). A farad
is a very large value that’s not practical for use with the Boe-Bot. The capacitors you
will use in this activity store fractions of millionths of farads. A millionth of a farad is
called a microfarad, and it’s abbreviated µF. The capacitor you will use in this exercise
stores one one-hundredth of a millionth of a farad. That’s 0.01 µF.
Try deleting (or commenting) this code block.
Run the modified program.
Can you detect any difference in the Boe-Bot’s behavior?
ELSE
PULSOUT 13, 750
PULSOUT 12, 750
PULSOUT Duration
ELSE
condition or the two
argument.
PULSOUT
commands that

Related parts for 28125