28125 Parallax Inc, 28125 Datasheet - Page 222
28125
Manufacturer Part Number
28125
Description
TEXT ROBOTICS
Manufacturer
Parallax Inc
Datasheet
1.28125.pdf
(360 pages)
Specifications of 28125
Title
Robotics with the Boe-Bot
Product
Microcontroller Accessories
Lead Free Status / RoHS Status
Not applicable / Not applicable
- Current page: 222 of 360
- Download datasheet (5Mb)
About RC Decay Time and the Photoresistor Circuit
Think of a capacitor in the circuit shown in Figure 6-10 as a tiny rechargeable battery.
When P6 sends the high signal, it essentially charges this capacitor-battery by applying 5
V to it. After a few ms, the capacitor charges up to almost 5 V. If the BASIC Stamp
program then changes the I/O pin so that it just quietly listens, the capacitor loses its
charge through the photoresistor. As the capacitor looses its charge through the
photoresistor, its voltage decays, getting lower and lower as it looses charge. The amount
of time it takes for the voltage that
strongly the photoresistor “resists” the flow of electric current supplied by the capacitor.
If the photoresistor has a large resistance value due to very dim lighting conditions, the
capacitor takes longer to discharge. If the photoresistor has a small resistance value
because the light incident on its surface is very bright, it will not resist current very
strongly, and the capacitor will lose its charge very rapidly.
Measuring RC Decay Time with the BASIC Stamp
The BASIC Stamp can be programmed to charge the capacitor and then measure the time
it takes the capacitor's voltage to decay to 1.4 V. This decay time measurement can be
used to indicate the photoresistor's resistance. This resistance in turn indicates how
bright the light detected by the photoresistor really is. This measurement requires a
combination of the
P6
Connected in parallel
The photoresistor and capacitor shown in Figure 6-10 are connected in parallel. For two
components to be connected in parallel, each of their leads must be connected to common
terminals (also called nodes). The photoresistor and the capacitor each have one lead
connected to Vss. They also each have one lead connected to the same 220 Ω resistor
lead.
HIGH
220
Ω
and
PAUSE
Vss
IN6
commands along with a new command called
senses to drop below 1.4 V depends on how
0.01 µF
Figure 6-10
RC Circuit
Connected to I/O
Pin
Related parts for 28125
Image
Part Number
Description
Manufacturer
Datasheet
Request
R
Part Number:
Description:
Microcontroller Modules & Accessories DISCONTINUED BY PARALLAX
Manufacturer:
Parallax Inc
Part Number:
Description:
BOOK UNDERSTANDING SIGNALS
Manufacturer:
Parallax Inc
Datasheet:
Part Number:
Description:
COMPETITION RING FOR SUMOBOT
Manufacturer:
Parallax Inc
Datasheet:
Part Number:
Description:
TEXT INFRARED REMOTE FOR BOE-BOT
Manufacturer:
Parallax Inc
Datasheet:
Part Number:
Description:
BOARD EXPERIMENT+LCD NX-1000
Manufacturer:
Parallax Inc
Datasheet:
Part Number:
Description:
CONTROLLER 16SERVO MOTOR CONTROL
Manufacturer:
Parallax Inc
Datasheet:
Part Number:
Description:
BASIC STAMP LOGIC ANALYZER
Manufacturer:
Parallax Inc
Datasheet:
Part Number:
Description:
IC MCU 2K FLASH 50MHZ SO-18
Manufacturer:
Parallax Inc
Datasheet: