Subject:
|
Re: Light sensor initialization time?
|
Newsgroups:
|
lugnet.robotics.rcx.java
|
Date:
|
Fri, 28 Sep 2001 06:08:09 GMT
|
Viewed:
|
3022 times
|
| |
| |
Hi,
> I suspect this is due to the fact that the first
> sample from the sensor is actually being obtained
> while the sensor's reservoir capacitor is still charging.
Well, I considered that, but I wondered why the measurement
is so high then?
Regards,
Martin E. Nielsen
> > Here a little fact: the first reading on the light sensor
> > _just_ after you have activated it is too high. It seems
> > like one has to wait a little after activating the sensor. ___CODE CUT AWAY___
> > When I ran the program I got the following results: 79-80
> > _without_ the sleep, and 33-35 (black tape) with the sleep.
|
|
Message is in Reply To:
| | Re: Light sensor initialization time?
|
| I suspect this is due to the fact that the first sample from the sensor is actually being obtained while the sensor's reservoir capacitor is still charging. Why don't you try a simple test, actually two tests; 1. Initialise as passive sensor Wait 1 (...) (23 years ago, 27-Sep-01, to lugnet.robotics.rcx.java)
|
3 Messages in This Thread:
- Entire Thread on One Page:
- Nested:
All | Brief | Compact | Dots
Linear:
All | Brief | Compact
|
|
|
|