Subject:
|
Re: multiplexing Spybot inputs?
|
Newsgroups:
|
lugnet.robotics.spybotics
|
Date:
|
Thu, 3 Nov 2005 18:37:54 GMT
|
Viewed:
|
11556 times
|
| |
| |
In lugnet.robotics.spybotics, Steve Hassenplug wrote:
|
On Thu, November 3, 2005 12:14 pm, Joe Strout wrote:
|
It occurred to me that one might fit some sort of light sensors on top of
some of the six LEDs on the Spybots top side, and use this to select an
input channel to route information from any of a number of sensors to the VLL
sensor.
Has anybody tried this yet? Any thoughts on how well this would work, or
pointers to a suitable multiplexer circuit?
|
You can control the VLL output of the spybot, so you should be able to just
connect something much like the programming cable, and get two-way
communications.
|
Two-way communications with what? Are you picturing some sort of
microcontroller that monitors all the extra sensors, and reports values to the
Spybot upon request?
That sounds beyond my capabilities, as well as probably not as fast as the
multiplexer approach. With the latter, to read (say) one of sixteen inputs, you
just set the four LEDs to address the desired input, then take a reading from
the VLL.
To communicate with a microcontroller, youd instead have to send the request,
then wait for a reply, both using a serial protocol. I imagine that for some
applications, polling the sensors as fast as possible would be helpful -- but I
havent actually done the math, so maybe this isnt actually relevant.
|
Heres a good VLL page:
http://www.elecbrick.com/lego/
|
Thanks Id seen that before, but hadnt realized its relevance to Spybotics.
Hmm... that suggests all sorts of fun things one might do, like printing VLL
codes onto a transparent wheel which you then spin in front of a light (using a
standard LEGO motor), making a beacon that not only advertises its presence
but transmits information (identity or commands) too.
Best,
- Joe
|
|
Message has 1 Reply: | | Re: multiplexing Spybot inputs?
|
| (...) Some time ago, I have sugested the use of the VLL port to make an interface to connect a couple of lego light sensors to the spybot. The ideea was to have an analog device (powered by a 9V bov) that would just switch on a sensor, then switch (...) (19 years ago, 8-Jan-06, to lugnet.robotics.spybotics, FTX)
|
Message is in Reply To:
| | Re: multiplexing Spybot inputs?
|
| (...) You can control the VLL output of the spybot, so you should be able to just connect something much like the programming cable, and get two-way communications. Here's a good VLL page: (URL) (19 years ago, 3-Nov-05, to lugnet.robotics.spybotics)
|
4 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
|
|
|
|