28129 Parallax Inc, 28129 Datasheet - Page 160

TEXT BASIC ANALOG & DIGITAL

28129

Manufacturer Part Number
28129
Description
TEXT BASIC ANALOG & DIGITAL
Manufacturer
Parallax Inc
Type
Programmingr
Datasheet

Specifications of 28129

Style
Book
Title
Basic Analog and Digital
Contents
Basic Analog and Digital Text
Product
Microcontroller Accessories
Lead Free Status / RoHS Status
Not applicable / Not applicable
Do the Math
The RC time measurements along with the exponential decay equation can be a powerful
tool for determining an unknown resistance or capacitance.
Since we'll use PBASIC to make the BASIC Stamp tell us the measured amount of time,
t, we have the following information shown in Table 8-1
Algebra can be applied to the exponential decay equation to solve for R or C. First, take
the natural log of both sides of the equation. It eliminates the e term.
Rearranging terms yields:
ln
V
R
P
(
Values
×
15
V
t
C = Can solve for
R = Can solve for
VP15 = 1.4 volts
Vdd = 5.0 volts
C
P
=
15
Table 8-1: Known Values at the Instant VP15 Crosses the
t = Known
=
e
V
)
=
ln
dd
ln
(
2.718
V
×
dd
e
V
R
)
dd
×
t
C
×
ln
e
(
V
R
×
P
t
C
15
Comments
If the value of resistance (R) is known, then the
)
The BASIC Stamp counts the time for us in 2
If the value of capacitance (C) is known, then
The value of e is a constant found in many
Threshold Voltage
The initial condition of the voltage at P15.
The final condition of the voltage at P15.
capacitance (C) can be determined.
resistance (R) can be determined.
algebra books, physics texts, etc.
ln
microsecond increments.
(
V
P
15
)
=
ln
(
V
dd
)
R
×
t
C

Related parts for 28129