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 / 40
39  |  41
Subject: 
Re: Using NXT Port 4 EIA-485
Newsgroups: 
lugnet.robotics.nxt, lugnet.robotics.nxt.nxthacking
Date: 
Tue, 10 Apr 2007 10:16:25 GMT
Viewed: 
150 times
  
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

--
Jürgen Stuber <juergen@jstuber.net>
http://www.jstuber.net/
gnupg key fingerprint = 2767 CA3C 5680 58BA 9A91  23D9 BED6 9A7A AF9E 68B4



Message has 1 Reply:
  Re: Using NXT Port 4 EIA-485
 
(...) 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 (...) (18 years ago, 10-Apr-07, to lugnet.robotics.nxt, lugnet.robotics.nxt.nxthacking)

Message is in Reply To:
  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 (...) (18 years ago, 9-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