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 / 2451
2450  |  2452
Subject: 
3 sensors = 8 inputs?!
Newsgroups: 
lugnet.robotics
Date: 
Thu, 7 Jan 1999 03:20:27 GMT
Original-From: 
Mark Crosbie <mcrosbie@cup.SPAMLESShp.com>
Viewed: 
1004 times
  
To further the thread on the limitations of having only 3 input sensors:

One of the first things that occurred to me was that three inputs gives you 3
bits of input, which means up to 8 sensors. Depending on which sensors
trigger, you convert that to a binary number which leads you to the "logical"
sensor number.

0 indicates not pressed, 1 indicates pressed.

Input Value Logical Sensor Physical Sensor
A B C
0 0 0 0 front bumper
0 0 1 1 rear bumper
0 1 0 2 left side bumper
0 1 1 3 right side bumper
...

Now, the tricky part is how to build a Lego creation so that different physical
sensors (bumpers, touch switches etc) get mapped to one of these 8 logical
sensor values.

You would need some lever arrangement whereby a bumper triggering could cause
the correct sensor combination to be pressed. It might be easy to do if you
have 4 bumper sensors around the edge of the vehicle. A series of axles and
appropriately positioned levers translate a bumper movement into one of 4
sensor combinations.

Just some thoughts. If I can build it I will post a message...

Mark.
--
Mark Crosbie http://www.best.com/~mcrosbie
Hewlett-Packard MS 47 LA        mcrosbie@cup.hp.com
19447 Pruneridge Avenue (408) 447-2308
Cupertino, CA 95014 (408) 447-6766 FAX


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



Message has 4 Replies:
  Re: 3 sensors = 8 inputs?!
 
(...) Couldn't you do this by simple wire connections? Let's pretend you had a LOT of the motor/sensor connector wires: Sensor #1 is connected to input port #1 hit = 1 0 0 Sensor #2 is connected to input port #2 hit = 0 1 0 Sensor #3 is connected to (...) (25 years ago, 7-Jan-99, to lugnet.robotics)
  Re: 3 sensors = 8 inputs?!
 
This would be just fine for digital (on/off) inputs. But it would not do at all for getting more analog inputs. (...) (25 years ago, 7-Jan-99, to lugnet.robotics)
  Re: 3 sensors = 8 inputs?!
 
Mark Crosbie wrote in message <199901070320.TAA020...hp.com>... (...) 3 (...) "logical" (...) This approach can be useful in some applications ofcourse, but theoretically you don't gain more information bandwith. This is because you will be able to (...) (25 years ago, 7-Jan-99, to lugnet.robotics)
  Re: 3 sensors = 8 inputs?!
 
Mark, It has been figured out how to get four touch sensors per input. This gives 12 touch sensors if all three inputs are used. Using this approach, a 16 channel Analog MUX can be hooked up. Sensing the four switch lines using Port A and the Output (...) (25 years ago, 8-Jan-99, to lugnet.robotics)

11 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