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 / 1012
1011  |  1013
Subject: 
Re: Hi-speed port communication
Newsgroups: 
lugnet.robotics.nxt
Date: 
Fri, 4 Jan 2008 09:19:29 GMT
Viewed: 
30675 times
  
In lugnet.robotics.nxt, John Hansen wrote:

Once you have initialized the port type and the hi-speed state machine by
calling SetHsState(HS_INITIALISE) and SetHsFlags(HS_UPDATE) then reading
messages is about as simple as calling GetHSInputBuffer(offset, size, buffer);

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?

ROSCO



Message has 2 Replies:
  Re: Hi-speed port communication
 
(...) Two. Input port #4 fills up pretty quick. Should give a nice performance boost over BT though. (16 years ago, 4-Jan-08, to lugnet.robotics.nxt)
  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)

Message is in Reply To:
  Hi-speed port communication
 
I've been getting a number of emails from some people who want to know how to use the hi-speed RS-485 port 4 functionality in the NXT using the standard firmware. With John Barnes' help I now know how to get it to work correctly. Here is a simple (...) (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