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 / 2149
2148  |  2150
Subject: 
Re: Help with my IR tower
Newsgroups: 
lugnet.robotics
Date: 
Sat, 2 Jan 1999 11:58:18 GMT
Original-From: 
Adrian Godwin <adrian@fangorn.demon.coANTISPAM.uk>
Viewed: 
1319 times
  
I've had no problems with the Mindstorm's use of the IR tower, but some
problems with the Rcx.tcl script under Linux. I'm using /dev/ttyS0 (COM1)
with the Lego-supplied 9/25 adapter.

Initially, the script failed to get any echo or ping response from the RCX.
Running Kermit on the same port, I found that the first 40 - 50 characters
echoed were garbage, but after a little while the transmitted characters
were echoed. If I stopped typing, the IR tower LED went out and the same
behaviour was repeated. This seems to me like a problem with a data slicer -
the IR receiver floats to a poor slice level when there's no data and
eventually stablilises after it's seen enough bits to average to a reasonable
level. This is consistent with the need to have the IR messages 'balanced'.

However, I then ran nqcc : this seemed to talk OK. And afterwards, rcx.tcl
worked, and Kermit showed correctly-echoed characters after a much shorter
sequence was sent.

Does nqcc do something to the port that rcx-tcl needs ? Perhaps set some
handshake line correctly, and leave it set ? Something that might affect
the behaviour of the IR receiver ?

-adrian



--
Did you check the web site first?: http://www.crynwr.com/lego-robotics



1 Message 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