To LUGNET HomepageTo LUGNET News HomepageTo LUGNET Guide Homepage
 Help on Searching
 
Post new message to lugnet.robotics.rcx.nqcOpen lugnet.robotics.rcx.nqc in your NNTP NewsreaderTo LUGNET News Traffic PageSign In (Members)
 Robotics / RCX / NQC / 139
    Re: Tasks vs. program slots —Dave Baum
   (...) RCX contains 5 programs. Each program can have up to 10 tasks and 8 subroutines. Only one program may run at any given time, multitasking is between tasks in the same program. There is no known programmatic way of transferring control from one (...) (25 years ago, 17-Sep-99, to lugnet.robotics.rcx.nqc)
   
        Re: Tasks vs. program slots —Matthew Miller
   (...) This is why it might be nice to get the remote control reverse engineered -- we may discover a way. (25 years ago, 17-Sep-99, to lugnet.robotics.rcx.nqc)
   
        Re: Tasks vs. program slots —Dave Baum
   (...) The remote control always sends the same sort of packet: d2 xx yy where xxyy is a sixteen bit bit-field indicating what features should be activated: xxyy 0001 Message 1 0002 Message 2 0004 Message 3 0008 Motor A Forward 0010 Motor B Forward (...) (25 years ago, 18-Sep-99, to lugnet.robotics.rcx.nqc)
   
        Re: Tasks vs. program slots —Matthew Miller
     (...) Too bad! So, the next thing I wonder is if there's any way to get an RCX to _send_ these packets to another RCX... (25 years ago, 18-Sep-99, to lugnet.robotics.rcx.nqc)
   
        Re: Tasks vs. program slots —Nick Taylor
    Hello Dave, First, let me thank you for NQC ... you've made my RCX playing tremendously more rewarding. I've been wanting to use a Sharp IR receiver to demodulate the signal from a LEGO remote control, and then a PIC to decode the rx output for use (...) (25 years ago, 18-Sep-99, to lugnet.robotics.rcx.nqc)
   
        Re: Tasks vs. program slots —Dave Baum
   (...) What exactly does the Sharp IR receiver do? If it uses Sharp's ASK modulation, then you may have a problem. Ideally, what you want is something like a phototransistor to a good preamp, followed by a bandpass around 38kHz, then some sort of (...) (25 years ago, 18-Sep-99, to lugnet.robotics.rcx.nqc)
   
        Re: Tasks vs. program slots —Nick Taylor
     (...) The Sharp GP1U581Y is a 38kHz receiver that incorporates an amp, a limiter, a bandpass filter, and a demodulator ... outputs a low while receiving an IR signal, a +5V high when not. It does NOT do any decoding. (...) From what I've been seeing (...) (25 years ago, 18-Sep-99, to lugnet.robotics.rcx.nqc)
    
         Re: Tasks vs. program slots —Dave Baum
     (...) They are one and the same. When transmitting, the IR tower just uses the RS-232 TXD line to switch on the 38kHz carrier. It also has some timing circuitry to keep it alive, and an Rx side, but the Tx is painfully simple. You'll probably see (...) (25 years ago, 18-Sep-99, to lugnet.robotics.rcx.nqc)
   
        Re: Tasks vs. program slots —Dennis Clark
   (...) Dave, It is basically just exactly what you describe. It usually takes about 200us or so to "see" the incoming 38KHz signal, common I suppose for an integrator to react to the signal getting through the band-pass filter, then a Schmidt trigger (...) (25 years ago, 20-Sep-99, to lugnet.robotics.rcx.nqc)
   
        Re: Tasks vs. program slots —Dave Baum
   (...) Yes, it appears to use the same packet level formatting. It does use a new bytecode (0xd2) that isn't seen elsewhere. This bytecode needs two bytes of data to follow. These three bytes of "payload" are encoded the usual way with a three byte (...) (25 years ago, 20-Sep-99, to lugnet.robotics.rcx.nqc)
 

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