Subject:
|
Re: Bump switches and "aggression"
|
Newsgroups:
|
lugnet.robotics
|
Date:
|
Tue, 16 Dec 2003 06:34:37 GMT
|
Original-From:
|
chris <cbrenizer@socket%SayNoToSpam%.net>
|
Viewed:
|
2152 times
|
| |
![Post a public reply to this message](/news/icon-reply.gif) | |
there's probably a way to use a light sensor to sense four different colored
bricks. one for each direction.
= sensor
red
ylw
blue
wht /
---\ /----
different heights of 'wedges' would lift a column, as a bumper is either
slid in, or the bumper pushed down and pivoting up.
----- Original Message -----
From: "Gordon Elliott" <gelliott@csisc.cc>
To: <lego-robotics@crynwr.com>
Sent: Monday, December 15, 2003 8:44 PM
Subject: Re: Bump switches and "aggression"
By the way, there are 5 states, all switches off, and each of the 4
switches. (That does not count the combinations if more than one switch were
triggered at the same time). Thus a binary solution would take three inputs,
just one less than the number of switches. One could provide OR function
with diodes, but the analog solution is superior with only one input if an
a/d inpuit is available. That solution can decode all 16 states of 4
switches.
To do with diodes and 3 inputs, label switches A, B, C, D, and inputs I1,
I2, I3. With some sort of pullup (is one native?) on I1, I2, I3, then:
A
|---|<--- I3
B
|---|<---I1
|---|<---I3
C
|---|<---I2
|---|<---I3
D
|---|<---I1
|---|<---I2
|---|<---I3
I3 obviously triggers sensing some input, then I1 and I2 decode
combinations.
Given use of 3 inputs, and say only one more diode, one could have 6
switches if that did any good:
A
|---|<--- I1
B
|---|<---I1
|---|<---I2
C
|---|<---I2
D
|---|<---I2
|---|<---I3
E
|---|<---I3
F
|---|<---I3
|---|<---I1
Though using 3 inputs, this scheme solves certain problems with triggering
two nearby switches, say that A through F were in a circle so F was back
next to A. Then a trigger of any pair of neighbors only gives an off by one
error.
-- Gordon
----- Original Message -----
From: "Gordon Elliott" <gelliott@csisc.cc>
To: <lego-robotics@crynwr.com>
Sent: Monday, December 15, 2003 7:38 PM
Subject: Re: Bump switches and "aggression"
> There was discussion of one company that made switches with analog values
> that could be mixed, but they were apparently either expensive or hard to
> find (at least there was some difficulty).
>
> But simple resistor network, say a load resistor to ground and each switch
> with a different series resistor from positive reference voltage, could feed
> an a/d channel. It sounds like what was packaged in that particular system,
> but could be done with inexpensive resistors and external wiring. Then
> analog voltage ranges determine the binary combinations of the 4 switches.
> Does this make any sense? (Of course one could use 4 separate inputs, but
> that might tax available resources).
>
> -- Gordon
>
> ----- Original Message -----
> From: "Øyvind Steinnes" <phoenix@online.no>
> To: <lego-robotics@crynwr.com>
> Sent: Monday, December 15, 2003 2:24 PM
> Subject: Re: Bump switches and "aggression"
>
>
> >
> > "Rob Limbaugh" <lego-robotics@crynwr.com> wrote in message
> > news:004201c3c2be$0a5c6cf0$640ba8c0@markera...
> > > Personally, I find multiple bump sensors the way to go. In software, I
> > can
> > > make their significance be whatever I want. I also think that dice-roll
> > > decision making would decrease the chance surviving aggression.
> > >
> > > - Rob
> >
> > How can I attach lets say 4 switches so the make a binary code, (4switches
> > should need only two ports). I want to have one switch on each side of the
> > bot and in front and back.
> >
> >
> > Øyvind Steinnes
> > http://www.brickshelf.com/cgi-bin/gallery.cgi?m=Phoenix
>
>
>
>
|
|
Message is in Reply To:
![](/news/x.gif) | | Re: Bump switches and "aggression"
|
| By the way, there are 5 states, all switches off, and each of the 4 switches. (That does not count the combinations if more than one switch were triggered at the same time). Thus a binary solution would take three inputs, just one less than the (...) (21 years ago, 16-Dec-03, to lugnet.robotics)
|
60 Messages in This Thread: ![an idea, can someone tell me if this is possible/been done before/etc? -Jonathan Wilson (1-Dec-03 to lugnet.robotics)](/news/x.gif) ![](/news/246.gif) ![Re: an idea, can someone tell me if this is possible/been done before/etc? -lego-robotics@crynwr.com (Steve Baker) (1-Dec-03 to lugnet.robotics)](/news/x.gif) ![](/news/246.gif) ![Re: an idea, can someone tell me if this is possible/been done before/etc? -lego-robotics@crynwr.com (Jim Choate) (1-Dec-03 to lugnet.robotics)](/news/x.gif)
![](/news/x.gif) ![](/news/28.gif) ![](/news/x.gif) ![](/news/68.gif) ![Re: an idea, can someone tell me if this is possible/been done before/etc? -Kevin L. Clague (2-Dec-03 to lugnet.robotics)](/news/x.gif) ![](/news/46.gif) ![Re: an idea, can someone tell me if this is possible/been done before/etc? -Paul Kleniewski (2-Dec-03 to lugnet.robotics)](/news/x.gif) ![](/news/246.gif) ![Re: an idea, can someone tell me if this is possible/been done before/etc? -Kevin L. Clague (2-Dec-03 to lugnet.robotics)](/news/x.gif) ![](/news/246.gif) ![Re: an idea, can someone tell me if this is possible/been done before/etc? -Philippe Hurbain (2-Dec-03 to lugnet.robotics)](/news/x.gif) ![](/news/46.gif) ![Re: an idea, can someone tell me if this is possible/been done before/etc? -Kevin L. Clague (2-Dec-03 to lugnet.robotics)](/news/x.gif) ![](/news/46.gif) ![Re: an idea, can someone tell me if this is possible/been done before/etc? -lego-robotics@crynwr.com (Jim Choate) (2-Dec-03 to lugnet.robotics)](/news/x.gif) ![](/news/246.gif) ![Re: an idea, can someone tell me if this is possible/been done before/etc? -Paul Kleniewski (2-Dec-03 to lugnet.robotics)](/news/x.gif) ![](/news/246.gif) ![Re: an idea, can someone tell me if this is possible/been done before/etc? -lego-robotics@crynwr.com (Jim Choate) (2-Dec-03 to lugnet.robotics)](/news/x.gif) ![](/news/46.gif) ![Re: an idea, can someone tell me if this is possible/been done before/etc? -lego-robotics@crynwr.com (Jim Choate) (2-Dec-03 to lugnet.robotics)](/news/x.gif)
![](/news/x.gif) ![](/news/28.gif) ![](/news/x.gif) ![](/news/28.gif) ![](/news/x.gif) ![](/news/28.gif) ![](/news/x.gif) ![](/news/28.gif) ![](/news/x.gif) ![](/news/68.gif) ![Re: an idea, can someone tell me if this is possible/been done before/etc? -Paul Kleniewski (3-Dec-03 to lugnet.robotics)](/news/x.gif)
![](/news/x.gif) ![](/news/28.gif) ![](/news/x.gif) ![](/news/28.gif) ![](/news/x.gif) ![](/news/28.gif) ![](/news/x.gif) ![](/news/x.gif) ![](/news/68.gif) ![Re: an idea, can someone tell me if this is possible/been done before/etc? -Kevin L. Clague (2-Dec-03 to lugnet.robotics)](/news/x.gif) ![](/news/46.gif) ![Re: an idea, can someone tell me if this is possible/been done before/etc? -lego-robotics@crynwr.com (Jim Choate) (2-Dec-03 to lugnet.robotics)](/news/x.gif) ![](/news/246.gif) ![Re: an idea, can someone tell me if this is possible/been done before/etc? -Kevin Clague (2-Dec-03 to lugnet.robotics)](/news/x.gif) ![](/news/46.gif) ![Re: an idea, can someone tell me if this is possible/been done before/etc? -lego-robotics@crynwr.com (Jim Choate) (2-Dec-03 to lugnet.robotics)](/news/x.gif)
![](/news/x.gif) ![](/news/28.gif) ![](/news/x.gif) ![](/news/28.gif) ![](/news/x.gif) ![](/news/28.gif) ![](/news/x.gif) ![](/news/x.gif) ![](/news/68.gif) ![Re: an idea, can someone tell me if this is possible/been done before/etc? -Kevin L. Clague (2-Dec-03 to lugnet.robotics)](/news/x.gif) ![](/news/46.gif) ![Re: an idea, can someone tell me if this is possible/been done before/etc? -lego-robotics@crynwr.com (Jim Choate) (3-Dec-03 to lugnet.robotics)](/news/x.gif) ![](/news/46.gif) ![Re: an idea, can someone tell me if this is possible/been done before/etc? -Kevin L. Clague (3-Dec-03 to lugnet.robotics)](/news/x.gif) ![](/news/46.gif) ![Re: an idea, can someone tell me if this is possible/been done before/etc? -lego-robotics@crynwr.com (Jim Choate) (3-Dec-03 to lugnet.robotics)](/news/x.gif) ![](/news/46.gif) ![Bump switches and "aggression" -lego-robotics@crynwr.com (Jim Choate) (3-Dec-03 to lugnet.robotics)](/news/x.gif) ![](/news/246.gif) ![Re: Bump switches and "aggression" -Steve Hassenplug (3-Dec-03 to lugnet.robotics)](/news/x.gif) ![](/news/46.gif) ![Re: Bump switches and "aggression" -lego-robotics@crynwr.com (Jim Choate) (3-Dec-03 to lugnet.robotics)](/news/x.gif)
![](/news/x.gif) ![](/news/28.gif) ![](/news/x.gif) ![](/news/28.gif) ![](/news/x.gif) ![](/news/28.gif) ![](/news/x.gif) ![](/news/x.gif) ![](/news/68.gif) ![Re: Bump switches and "aggression" -lego-robotics@crynwr.com (Gordon Elliott) (3-Dec-03 to lugnet.robotics)](/news/x.gif) ![](/news/46.gif) ![Re: Bump switches and "aggression" -lego-robotics@crynwr.com (Jim Choate) (3-Dec-03 to lugnet.robotics)](/news/x.gif) ![](/news/246.gif) ![Re: Bump switches and "aggression" -lego-robotics@crynwr.com (Gordon Elliott) (3-Dec-03 to lugnet.robotics)](/news/x.gif) ![](/news/46.gif) ![Re: Bump switches and "aggression" -Paul Kleniewski (4-Dec-03 to lugnet.robotics)](/news/x.gif) ![](/news/46.gif) ![RE: Bump switches and "aggression" -lego-robotics@crynwr.com (Russell C. Brown [RR-1]) (5-Dec-03 to lugnet.robotics)](/news/x.gif) ![](/news/46.gif) ![Re: Bump switches and "aggression" -Paul Kleniewski (5-Dec-03 to lugnet.robotics)](/news/x.gif)
![](/news/x.gif) ![](/news/28.gif) ![](/news/x.gif) ![](/news/28.gif) ![](/news/x.gif) ![](/news/28.gif) ![](/news/x.gif) ![](/news/x.gif) ![](/news/268.gif) ![Re: Bump switches and "aggression" -David Koudys (3-Dec-03 to lugnet.robotics)](/news/x.gif) ![](/news/246.gif) ![Re: Bump switches and "aggression" -Rob Hendrix (3-Dec-03 to lugnet.robotics)](/news/x.gif) ![](/news/46.gif) ![Re: Bump switches and "aggression" -David Koudys (3-Dec-03 to lugnet.robotics)](/news/x.gif)
![](/news/x.gif) ![](/news/28.gif) ![](/news/x.gif) ![](/news/28.gif) ![](/news/x.gif) ![](/news/28.gif) ![](/news/x.gif) ![](/news/28.gif) ![](/news/x.gif) ![](/news/68.gif) ![Re: Bump switches and "aggression" -lego-robotics@crynwr.com (Jim Choate) (13-Dec-03 to lugnet.robotics)](/news/x.gif) ![](/news/46.gif) ![Re: Bump switches and "aggression" -lego-robotics@crynwr.com (Rob Limbaugh) (15-Dec-03 to lugnet.robotics)](/news/x.gif) ![](/news/46.gif) ![Re: Bump switches and "aggression" -Øyvind Steinnes (15-Dec-03 to lugnet.robotics)](/news/x.gif) ![](/news/246.gif) ![Re: Bump switches and "aggression" -lego-robotics@crynwr.com (Gordon Elliott) (16-Dec-03 to lugnet.robotics)](/news/x.gif) ![](/news/246.gif) ![Re: Bump switches and "aggression" -lego-robotics@crynwr.com (Steve Baker) (16-Dec-03 to lugnet.robotics)](/news/x.gif)
![](/news/x.gif) ![](/news/28.gif) ![](/news/x.gif) ![](/news/28.gif) ![](/news/x.gif) ![](/news/28.gif) ![](/news/x.gif) ![](/news/28.gif) ![](/news/x.gif) ![](/news/28.gif) ![](/news/x.gif) ![](/news/68.gif) ![Re: Bump switches and "aggression" -lego-robotics@crynwr.com (Gordon Elliott) (16-Dec-03 to lugnet.robotics)](/news/x.gif) ![](/news/46.gif) ![You are here](/news/here.gif)
![](/news/x.gif) ![](/news/28.gif) ![](/news/x.gif) ![](/news/28.gif) ![](/news/x.gif) ![](/news/28.gif) ![](/news/x.gif) ![](/news/28.gif) ![](/news/x.gif) ![](/news/x.gif) ![](/news/68.gif) ![Re: Bump switches and "aggression" -Scott Davis (16-Dec-03 to lugnet.robotics)](/news/x.gif)
![](/news/x.gif) ![](/news/28.gif) ![](/news/x.gif) ![](/news/28.gif) ![](/news/x.gif) ![](/news/28.gif) ![](/news/x.gif) ![](/news/x.gif) ![](/news/68.gif) ![Re: Bump switches and "aggression" -lego-robotics@crynwr.com (Steve Baker) (4-Dec-03 to lugnet.robotics)](/news/x.gif)
![](/news/x.gif) ![](/news/28.gif) ![](/news/x.gif) ![](/news/28.gif) ![](/news/x.gif) ![](/news/68.gif) ![Re: an idea, can someone tell me if this is possible/been done before/etc? -Paul Kleniewski (2-Dec-03 to lugnet.robotics)](/news/x.gif) ![](/news/46.gif) ![Re: an idea, can someone tell me if this is possible/been done before/etc? -Kevin L. Clague (2-Dec-03 to lugnet.robotics)](/news/x.gif) ![](/news/46.gif) ![Re: an idea, can someone tell me if this is possible/been done before/etc? -Paul Kleniewski (3-Dec-03 to lugnet.robotics)](/news/x.gif) ![](/news/246.gif) ![Re: an idea, can someone tell me if this is possible/been done before/etc? -Kevin L. Clague (3-Dec-03 to lugnet.robotics)](/news/x.gif)
![](/news/x.gif) ![](/news/28.gif) ![](/news/x.gif) ![](/news/28.gif) ![](/news/x.gif) ![](/news/x.gif) ![](/news/68.gif) ![Re: an idea, can someone tell me if this is possible/been done before/etc? -Kevin L. Clague (4-Dec-03 to lugnet.robotics)](/news/x.gif) ![](/news/46.gif) ![Re: WWW spider -Paul Kleniewski (8-Dec-03 to lugnet.robotics)](/news/x.gif) ![](/news/46.gif) ![Re: WWW spider -Kevin L. Clague (8-Dec-03 to lugnet.robotics)](/news/x.gif) ![](/news/46.gif) ![Re: WWW spider -Paul Kleniewski (9-Dec-03 to lugnet.robotics)](/news/x.gif) ![](/news/46.gif) ![Re: WWW spider -Kevin L. Clague (9-Dec-03 to lugnet.robotics)](/news/x.gif) ![](/news/46.gif) ![Re: WWW spider -Paul Kleniewski (9-Dec-03 to lugnet.robotics)](/news/x.gif)
![](/news/x.gif) ![](/news/28.gif) ![](/news/x.gif) ![](/news/x.gif) ![](/news/68.gif) ![Re: an idea, can someone tell me if this is possible/been done before/etc? -Kevin L. Clague (2-Dec-03 to lugnet.robotics)](/news/x.gif) ![](/news/46.gif) ![Re: an idea, can someone tell me if this is possible/been done before/etc? -lego-robotics@crynwr.com (Jim Choate) (2-Dec-03 to lugnet.robotics)](/news/x.gif)
![](/news/x.gif) ![](/news/68.gif) ![Re: an idea, can someone tell me if this is possible/been done before/etc? -lego-robotics@crynwr.com (Jim Choate) (1-Dec-03 to lugnet.robotics)](/news/x.gif) ![](/news/46.gif) ![Re: an idea, can someone tell me if this is possible/been done before/etc? -Kevin L. Clague (2-Dec-03 to lugnet.robotics)](/news/x.gif) ![](/news/46.gif) ![Re: an idea, can someone tell me if this is possible/been done before/etc? -lego-robotics@crynwr.com (Jim Choate) (2-Dec-03 to lugnet.robotics)](/news/x.gif) ![](/news/246.gif) ![Re: an idea, can someone tell me if this is possible/been done before/etc? -Kevin L. Clague (2-Dec-03 to lugnet.robotics)](/news/x.gif) ![](/news/46.gif) ![Re: an idea, can someone tell me if this is possible/been done before/etc? -lego-robotics@crynwr.com (Jim Choate) (2-Dec-03 to lugnet.robotics)](/news/x.gif)
![](/news/x.gif) ![](/news/x.gif) ![](/news/68.gif) ![Re: an idea, can someone tell me if this is possible/been done before/etc? -Kevin L. Clague (2-Dec-03 to lugnet.robotics)](/news/x.gif)
- Entire Thread on One Page:
- Nested:
All | Brief | Compact | Dots
Linear:
All | Brief | Compact
|
|
|
|