To LUGNET HomepageTo LUGNET News HomepageTo LUGNET Guide Homepage
 Help on Searching
 
Post new message to lugnet.robotics.rcx.legosOpen lugnet.robotics.rcx.legos in your NNTP NewsreaderTo LUGNET News Traffic PageSign In (Members)
 Robotics / RCX / legOS / 230
229  |  231
Subject: 
Re: Lego Network Protocol questions
Newsgroups: 
lugnet.robotics.rcx.legos, lugnet.robotics
Date: 
Mon, 14 Jun 1999 15:56:36 GMT
Viewed: 
2920 times
  
Ralph Hempel wrote in message <000001beb0e4$f9d0df00$0500000a@pro150>...
I'll back you up on this. My pbFORTH sends a simple character stream and it
seems to work fine. No complements are necessary.

   I'll back you up on this as well.  I did some experiments using two
towers connected to two different PCs, and found that I could send raw bytes
from one PC to the other without any complements.

   Also remember that the RS-232 start and stop bits will inject both logic
levels every 10 bits or so, which should prevent long series of 0's or 1's
from causing ambient light level problems, although I must admit that I am
not completely familiar with the issues involved in IR transmission and the
Lego tower hardware.

I sure would like to be
able to keep the RCX tower alive, though. I wonder if it's the character • going
through that keeps the tower alive, or if wiggling RTS or other control • line up
and down would be enough.....

   Further tesing showed that toggling the various RS-232 control lines via
software had no effect on keeping the tower alive.  As far as I can tell,
the tower only wakes up when it sees a start bit on the data line.  (I
didn't have a breakout box to test this theory, but I plan to hack together
a serial cable with just two wires - transmit and ground - to verify that
the tower only needs a signal on this one wire to wake up.)

   I'll post the results when they are in, but it looks like the only way to
keep the tower alive is to periodically transmit at least one byte from the
PC.  Since most network protocols require periodic acknowledge or heartbeat
messages, this should not be an insurmountable problem, but it definitely
limits how long the RCX can talk without pausing to let the PC respond.



Message is in Reply To:
  RE: Lego Network Protocol questions
 
(...) I'll back you up on this. My pbFORTH sends a simple character stream and it seems to work fine. No complements are necessary. I sure would like to be able to keep the RCX tower alive, though. I wonder if it's the character going through that (...) (25 years ago, 7-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
    

Custom Search

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