To LUGNET HomepageTo LUGNET News HomepageTo LUGNET Guide Homepage
 Help on Searching
 
Post new message to lugnet.robotics.rcx.legosOpen lugnet.robotics.rcx.legos in your NNTP NewsreaderTo LUGNET News Traffic PageSign In (Members)
 Robotics / RCX / legOS / 251
250  |  252
Subject: 
Re: Blocking IR
Newsgroups: 
lugnet.robotics.rcx.legos
Date: 
Mon, 21 Jun 1999 19:36:29 GMT
Viewed: 
1684 times
  
Hi Kekoa,


Could you post your working IR .srec code or email me if  possible? I have
tried the examples with the LegOS read sensor routines and I still get the
same results. i.e. it works at about 2mm from the unit but fails after more
than 5mm. I know the IR is doing somthing becuase if I block the IR with some
black card the readings drop from about 230 to 208. Could it be a fault with
the light sensor?

Also, although I did have a search, you mentioned about some code for polling
the a/d inputs not using LegOS, could you point me in the right direction, as
I can't seem to find it on the server. Sorry.

Again, thanks for your time,

Phil

P.S.
Maybe I (we) should really give up on this one !!!


In lugnet.robotics.rcx.legos, Phil Mack writes:

I'll have to wait now till I get home from work to try the examples :(

Phil


In lugnet.robotics.rcx.legos, Kekoa Proudfoot writes:
In addition to what I mentioned in the previous message, I also set the
sensor input port to active.

Setting it to passive also works, in which case the ambient light level
seems to be around 480-495, and the sensor aimed directly at the IR port
goes from about 430-450 at 35 cm to 400 at 15 cm to 380 at 0 cm.  It is
fairly sensitive to the angle it is facing the IR port, especially at the
larger distances.  I had to aim the light sensor directly at the IR port at
35 cm to get the 430-450 reading.  Moving the sensor maybe five degrees off
gave a 480/495 reading at that distance.

-Kekoa



Message is in Reply To:
  Re: Blocking IR
 
I'll have to wait now till I get home from work to try the examples :( Phil (...) (25 years ago, 21-Jun-99, to lugnet.robotics.rcx.legos)

12 Messages in This Thread:


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

Custom Search

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