To LUGNET HomepageTo LUGNET News HomepageTo LUGNET Guide Homepage
 Help on Searching
 
Post new message to lugnet.robotics.rcx.nqcOpen lugnet.robotics.rcx.nqc in your NNTP NewsreaderTo LUGNET News Traffic PageSign In (Members)
 Robotics / RCX / NQC / 226
225  |  227
Subject: 
Re: Connecting two RCX's
Newsgroups: 
lugnet.robotics.rcx.nqc
Date: 
Thu, 4 Nov 1999 09:56:51 GMT
Viewed: 
2481 times
  
|>I have two RCX bricks and would like them to co-operate without using the
|>IR-Port. Is it possible to communicate by attaching a motor port of the
|>first RCX to a sensor port of the second? As far as I know the motors work
|>on 9V and the sensors on 5V, but maybe it is possible by setting the motor
|>on low power?
|
|  Actually, the sensors run on 9V too.

Does this mean I can simply wire them, without blowing up one of the RCX
bricks?

| Why would you not want to use the IR port to get them to cooperate?
|The "message" system built into them makes this the IDEAL way to
communicate,
|expecially since you won't be tying up a sensor input or a motor output
|either.


I'm building a robot that is capable of building and using a map. For this
I've put a maze of lines on the floor. The robot has five sensors, two
rotation sensors for measuring distances, driving straight, making turns of
90 degrees, etc. and three light sensors to observe the lines on the floor.
The first RCX is connected to the rotation sensors and the two motors I use.
The second is attached to the three light sensors. All information is sent
to my PC, where I make and use the map. There is a lot of communication
going between the PC and my two RCX bricks. I have created a protocol in
which the tower tries to 'connect' to one of the rcx bricks and then query
it, give it commands, etc. Currently there is no IR-Communication between
the bricks.

My problem is that the robot must react (stop) as soon as a line on the
floor is detected. Because the line is detected by one RCX and the motors
are controlled by the second, I have to send the detect line message to the
PC, which sends a stop command to the other brick. This can be too slow if
the PC just started a lengthy sensor query on one of the bricks: the robot
crosses the line without taking action. To solve this problem I would like
to connect the two bricks by wiring one of the motor outputs of the 'line
detect' RCX to the single free sensor input of the 'motor' RCX.

So that's why I want to wire them. If you have a better solution to my
problem (which is mainly caused by needing too much sensor for one RCX) let
me know!

Joost



Message is in Reply To:
  Re: Connecting two RCX's
 
(...) Actually, the sensors run on 9V too. Why would you not want to use the IR port to get them to cooperate? The "message" system built into them makes this the IDEAL way to communicate, expecially since you won't be tying up a sensor input or a (...) (25 years ago, 3-Nov-99, to lugnet.robotics.rcx.nqc)

5 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