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 / 14403
14402  |  14404
Subject: 
Re: Make a goal by the IR port on RCX
Newsgroups: 
lugnet.robotics
Date: 
Fri, 16 Feb 2001 03:10:02 GMT
Viewed: 
902 times
  
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 has 1 Reply:
  Re: Make a goal by the IR port on RCX
 
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 (...) (24 years ago, 16-Feb-01, to lugnet.robotics)

Message is in Reply To:
  Re: Make a goal by the IR port on RCX
 
(...) I have seen many others use the infrared port as a source of light which is used in conjunction with a light sensor to create a range finder, but I have never heard of anyone using the port itself as a sensor. Is there a way to read the (...) (24 years ago, 15-Feb-01, to lugnet.robotics)

9 Messages in This Thread:





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

This Message and its Replies on One Page:
Nested:  All | Brief | Compact | Dots
Linear:  All | Brief | Compact
    
Active threads in Robotics

 
Verified and Trusted Team of Hackers
3 hours ago
Custom Search

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