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 / 451 (+20)
  Re: RCX Programming Questions and Sensor Ideas
 
(...) I think "oops" applies in this case. Your fix looks correct. (...) It doesn't have to be random, just each task needs a different delay. This is easy, since each task has to run its own version of the code. For task 3 insert 3 noops, for task (...) (28 years ago, 11-Nov-98, to lugnet.robotics)
 
  Re: Ultrasonic Radar
 
(...) Polaroid manufactures the 6500 series ultrasonic ranging system that can be purchased in single quantities for less than $50 US, but it can't be directly connected to the RCX. (See (URL) for ordering. See ftp://wirz.com/Polar...r/6500.PDF for (...) (28 years ago, 11-Nov-98, to lugnet.robotics)
 
  What about multiplexing sensors?
 
Has anyone attempted to mux the three sensor connections to expand the RCX's sensor capability? Think this is possible? I don't have an RCX of my own [yet] nor the EE capacity to pull this off, so I'm counting on the geniuses out there! --Steve (28 years ago, 11-Nov-98, to lugnet.robotics)
 
  Re: MindStorms at Robot Store (Hacking Lego Compatible Parts)
 
I have some black ones as well, I think its for colour coding - yellow for sensors, black for third motor. I think I prefer the old grey cable as its more flexible. Perhaps the stiff thin black cable is supposed to last longer. On the Cybermaster (...) (28 years ago, 11-Nov-98, to lugnet.robotics)
 
  Re: RCX Programming Questions and Sensor Ideas
 
(...) Does that support an arbitrary number of tasks? If there are n tasks numbered 1 to n, and task k delays for k cycles on failure, I think you still have to be careful to make sure that the number of tasks n is smaller than the loop overhead h (...) (28 years ago, 11-Nov-98, to lugnet.robotics)
 
  Tachocount
 
According to the Technical Reference, Tachocount counts the number of revolutions of the motor shafts (of the two built-in Cybermaster motors ONLY). I fiddled a liitle with it, but it doesn't seem too useful, first of all because the internal motors (...) (28 years ago, 11-Nov-98, to lugnet.robotics)
 
  Re: Tachocount
 
At least there's one thing that CyberMaster proved - That 3 inputs is not the limit of the H8 or even all the LEGO PBricks. Clearly CyberMaster have 5 inputs, although 2 of them are fixed just like the 2 fixed motors (which is not as bad as it (...) (28 years ago, 11-Nov-98, to lugnet.robotics)
 
  RE: MindStorms at Robot Store (Hacking Lego Compatible Parts)
 
Here's a piece I could use: a touch sensor (switch) that is normally closed, with a diode in it. The diode could also be separate, in a brick with contacts on the top and the bottom, so you can stack the sensor, the diode, and your hookup wire. It (...) (28 years ago, 11-Nov-98, to lugnet.robotics)
 
  Re: What about multiplexing sensors?
 
You can: 1. Put multiple Touch sensors on the same input but you can't tell which one was hit. 2. Put a Light and Touch sensor on the same input and read normal light levels except when the Touch is hit it the input will read 100. 3. There are a (...) (28 years ago, 11-Nov-98, to lugnet.robotics)
 
  RE: What about multiplexing sensors?
 
I'm thinking more along the lines of using all three outputs and all three inputs to code a multi (read "more than three of each input and/or output") I/O multiplexor? This inherently reduces the possible sample rate on each input or output (...) (28 years ago, 11-Nov-98, to lugnet.robotics)
 
  Re: What about multiplexing sensors?
 
(...) I've done it using an output port to control a MUX. I've been able to control up to three sensors through one input port. This could be extended to nine sensors through all three sensor ports. I'm working on ways to control more sensors both (...) (28 years ago, 11-Nov-98, to lugnet.robotics)
 
  Sensor inputs (more than three)
 
Has anyone noticed that each sensor input block has four connectors? If you connect one sensor to two connectors and another sensor to the other two, you essentially read both sensors simultaneously. If this could be munipulated somehow then you (...) (28 years ago, 11-Nov-98, to lugnet.robotics)
 
  Re: What about multiplexing sensors?
 
(...) I do. I only have two motors! 8^) But I'm looking at ways to use either the inputs to control the MUX or have an external control that the RCX can query to determine which sensor is currently active. ---Larry +---...---+ Larry Coffin (...) (28 years ago, 11-Nov-98, to lugnet.robotics)
 
  Re: What about multiplexing sensors?
 
(...) I guess I've lurked long enough...pardon my ignorance, but what's a MUX? --Andy (28 years ago, 11-Nov-98, to lugnet.robotics)
 
  Re: What about multiplexing sensors?
 
MUX is short for multiplexer. Just a switch that lets you hook multiple things to one input. (...) (28 years ago, 11-Nov-98, to lugnet.robotics)
 
  Re: What about multiplexing sensors?
 
(...) MUX is short for 'multiplexer' -- it is essentially a multi-switch device that switches a single input (or output) to multiple outputs (inputs). It would allow you to have 8 sensors (for example) connected to one input port and you could (...) (28 years ago, 11-Nov-98, to lugnet.robotics)
 
  Re: What about multiplexing sensors?
 
Okay...thanks. --Andy (28 years ago, 11-Nov-98, to lugnet.robotics)
 
  Re: What about multiplexing sensors?
 
(...) Hang on - if you use all 3 outputs to control the MUX (which leaves me wondering why you'd bother - trees falling in forests and all that) you can get 24 inputs, even if you only treat each output as binary. More plausibly, you can use 2 (...) (28 years ago, 11-Nov-98, to lugnet.robotics)
 
  Re: RCX Programming Questions and Sensor Ideas
 
In article <199811102221.OAA071...ford.EDU>, Kekoa Proudfoot <kekoa@Graphics.Stanford.EDU> quotes and writes (...) You are right, of course. (...) If it does I haven't found it. (28 years ago, 11-Nov-98, to lugnet.robotics)
 
  RE: What about multiplexing sensors?
 
You should be able to have three or more on/off sensors share a single input port without multiplexing. Just use a different resistor for each, so that any combination of pressing the three sensors yields a unique value out of 8 possible. For (...) (28 years ago, 11-Nov-98, to lugnet.robotics)

Next Page:  5 more | 10 more | 20 more
Redisplay Messages:  All | Compact

©2005 LUGNET. All rights reserved. - hosted by steinbruch.info GbR