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 / 1900
1899  |  1901
Subject: 
RE: sensor input mux calculations
Newsgroups: 
lugnet.robotics
Date: 
Wed, 30 Dec 1998 05:40:34 GMT
Original-From: 
Robert Kenyon <rkenyon@burgoyne.com{ihatespam}>
Viewed: 
1103 times
  
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
Wholly@mindless.com

-----Original Message-----
From: Robert Kenyon [mailto:rkenyon@burgoyne.com]
Sent: Tuesday, December 29, 1998 10:32 PM
To: lego-robotics@crynwr.com
Subject: RE: sensor input mux calculations

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

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



Message is in Reply To:
  RE: sensor input mux calculations
 
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 (...) (25 years ago, 30-Dec-98, to lugnet.robotics)

8 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