28122 Parallax Inc, 28122 Datasheet - Page 292

KIT WHAT'S A MICRO:PARTS ONLY

28122

Manufacturer Part Number
28122
Description
KIT WHAT'S A MICRO:PARTS ONLY
Manufacturer
Parallax Inc
Datasheet

Specifications of 28122

Accessory Type
Parts Kit
Product
Microcontroller Accessories
Core Processor
PIC16C57c
Flash
128 Bytes
Operating Supply Voltage
9 V
Board Size
31 mm x 16 mm
For Use With/related Products
Board of Education Full Kit
Lead Free Status / RoHS Status
Lead free / RoHS Compliant
ACTIVITY #2: BUILDING AND TESTING EACH RC-TIME CIRCUIT
Now that the two pushbutton circuits are built and tested, you can move on to the RC-
time circuits.
Extra Parts for Potentiometer and Photoresistor Circuits
(2) Resistors – 220 Ω (red-red-brown)
(2) Capacitors – 0.1 µF
(4) Jumper wires
(1) Photoresistor
(1) Potentiometer – 10 kΩ
Building the Potentiometer Circuit
Figure 10-4
Adding a Potentiometer Circuit
Testing the Potentiometer Circuit
You can test this circuit using ReadPotWithRcTime.bs2. This program was first used in
Chapter #5 to read the potentiometer circuit.
Example Program: ReadPotWithRcTime.bs2
P7
Add the potentiometer circuit shown in Figure 10-4 to the project.
Enter and run the ReadPotWithRcTime.bs2.
220
nc
Pot
10
Vss
kΩ
0.1 µF
P15
P14
P13
P12
P11
P10
P9
P8
P7
P6
P5
P4
P3
P2
P1
P0
X2
X3
Vdd
Vin
Vss

Related parts for 28122