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 / 54443
  Power Function control with RCX and BrickOS
 
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 (...) (17 years ago, 25-Jan-08, to lugnet.general, lugnet.technic, lugnet.trains, lugnet.robotics, lugnet.announce, FTX) ! 
 
  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
 
(...) The toggle bit is checked in Single output mode (the documentation is not quite right for this mode) and in both single pin modes. each message is sent 5 times you need to toggle the toggle bit in every message sent. 0 1 0 1 0 1 0 1 etc. bob (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
 
(...) Okay, thanks. I can get 'Single output Mode' to work now. 'Single pin Mode' may be working too, but I'm not sure what to expect from it. I would expect setting either C1 or C2 would set them to 9V and run a motor forwards or backwards. Setting (...) (17 years ago, 26-Jan-08, to lugnet.general, lugnet.technic, lugnet.trains, lugnet.robotics, FTX)
 
  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
 
(...) Glad it worked for you and thanks for the heads up on the RCX 2.0 problems. i don't have a 2.0 RCX to play with so i'm not sure if it is a timing issue that can be resolved or what. i was very excited the first time i got my RCX to talk to the (...) (17 years ago, 26-Jan-08, to lugnet.general, lugnet.technic, lugnet.trains, lugnet.robotics)
 
  Re: Power Function control with RCX and BrickOS
 
(...) Well this was just a quickly hacked out example program to show how to use the library function that i wrote. i realized at the time that the PWM started out at fastest and went to slowest but i had run out of steam and never really got back (...) (17 years ago, 26-Jan-08, to lugnet.general, lugnet.technic, lugnet.trains, lugnet.robotics, FTX)
 
  Re: Power Function control with RCX and BrickOS
 
(...) i have not really spent a lot of time trying to figure these modes out. i was more concerned with getting the PWM to work correctly. i'm going to spend more time testing this and will let you know. bob (17 years ago, 26-Jan-08, to lugnet.general, lugnet.technic, lugnet.trains, lugnet.robotics, FTX)
 
  Re: Power Function control with RCX and BrickOS
 
(...) Could it be that the long range mode of IR is not set (I saw no reference to range setting in your source, and I don't know the default state). Despite the difference in carrier frequency, the RCX 1.0 and RCX2.0 are able to dialog albeit with (...) (17 years ago, 27-Jan-08, to lugnet.general, lugnet.technic, lugnet.trains, lugnet.robotics)
 
  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)
 
  [Q] LEGO NXT Book Recommendation
 
Greetings- What single book, if any, is considered the standard for LEGO NXT? -David (17 years ago, 29-Jan-08, to lugnet.robotics)
 
  Re: [Q] LEGO NXT Book Recommendation
 
David, Zitat von David C Matthews <lego-robotics@crynwr.com>: (...) What does "standard for LEGO NXT" mean? There are a lot of NXT-related books out there already, and they deal with a variety of different topics (see for instance (URL) ). I guess (...) (17 years ago, 29-Jan-08, to lugnet.robotics)
 
  Re: Power Function control with RCX and BrickOS
 
(...) Hey Bob I have just tested your code, and it works good.But is it possible that you could write some documentation to your code, it would be nice to fully understand what your doing. Best regards Kim Andersen (17 years ago, 17-Feb-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)
 
  Re: Power Function control with RCX and BrickOS
 
Hello Jetro, check this URL: (URL) found it after some googling... Greetings Maico Arts Jetro de Chateau schreef: (...) (16 years ago, 29-Mar-09, to lugnet.general, lugnet.technic, lugnet.trains, lugnet.robotics)
 
  Re: Power Function control with RCX and BrickOS
 
(...) sorry, i'm in the middle of moving all my web sites and links to a new server. you can now find the PF software and all the software that i have writen at this link: (URL) (16 years ago, 30-Mar-09, to lugnet.general, lugnet.technic, lugnet.trains, lugnet.robotics, FTX)

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