28125 Parallax Inc, 28125 Datasheet - Page 335
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: 335 of 360
- Download datasheet (5Mb)
Appendix F: Balancing Photoresistors
In this appendix, you will test the photoresistors to find out if they respond similarly to
the same incident light levels. If the measurements they report are different for the same
incident light levels, you can modify your programs to scale the values reported by your
photoresistors. The values will then be similar for similar incident light levels, which can
help the Boe-Bot recognize different incident light levels more reliably. This technique
can in turn assist the Boe-Bot in exiting dark rooms, even with mismatched photoresistor
circuits.
Testing for Well Matched Photoresistor Circuits
This next example program displays the decay time of both photoresistors in the Debug
Terminal. It makes it easy to judge the differences between the two readings for similar
light levels.
Example Program: TestPhotoresistors.bs2
√
√
√
Enter, save, and run TestPhotoresistors.bs2.
Cast a shadow over the Boe-Bot’s photoresistors with a white sheet of paper.
Find a level of shade that gives you readings between 20 and 100.
Record the values of both time measurements in the first row of Table F-1.
RC circuits with photoresistors can report different values for the same light level for
many reasons: The stated value of the capacitors is 0.01 µF, but the actual value of
capacitors can be very different.
tolerance of +80/-20%, meaning that the actual value of the capacitor could be up to 80%
larger or 20% smaller than 0.01 µF. This means that your measured decay time could also
be between 80% larger and 20% smaller. The photoresistors themselves can also behave
differently if they come from different manufacturing batches or if they have smudged or
chipped light collecting surfaces.
For best results, eliminate sources of direct sunlight: In general, uniform lighting
conditions improve the Boe-Bot’s performance with photoresistors.
eliminate sources of direct sunlight.
fluorescent lights or ceiling lamps work well.
Many common ceramic capacitors are rated with a
Rooms with distributed light sources such as
Draw the blinds to
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: