To LUGNET HomepageTo LUGNET News HomepageTo LUGNET Guide Homepage
 Help on Searching
 
Post new message to lugnet.roboticsOpen lugnet.robotics in your NNTP NewsreaderTo LUGNET News Traffic PageSign In (Members)
 Robotics / 5227
5226  |  5228
Subject: 
Re: Lego Network Protocol questions
Newsgroups: 
lugnet.robotics.rcx.legos, lugnet.robotics
Date: 
Sun, 6 Jun 1999 02:48:29 GMT
Viewed: 
376 times
  
Kekoa Proudfoot <kekoa@pixel.Stanford.EDU> wrote:
I have implemented code to support this format for an unreleased version of
Librcx, and am of course willing to share source code.  I am hoping that
other people will either use this format or point out its deficiencies so
the format can be fixed.

I forgot to mention that one possible deficiency is the complements.  They
can be eliminated, for the most part, with careful counting of zeros.  I
haven't done any testing regarding this, so I don't know how many zeros in
a row will break reception, but I suspect that it's possible to make things
work by counting zeros and injecting an occasional FF into the stream if
the ratio of zeros to ones gets too high.

The only problem with doing this is that it complicates the choice of the
header.

-Kekoa



Message has 1 Reply:
  Re: Lego Network Protocol questions
 
(...) So of course I was curious about getting rid of the complements. Apparently, they are not necessary, or so my testing so far seems to indicate. Under the several lighting conditions I tried, and for distances of up to 27' (the farthest I could (...) (25 years ago, 6-Jun-99, to lugnet.robotics.rcx.legos, lugnet.robotics)

Message is in Reply To:
  Re: Lego Network Protocol questions
 
Regarding the IR protocol, I have elsewhere suggested the following simple low-level format: 1 start, 1 stop, 2400 baud, odd parity 55 f0 f0 L ~L D1 ~D1 .. Dn ~Dn C ~C L is number of data bytes, valid range 1..255, less depending on buffer sizes Dx (...) (25 years ago, 6-Jun-99, to lugnet.robotics.rcx.legos, lugnet.robotics)

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
    
Active threads in Robotics

 
Verified and Trusted Team of Hackers
53 minutes ago
Custom Search

©2005 LUGNET. All rights reserved. - hosted by steinbruch.info GbR