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 / 25993
25992  |  25994
Subject: 
Re: Ultrasonic sensor interactions
Newsgroups: 
lugnet.robotics
Date: 
Sun, 21 May 2006 20:43:25 GMT
Viewed: 
2951 times
  
In lugnet.robotics, Philippe Hurbain wrote:

I can not find a way to turn off the US sensor from the
LEGO-provided SW environment.

That's easy to do in NBC, and not hard with NXT-G: to shut
off the US sensor, just "use" another sensor type on the
same port.

   I'm not positive of that. If the US sensor is plugged in to a powered NXT, I
can detect a clicking from it - I presume it's on. Regardless of what sensor I
define the port as, this clicking continues. This is what I was basing my "can't
turn the US sensor off" remark on.

Here is a sample program that switches the US sensor
on/off with NXT enter button.

   I was using an even simplier one: change the sensor, wait 1 second, then
change the sensor again, etc. the clicking never stops.

At low level sample rate can be changed - and even a single
shot mode is available - but presently NXT-G doesn't give
access to these features

   Have you been able to verify this? I know there are FW commands that claim to
do this, but I've not seen it provably done as yet. And would *love* to hear
it's possible.

   On a related note, I'm trying to see just how much interference two US sensor
working in the same room actually produce. The result seems to be "darn little",
but I need to test some more. This may not be as big a problem as we're worried
about, I'm unsure now.

--
Brian Davis



Message has 2 Replies:
  Re: Ultrasonic sensor interactions
 
(...) Within the same room - is unlikely to be a problem - but think about two Sumo bots trying to find each other or two robots doing some kind of cooperative tasks in a contest or something...not likely to be so easy I think. (19 years ago, 22-May-06, to lugnet.robotics)
  Re: Ultrasonic sensor interactions
 
(...) Sorry Brian, you are right! my ageing ear was not able to get the much weaker "ping" at first. My interpretation (to be confimed) is that the US sensor goes on working even if not configured, but some sensor modes don't provide the 9V supply (...) (19 years ago, 22-May-06, to lugnet.robotics)

Message is in Reply To:
  Re: Ultrasonic sensor interactions
 
Hello Brian, (...) That's easy to do in NBC, and not hard with NXT-G: to shut off the US sensor, just "use" another sensor type on the same port. Here is a sample program that switches the US sensor on/off with NXT enter button. (URL) If the sensor (...) (19 years ago, 21-May-06, to lugnet.robotics)

27 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
    

Custom Search

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