Subject:
|
Re: Bump switches and "aggression"
|
Newsgroups:
|
lugnet.robotics
|
Date:
|
Tue, 16 Dec 2003 01:38:48 GMT
|
Original-From:
|
Gordon Elliott <gelliott@csisc!AvoidSpam!.cc>
|
Viewed:
|
2200 times
|
| |
| |
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 has 2 Replies: | | Re: Bump switches and "aggression"
|
| For a pure Lego solution, you could try rigging up something with a rotation sensor that would have the sensor point in the direction of the collision. Suppose the rotation sensor was mounted with it's input shaft pointing up vertically - with a (...) (21 years ago, 16-Dec-03, to lugnet.robotics)
| | | 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)
|
Message is in Reply To:
| | Re: Bump switches and "aggression"
|
| "Rob Limbaugh" <lego-robotics@crynwr.com> wrote in message news:004201c3c2be$0a...markera... (...) can (...) 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 (...) (21 years ago, 15-Dec-03, to lugnet.robotics)
|
60 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
|
|
|
|