Parallax Boe-Bot Student Manual page 62

Hide thumbs Also See for Boe-Bot:
Table of Contents

Advertisement

Page 48 · Robotics with the Boe-Bot
LED Test Circuits
If you completed the What's a Microcontroller? text, you are no doubt very familiar
with the circuit shown in Figure 2-4. The left side of this figure shows the circuit
schematic, and the right side shows a wiring diagram example of the circuit built on your
board's prototyping area.
Build the circuit shown in Figure 2-4.
Make sure that the shorter pins on each LED (the cathodes) are plugged into
black sockets labeled Vss.
Make sure the longer pins (the anodes, marked with a ⊕ in the wiring diagram)
are connected to the white breadboard sockets exactly as shown.
P13
470
P12
470
Vss
What's an I/O pin? I/O stands for input/output. The BASIC Stamp has 24 pins, 16 of which
are I/O pins. In this text, you will program the BASIC Stamp to use I/O pins as outputs to
make LED lights turn on/off, control the speed and direction the Parallax Continuous
Rotation servos turn, make tones with speakers, and prepare sensors to detect light and
objects. You will also program the BASIC Stamp to use I/O pins as inputs to monitor
sensors that indicate mechanical contact, light level, objects in the Boe-Bot's path, and even
their distance.
New to building circuits? See Appendix D: Breadboarding Rules.
X3
P15
P14
P13
P12
P11
P10
P9
P8
P7
LED
LED
P6
P5
Vss
P4
P3
P2
P1
P0
X2
Figure 2-4
Vdd
Vin
Vss
Two LEDs
+
Connected
+
to BASIC
Stamp I/O
Pins P13
and P12
Schematic
(left) and
wiring
diagram
(right).

Advertisement

Table of Contents
loading
Need help?

Need help?

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

Questions and answers

Table of Contents

Save PDF