28123 Parallax Inc, 28123 Datasheet - Page 56

TEXT WHAT'S A MICROCONTROLLER

28123

Manufacturer Part Number
28123
Description
TEXT WHAT'S A MICROCONTROLLER
Manufacturer
Parallax Inc
Type
Programmingr
Datasheet

Specifications of 28123

Style
Book
Title
What's a Microcontroller?
Contents
Whats a Microcontroller? Text
Product
Microcontroller Accessories
Core Processor
PIC16C57c
Flash
128 Bytes
Operating Supply Voltage
9 V
Board Size
31 mm x 16 mm
Lead Free Status / RoHS Status
Not applicable / Not applicable
You will also experiment with programs that make the BASIC Stamp do this at different
speeds.
There are two big differences between changing the connection manually and having the
BASIC Stamp do it. First, the BASIC Stamp doesn’t have to cut the power when it
changes the LED circuit’s supply from Vdd to Vss. Second, while a human can make
that change several times a minute, the BASIC Stamp can do it thousands of times per
second!
LED Test Circuit Parts
Same as Activity #1.
Connecting the LED Circuit to the BASIC Stamp
The LED circuit shown in Figure 2-11 is wired almost the same as the circuit in the
previous exercise. The difference is that the resistor’s lead that was manually switched
between Vdd and Vss is now plugged into a BASIC Stamp I/O pin.
SOUT
VSS
ATN
SIN
P0
P1
P2
P3
P4
P5
P6
P7
10
12
11
1
2
3
4
5
6
7
8
9
BS2
BS2-IC
Vdd
Vss
Disconnect power from your Board of Education or HomeWork Board.
Modify the circuit you were working with in Activity #1 so that it matches
Figure 2-11.
24
23
22
20
19
18
17
16
15
14
13
21
VSS
RES
VDD (+5V)
P15
P14
P13
P12
P11
P10
P9
P8
VIN
SOUT
ATN
VSS
SIN
P0
P1
P2
P3
P4
P5
P6
P7
10
12
11
1
2
3
4
5
6
7
8
9
BS2
BS2-IC
Vdd
Vss
24
23
22
20
19
18
17
16
15
14
13
21
VIN
VSS
RES
VDD (+5V)
P15
P14
P13
P12
P11
P10
P9
P8
Figure 2-10
BASIC Stamp
Switching
The BASIC
Stamp can be
programmed to
internally
connect the
LED circuit’s
input to Vdd or
Vss.

Related parts for 28123