28122 Parallax Inc, 28122 Datasheet - Page 170

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
Q2. No, it’s fixed. The variable resistance is between either outer terminal and the
Q3. A capacitor is like a rechargeable battery in that it can be charged up to hold
Q4. You can measure the time it takes for the capacitor to discharge (or charge)
Q5. As R gets larger, the RC discharge time increases in direct proportion to the
Q6. The
E1. new cap = 10 x old cap value
P1. Activity #4 with bi-color LED added.
wiper (middle) terminal.
voltage. The difference is that it only holds a charge for a very small amount of
time.
This time is related to the resistance and capacitance. If the capacitance is
known and the resistance is variable, then the discharge time gives an indication
of the resistance.
increase in R. As R gets smaller, the RC discharge time decreases in direct
proportion to the decrease in R.
' What's a Microcontroller - Ch5Prj01_ControlServoWithPot.bs2
' Read potentiometer in RC-time circuit using RCTIME command.
' The time variable ranges from 126 to 713, and an offset of 330 is
' needed.
' Bi-color LED on P12, P13 tells direction of servo rotation:
' green for CW, red for CCW, off when servo is holding position.
' {$STAMP BS2}
' {$PBASIC 2.5}
DEBUG "Program Running!"
time
potentiometer
prevTime
DO
P13
P12
CON
directive substitutes a name for a number.
470 Ω
VAR
VAR
= 10 x 0.5µF
= 5µF
Word
Word
1
2
Potentiometer schematic from Figure 5-11
p. 150, servo from Figure 4-3 p. 106, bi-
color LED from Figure 2-19 p. 63, with
P15 and P14 changed to P13 and P12.
' time reading from
' previous reading

Related parts for 28122