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 / 14412
14411  |  14413
Subject: 
Re: Make a goal by the IR port on RCX
Newsgroups: 
lugnet.robotics
Date: 
Fri, 16 Feb 2001 11:15:31 GMT
Original-From: 
Yiu <h9819152@hkusua=stopspammers=.hku.hk>
Viewed: 
686 times
  
Thanks for all of the suggestions from all of you.

As the 3 input port had been occupied by 3 analog sensors
(not light sensor, but declear as light sensor in program),
so I do not think overloading a sensor is a good idea.

The suggestion of communicate with a computer or RCX worth a try.
(sadly, I do not have 2 RCX)

Beside receiving message signal, is it possible to read a raw reading from
the IR port of RCX?
(Say, by the use of legOS)

Thanks again

YY


Matthias Jetleb wrote:

A simple on/off sensor can be placed in series or parallel with other
on/off sensors however analog sensors cannot. It should be pointed out
that if you do group sensors, it becomes impossible to determine which
one was actually triggered. This could be disasterous depending on the
application.

A real nice advantage to using the IR port as a sensor is that you
gain the potential for partial immunity to background light. A
standard light sensor will respond to light sources regardless of
their origin, hence a robot that moves past a window might think it
hit an object just because it's in sunlight. The IR port allows you to
avoid this problem somewhat by reading back the data that is sent out.
If you continuously transmit 111011001000 and all you read back are
000000000000 then you know you aren't near an object. If all you get
back is 111111111111 then you know you're in front of a light source
and can probably proceed with caution. If you get back a 100111010100
(or whatever) then you've encountered another robot that is also using
the IR port as a sensor, but it's code is different (and it is
therefore possible to identify it), but if you get back your original
111011001000 then you know it's a valid reflection of your own signal
and there really is an object ahead.

Matthias Jetleb
VA3-MWJ



Message is in Reply To:
  Re: Make a goal by the IR port on RCX
 
A simple on/off sensor can be placed in series or parallel with other on/off sensors however analog sensors cannot. It should be pointed out that if you do group sensors, it becomes impossible to determine which one was actually triggered. This (...) (24 years ago, 16-Feb-01, to lugnet.robotics)

9 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