28129 Parallax Inc, 28129 Datasheet - Page 159

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
Under brighter light conditions, the resolution is poor. You can replace the 1 µF capacitor
with a 10 µF capacitor to increase the resolution at higher light levels. For full sun, some
kind of shade for the photoresistor would help. If you are dealing with low light
conditions, use a 0.1 µF capacitor instead.
The reason for using different capacitors is because the range of resistances for the
photoresistor varies for different ranges of light levels. Under lower lighting, the
photoresistor has a much higher range of resistance values than it does in a well-lit or full
sun area.
As discussed earlier, the discharge time depends on the RC time constant, R x C. If R
tends toward a relatively high range of resistances, using a smaller value of C will bring
the value of R multiplied by C back down. Likewise, if R is low, using a larger value of
C helps bring the value of RC back up.
Figure 8-8
Sample Debug
Terminal Output
in After
Somebody
Turned Out the
Lights

Related parts for 28129