| | 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 (...) (17 years ago, 4-Jan-08, to lugnet.robotics.nxt)
|
|
| | Re: Hi-speed port communication
|
|
(...) Cool! I wonder if you could daisy-chain NXTs using this technique, and if so, how many you could connect? ROSCO (17 years ago, 4-Jan-08, to lugnet.robotics.nxt)
|
|
| | Re: Hi-speed port communication
|
|
(...) Two. Input port #4 fills up pretty quick. Should give a nice performance boost over BT though. (17 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 (17 years ago, 4-Jan-08, to lugnet.robotics.nxt)
|
|
| | Re: Hi-speed port communication
|
|
(...) Thanks John. I agree that from the electrical point of view, just connecting one port 4 to another port 4 should just work with no hardware other than the cable (for short lengths, like the cables that come with the NXT). For longer cables, a (...) (17 years ago, 5-Jan-08, to lugnet.robotics.nxt)
|
|
| | Re: Hi-speed port communication
|
|
(...) 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 (...) (17 years ago, 5-Jan-08, to lugnet.robotics.nxt)
|
|
| | 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 (17 years ago, 7-Jan-08, to lugnet.robotics.nxt)
|