28123 Parallax Inc, 28123 Datasheet - Page 292

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
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 28123