To LUGNET HomepageTo LUGNET News HomepageTo LUGNET Guide Homepage
 Help on Searching
 
Post new message to lugnet.trainsOpen lugnet.trains in your NNTP NewsreaderTo LUGNET News Traffic PageSign In (Members)
 Trains / 29942
29941  |  29943
Subject: 
Power Function control with RCX and BrickOS
Newsgroups: 
lugnet.general, lugnet.technic, lugnet.trains, lugnet.robotics, lugnet.announce
Followup-To: 
lugnet.general, lugnet.technic, lugnet.trains, lugnet.robotics
Date: 
Fri, 25 Jan 2008 20:03:10 GMT
Highlighted: 
! (details)
Viewed: 
2524 times
  
Now you can use your RCX to control LEGO Power Functions. That’s right the RCX can act as a PF remote control but it can do something that the PF remote can’t do yet. The RCX can do PWM with your PF reciever moduals.

You do not need to install BrickOS to get this to work. The executable that you need and the BrickOS firmware are included in this packet.

Get it here: http://www.fial.com/bob/lego/PowerFunctions.zip

The zip file includes a sample program that uses 2 rotation sensors to control the PWM on the red and blue ports it can also send controls to all 4 PF chanels. Also included is a .h file that impliments the complete Power functions protocol for BrickOS.


Please let me know of any changes or bugs that need to be addressed.


Bob



Message has 5 Replies:
  Re: Power Function control with RCX and BrickOS
 
(...) I don't have BrickOS, but I have been playing with the protocols in NBC. I got the twin-motor PWM mode to work in tests, and the original 'Combo direct'. But I can't get 'Single output' or either of the 'Single pin' modes to work. Have you had (...) (17 years ago, 25-Jan-08, to lugnet.general, lugnet.technic, lugnet.trains, lugnet.robotics, FTX)
  Re: Power Function control with RCX and BrickOS
 
(...) Bob, I could not wait to get home from work to try this. I want to say thank you; your effort has saved me many countless hours. I loaded the Firmware, and the Program into a 1.0 RCX, and the brick worked flawlessly! On my 1.0 brick, I was (...) (17 years ago, 26-Jan-08, to lugnet.general, lugnet.technic, lugnet.trains, lugnet.robotics)
  Re: Power Function control with RCX and BrickOS
 
Thank you very much for that fine piece of software Bob! After reading your post I immediately run in my LEGO room to grab an RCX and the IR tower to test your software. Well, I had to find out that I had not enough batteries at home and thus had to (...) (17 years ago, 26-Jan-08, to lugnet.general, lugnet.technic, lugnet.trains, lugnet.robotics, FTX)
  Re: Power Function control with RCX and BrickOS
 
A new version of my Power Functins library and PWM remote are now available at: (URL) There was some code cleanup and fine tuning. The PWM remote program now goes from slowest to fasted speed. give it a try and thanks for all the feed back so far. (...) (17 years ago, 28-Jan-08, to lugnet.general, lugnet.technic, lugnet.trains, lugnet.robotics, FTX)
  Re: Power Function control with RCX and BrickOS
 
(...) Unfortunately the link no longer works and I can't find it anywhere on your new website either. Is it still available anywhere? Thanks in advance Jetro (16 years ago, 29-Mar-09, to lugnet.general, lugnet.technic, lugnet.trains, lugnet.robotics, FTX)

17 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