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 / 1899
1898  |  1900
Subject: 
RE: sensor input mux calculations
Newsgroups: 
lugnet.robotics
Date: 
Wed, 30 Dec 1998 05:31:36 GMT
Original-From: 
Robert Kenyon <rkenyon@burgoyne.comSTOPSPAM>
Viewed: 
1366 times
  
This design would prevent multiple switch detection.  Only one switch would
be detectable (the last one).  The designs people have been creating so far
have been capable of detecting 3-4 discrete inputs at any time regardless of
the settings of any other inputs.  This would allow "one" sensor input to
cover all four sides of a robot for collision detection (assuming your robot
HAS four sides.)

Rob
Wholly@mindless.com

-----Original Message-----
From: Fred Bauer [mailto:fred.bauer@wcom.com]
Sent: Tuesday, December 29, 1998 12:45 PM
To: lego-robotics@crynwr.com
Subject: Re: sensor input mux calculations

I've been looking at the multiple sensor input problem...  wouldn't it be
simpler to use a series resistor network, rather than parallel, something
like this:

--|--[ 10 ohm ]--|--[ 20 ohm ]--|--[ 40 ohm ]--|--[ 80 ohm ]--|--
  |              |              |              |              |
  -------X---------------X--------------X-------------X--------

where X is a switch.

If the calculations are correct, this should give raw readings between 0 and
31, depending on which switches are OPEN.  This would then be easy to
decode....  I havn't played with this on the RCX, the resistor values may
have to be adjusted or scaled, depending on the accuracy of the A/D
conversion, but keeping the values low makes this a (relatively) linear
function.

Fred Bauer
fred.bauer@wcom.com

--
Did you check the web site first?: http://www.crynwr.com/lego-robotics

--
Did you check the web site first?: http://www.crynwr.com/lego-robotics



Message has 2 Replies:
  RE: sensor input mux calculations
 
Duh. I didn't notice that the switches were in parallel with the resistors. Dang proportional fonts in email. Sorry about that. Yes, it would work nicely and is generally what others have been thinking of, just not putting down in drawings. Rob/Duh (...) (26 years ago, 30-Dec-98, to lugnet.robotics)
  Re: sensor input mux calculations
 
I was thinking about making a passive light sensor with 2 Csd components mounted at slightly off parallel ( diverging ) and use the Light Sensor Type to read the left, then switch it to Touch Type to read the right element. I should be able to use (...) (26 years ago, 31-Dec-98, to lugnet.robotics)

Message is in Reply To:
  Re: sensor input mux calculations
 
I've been looking at the multiple sensor input problem... wouldn't it be simpler to use a series resistor network, rather than parallel, something like this: --|--[ 10 ohm ]--|--[ 20 ohm ]--|--[ 40 ohm ]--|--[ 80 ohm ]--|-- | | | | | (...) (26 years ago, 29-Dec-98, to lugnet.robotics)

8 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