To LUGNET HomepageTo LUGNET News HomepageTo LUGNET Guide Homepage
 Help on Searching
 
Post new message to lugnet.generalOpen lugnet.general in your NNTP NewsreaderTo LUGNET News Traffic PageSign In (Members)
 General / 54494
Subject: 
Re: Power Functions infra-red RC protocol released!
Newsgroups: 
lugnet.general, lugnet.technic, lugnet.trains, lugnet.robotics
Date: 
Sat, 2 Feb 2008 21:44:07 GMT
Viewed: 
22785 times
  
In lugnet.general, John Hansen wrote:
In lugnet.general, Philippe Hurbain wrote:

The LEGO company just released a document detailing the complete protocol
used by Power Functions RC receiver.

In collaboration with Jason Railton I have modified/extended the NBC and NXC API
functions for the HiTechnic iRLink device in support of the newly documented
Power Function modes as well as the R/C Train IR protocol.  I uploaded a new
test_release zip to the BricxCC page with NBC and BricxCC executable updates
with these new API functions included in the compiler and BricxCC syntax
highlighter/code completion support for NBC and NXC programs.  These updates
will be in the next beta release of NBC/NXC and the next official BricxCC
release.


<snip>

Nicely done John!

Is there a tentative timeframe when NQC for the RCX will be updated to support
IR to the LEGO powerfunctions?

Dave K


Subject: 
Re: Power Functions infra-red RC protocol released!
Newsgroups: 
lugnet.general, lugnet.technic, lugnet.trains, lugnet.robotics
Date: 
Sun, 3 Feb 2008 22:12:03 GMT
Viewed: 
22503 times
  
In lugnet.general, David Koudys wrote:
In lugnet.general, John Hansen wrote:
In lugnet.general, Philippe Hurbain wrote:

The LEGO company just released a document detailing the complete protocol
used by Power Functions RC receiver.

In collaboration with Jason Railton I have modified/extended the NBC and NXC API
functions for the HiTechnic iRLink device in support of the newly documented
Power Function modes as well as the R/C Train IR protocol.  I uploaded a new
test_release zip to the BricxCC page with NBC and BricxCC executable updates
with these new API functions included in the compiler and BricxCC syntax
highlighter/code completion support for NBC and NXC programs.  These updates
will be in the next beta release of NBC/NXC and the next official BricxCC
release.


<snip>

Nicely done John!

Is there a tentative timeframe when NQC for the RCX will be updated to support
IR to the LEGO powerfunctions?

Dave K

I doubt that's possible - a bytecode program just can't run fast enough to do
the timing for the IR commands, on either brick.  The NXT can only manage it
because it sends them over a slow comms link to a HiTechnic IRLink sensor, then
that handles the actual transmission.  The only way the RCX could do it with
it's built-in IR LED is to code the functions into a replacement firmware, as
with Bob Kojima's BrickOS example:

http://news.lugnet.com/general/?n=54443

Jason R


Subject: 
Re: Power Functions infra-red RC protocol released!
Newsgroups: 
lugnet.general, lugnet.technic, lugnet.trains, lugnet.robotics
Date: 
Mon, 4 Feb 2008 15:31:11 GMT
Viewed: 
22659 times
  
In lugnet.general, Jason J Railton wrote:

<snip>

I doubt that's possible - a bytecode program just can't run fast enough to do
the timing for the IR commands, on either brick.  The NXT can only manage it
because it sends them over a slow comms link to a HiTechnic IRLink sensor, then
that handles the actual transmission.  The only way the RCX could do it with
it's built-in IR LED is to code the functions into a replacement firmware, as
with Bob Kojima's BrickOS example:

http://news.lugnet.com/general/?n=54443

Jason R

I'm runnign Dick Swan's alternate firmware that he sent me a while back.

Dave K


Subject: 
Re: Power Functions infra-red RC protocol released!
Newsgroups: 
lugnet.general, lugnet.technic, lugnet.trains, lugnet.robotics
Date: 
Mon, 4 Feb 2008 20:06:55 GMT
Viewed: 
23200 times
  
In lugnet.general, David Koudys wrote:
I'm runnign Dick Swan's alternate firmware that he sent me a while back.

Dave K

Dick Swan's replacement RCX firmware also does not support directly manipulating
the IR led and it doesn't support microsecond timing control.  Both of these
features would be required in order to send the IR messages to a Power Function
or R/C train receiver.  The only way RCX firmwares that are VM-based could
support emitting PF IR streams is if some setting in the UART area of the
firmware could be tweaked to emit bytes in a PF-compatible mode.  To the best of
my knowledge this is not possible in either the standard RCX firmware or in
Dick's RCX-compatible firmware.  John Barnes or Michael Barrett Anderson
(amongst others) would probably know for certain.

John Hansen


Subject: 
Re: Power Functions infra-red RC protocol released!
Newsgroups: 
lugnet.general, lugnet.technic, lugnet.trains, lugnet.robotics
Date: 
Mon, 4 Feb 2008 20:43:06 GMT
Viewed: 
23118 times
  
In lugnet.general, John Hansen wrote:
In lugnet.general, David Koudys wrote:
I'm runnign Dick Swan's alternate firmware that he sent me a while back.

Dave K

Dick Swan's replacement RCX firmware also does not support directly manipulating
the IR led and it doesn't support microsecond timing control.  Both of these
features would be required in order to send the IR messages to a Power Function

rats!


or R/C train receiver.  The only way RCX firmwares that are VM-based could
support emitting PF IR streams is if some setting in the UART area of the
firmware could be tweaked to emit bytes in a PF-compatible mode.  To the best of
my knowledge this is not possible in either the standard RCX firmware or in
Dick's RCX-compatible firmware.  John Barnes or Michael Barrett Anderson
(amongst others) would probably know for certain.

John Hansen

Thanks for the heads up, John

Looks like I really have to start brushing up on my NXT 'bot building now.

Dave K


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