To LUGNET HomepageTo LUGNET News HomepageTo LUGNET Guide Homepage
 Help on Searching
 
Post new message to lugnet.robotics.nxt.nxthackingOpen lugnet.robotics.nxt.nxthacking in your NNTP NewsreaderTo LUGNET News Traffic PageSign In (Members)
 Robotics / NXT / NXT Firmware Hacking / 38
37  |  39
Subject: 
RE: Using NXT Port 4 EIA-485
Newsgroups: 
lugnet.robotics.nxt, lugnet.robotics.nxt.nxthacking
Date: 
Sun, 8 Apr 2007 16:28:13 GMT
Reply-To: 
<dickswan@sbcglobal./antispam/net>
Viewed: 
189 times
  
I've looked at implementing an interface for RobotC, but I've always
struggled with why bother since there are no applications that connect
to it.

I wish LEGO had implemented an option to provide a logic level "RS-232"
UART on port four. Yes, I know RS-232 defines +/-12V signal levels, but
there are many devices out there that, except for using logic voltage
levels, are identical to RS-232. This includes video cameras (CMUCAM,
AVRCAM) and a wide range of sensor MUXes, servo controller MUXes, GPS,
etc.

It looks like it would have been very simple to implement an additional
option for a logic-level serial link with some minor re-arrangement of
the existing I/O pins already used by sensor port 4.

You can't simply shift the RS-485 signals back to logic level because
RS-485 is half-duplex and it's not easy to tell the direction of
transmission. Most of the devices mentioned above require full-duplex
links. A full duplex link would make it easier to interface to many of
the devices mentioned above.

LEGO has defined baud rate of 921,600 bps for the RS-485 link. But since
any application is going to require custom firmware, this could easily
be changed to whatever you want within the hardware capabilities.

The one application that I can think of is connecting two (or more) NXTs
together. This would give similar capabilities to that available via
existing Bluetooth but at a higher bandwidth and much lower latency.

-----Original Message-----
From: news-gateway@lugnet.com [mailto:news-gateway@lugnet.com] On Behalf
Of John Barnes
Sent: Sunday, April 08, 2007 9:20 AM
To: lugnet.robotics.nxt@lugnet.com
Subject: Re: Using NXT Port 4 EIA-485

In lugnet.robotics.nxt, Christian Mock wrote:
Hi,
is there currently any software-support (pbLua, NXT-G, NXJ) for NXT • Port4 highspeed serial communication (EIA-485)?
Thanks for more informations
Christian

As far as I know, there isn't any support for this interface (RS-485
sensor port 4) in either the standard firmware or any of the other third
party firmware implementations.

The interface runs at 921,600 bps so it will be fast enough to be really
useful. I am hoping that, eventually, it will be supported.
JB



Message has 1 Reply:
  Re: Using NXT Port 4 EIA-485
 
(...) Hi, halfduplex is not the problem when connecting the NXT to an external MCU. My problem is the bitrate of 921,6 kbits/s. Simple cheap MCU like ATMega didn't support this bitrate (as far as I know). To add an external devices (e.g MCU+SD-Card (...) (17 years ago, 9-Apr-07, to lugnet.robotics.nxt, lugnet.robotics.nxt.nxthacking)

Message is in Reply To:
  Re: Using NXT Port 4 EIA-485
 
(...) As far as I know, there isn't any support for this interface in either the standard firmware or any of the other third party firmware implementations. The interface runs at 921,600 bps so it will be fast enough to be really useful. I am hoping (...) (17 years ago, 8-Apr-07, to lugnet.robotics.nxt)

15 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