28125 Parallax Inc, 28125 Datasheet - Page 188

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
ACTIVITY #2: FIELD TESTING THE WHISKERS
Assume that you may have to test the whiskers at some later time away from a computer.
Since the Debug Terminal won’t be available, what can you do? One solution would be
to program the BASIC Stamp so that it sends an output signal that corresponds to the
input signal it’s receiving. This can be done with a pair of LED circuits and a program
that turns the LEDs on and off based on the whisker inputs.
Parts List:
Building the LED Whisker Testing Circuits
(2) Resistors - 220 Ω (red-red-brown)
(2) LEDs – Red
P10
P1
Disconnect power from your board and servos.
If you have a Board of Education, add the circuit shown in Figure 5-9 with the
help of the wiring diagram in Figure 5-10 (page 175).
If you have a HomeWork Board, add the circuit shown in Figure 5-9 with the
help of the wiring diagram in Figure 5-11 (page 176).
Remember that an LED is a one way current valve. If it is plugged in backwards, it will
not let current pass through, and so will not emit light. For the LED to emit light when the
BASIC Stamp sends a high signal, the LED's anode must be connected to the 220 Ω
resistor, and its cathode must be connected to Vss. See Figure 5-10 or Figure 5-11.
220
Vss
220
LED
Vss
LED
Figure 5-9
LED Whisker
Testing
Schematic
Add this LED
circuit.

Related parts for 28125