To LUGNET HomepageTo LUGNET News HomepageTo LUGNET Guide Homepage
 Help on Searching
 
Post new message to lugnet.robotics.rcxOpen lugnet.robotics.rcx in your NNTP NewsreaderTo LUGNET News Traffic PageSign In (Members)
 Robotics / RCX / 563
562  |  564
Subject: 
Re: how detect other RCX robots with light sensors?
Newsgroups: 
lugnet.robotics.rcx
Date: 
Sat, 15 Apr 2000 04:13:25 GMT
Viewed: 
1603 times
  
Richard Hamilton wrote:

Assuming both RCXs are facing each other, this can be done by using the IR
transmitter of the RCX on the detected robot, and a forward pointing light
sensor on the detecting robot. Set one robot (the detected robot) to send out
constant IR messages. Set the other robot (the detecting robot) to first save
the light reading of a forward pointing light sensor, then if the value is
greater than 2% of the starting value, the sending robot is about 30 cm away.
This assumes there is not greater than a 2% variation in the ambient light. If
you substitute a D-IRPD sensor from Techno-Stuff for the light sensor, you can
detect another robot sending IR traffic directly in front from over 90 cm away.

If you do not send a constant stream of IR from the RCX to be detected, the
light sensor will not work, and the D-IRPD will only have a range of about 12
cm, which is shorter than your requirements. However the D-IRPD will detect
other RCXs no matter which way they face, and will detect other objects.

Connecting two light sensors to the same port will not accomplish what you
want, and is seems to accomplish nothing useful, unlike stacking touch sensors
or a touch sensor with a light sensor.

In lugnet.robotics.rcx, Manuel Cabido Lopes writes:

I want to know if there another RCX infront of me at a maximum distance of
30cm. I tried to use only the light sensors but it was not enough. Does anyone
has already tried this. Maybe putting some light in the RCX like infrared (I'm
trying this). I'm obtaining better results if I put two light sensors
connected to the same port. Maybe this is for two reasons a kind of averaging
system and the increase of the dynamic range.

Thank you

This does put quite the strain on your batteries though...

Dean
--
Coin-Op's For Sale!: http://www.akasa.bc.ca/tfm/coin-op.html
Dean's Lego Workshop: http://www.akasa.bc.ca/tfm/lego_wr.html
Vancouver Lego Club: http://www.akasa.bc.ca/vlc



Message is in Reply To:
  Re: how detect other RCX robots with light sensors?
 
Assuming both RCXs are facing each other, this can be done by using the IR transmitter of the RCX on the detected robot, and a forward pointing light sensor on the detecting robot. Set one robot (the detected robot) to send out constant IR messages. (...) (25 years ago, 15-Apr-00, to lugnet.robotics.rcx)

5 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