To LUGNET HomepageTo LUGNET News HomepageTo LUGNET Guide Homepage
 Help on Searching
 
Post new message to lugnet.robotics.nxtOpen lugnet.robotics.nxt in your NNTP NewsreaderTo LUGNET News Traffic PageSign In (Members)
 Robotics / NXT / 1017
1016  |  1018
Subject: 
Re: Hi-speed port communication
Newsgroups: 
lugnet.robotics.nxt
Date: 
Sat, 5 Jan 2008 17:54:12 GMT
Viewed: 
31262 times
  
In lugnet.robotics.nxt, Juergen Stuber wrote:
Hi Ross,

"Ross Crawford" <ross.{mylastname}@gmail.com> writes:
In lugnet.robotics.nxt, John Hansen wrote:

According to folks at LEGO you can simply use a sensor
wire to connect two NXTs together on port 4 and send
data back and forth using this sort of code.

Cool! I wonder if you could daisy-chain NXTs using this
technique, and if so, how many you could connect?

it should be possible to use RS-485 as a bus,
i.e. connect several NXTs with one cable.
You need to make the cable yourself, though,
and you may need some termination on the ends.



Hi all,
the physical connection of NXTs via RS485 is just the first half of the
solution...
Remeber, at 2-wire RS485 you can have one master only and up to 31 slaves.
To address each slave, you need to implement a special protocol which handles
unique access. Just one device is able to send data at the same time...
The master has to poll each device and send command requests, the slave has the
possibility to anser the masters request with a single response.

...

Christian



Message has 1 Reply:
  Re: Hi-speed port communication
 
I posted a zip to the NXC samples page containing a pair of programs that show how to send a message from one NXT to another over a wire connected between port 4 on both NXTs. (URL) Hansen (16 years ago, 7-Jan-08, to lugnet.robotics.nxt)

Message is in Reply To:
  Re: Hi-speed port communication
 
Hi Ross, (...) it should be possible to use RS-485 as a bus, i.e. connect several NXTs with one cable. You need to make the cable yourself, though, and you may need some termination on the ends. Jürgen (16 years ago, 4-Jan-08, to lugnet.robotics.nxt)

7 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
    

Custom Search

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