To LUGNET HomepageTo LUGNET News HomepageTo LUGNET Guide Homepage
 Help on Searching
 
Post new message to lugnet.roboticsOpen lugnet.robotics in your NNTP NewsreaderTo LUGNET News Traffic PageSign In (Members)
 Robotics / 6664
6663  |  6665
Subject: 
Re: Light sensor broken?
Newsgroups: 
lugnet.robotics
Date: 
Thu, 2 Sep 1999 00:57:51 GMT
Viewed: 
1935 times
  
Michael Gasperi <gasperi@alynk.com> wrote in message
news:FHEq60.Lv1@lugnet.com...
> Jacob Schultz <anne.jacob@get2net.dk> wrote in message
> news:37CD9C7B.9EC69388@get2net.dk...
> > I have difficulties using my light sensor.
> > The sensor value doen't seem to change very much. The light goes on as
> > expected when my program starts, but the RAW values are quite close:
> > White paper gives about 710, and black plastic gives about 820 and the
> > values seem to drift a little around, like 5 units or so. If I put the
> > light sensor close to a lamp (1 cm) it reads about 430. Is this normal,
> > or is something wrong?
> 
> 
> Are you using an alternative programming language?   If you are using the
> LEGO supplied software and reading RAW values, the light sensor won't be
> powered and the LED will not be lit.  The values you are getting sound • like
> this is the case.
> If you want to know if the Light Sensor is OK just test it as Light Sensor
> with the LEGO supplied software.  If it doesn't light up and read from • about
> 25 to 100 there is something wrong with the sensor.


I hate replying to my own post, but just realized that the range of RAW
values Jacob posted are about normal for a Sensor Type set to 3 (light) and
a Mode set to 0 (raw).  There is probably nothing wrong with your sensor.
430 to 820 is still a lot better resolution than 25 to 100.



Message is in Reply To:
  Re: Light sensor broken?
 
Jacob Schultz <anne.jacob@get2net.dk> wrote in message news:37CD9C7B.9EC693...2net.dk... (...) Are you using an alternative programming language? If you are using the LEGO supplied software and reading RAW values, the light sensor won't be powered (...) (27 years ago, 2-Sep-99, to lugnet.robotics)

3 Messages in This Thread:

Entire Thread on One Page:
Nested:  All | Brief | Compact | Dots
Linear:  All | Brief | Compact
    

©2005 LUGNET. All rights reserved. - hosted by steinbruch.info GbR