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 / 627
626  |  628
Subject: 
Re: Using NXT Port 4 EIA-485
Newsgroups: 
lugnet.robotics.nxt, lugnet.robotics.nxt.nxthacking
Date: 
Tue, 10 Apr 2007 12:01:17 GMT
Viewed: 
22368 times
  
In lugnet.robotics.nxt, Juergen Stuber wrote:
Hi Christian,

"Christian Mock" <chrimo-@-moccy.xdsnet.de> writes:

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).

the RS-485 interface is directly connected to the AT91SAM7S USART,
so you can choose the bit rate quite freely.

To add an external devices (e.g MCU+SD-Card or MCU+serial camera ) to NXT,
it seems to be neccessary to implement the P-Net-Protocol
(http://www.p-net.org).
Is this protocol allways used when using Port4 highspeed communication ?

No, it is not necessary, P-Net is just a field bus which seems to be
popular in Denmark, there are others which can be used with RS-485.

Any of these protocols based on RS-485 should be possible with the NXT.


Jürgen

Hi Juergen,

Yes, I found this night the entries at Lego-Source-Code...
and no line about P-NET-Protocol...
My first thought was to implement a simple p-net-node at own MCU, but now I can
try my own communication from NXT (master) to external MCU+SD-Card (slave) :D

Thanks for your information
Bye
Christian



Message has 1 Reply:
  Re: Using NXT Port 4 EIA-485
 
(...) Does anybody have an NXC program that demonstrates the use of RS485 communications? (17 years ago, 25-May-07, to lugnet.robotics.nxt, lugnet.robotics.nxt.nxthacking)

Message is in Reply To:
  Re: Using NXT Port 4 EIA-485
 
Hi Christian, (...) the RS-485 interface is directly connected to the AT91SAM7S USART, so you can choose the bit rate quite freely. (...) No, it is not necessary, P-Net is just a field bus which seems to be popular in Denmark, there are others which (...) (18 years ago, 10-Apr-07, to lugnet.robotics.nxt, lugnet.robotics.nxt.nxthacking)

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