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 / 27357
27356  |  27358
Subject: 
Re: Power Function control with RCX and BrickOS
Newsgroups: 
lugnet.general, lugnet.technic, lugnet.trains, lugnet.robotics
Date: 
Sat, 26 Jan 2008 03:46:38 GMT
Viewed: 
2292 times
  
Bob Kojima wrote:
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

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 able to have that yellow
bulldozer race around my floor all via the glory of RCX control; AND
under PWM.

This was a lot of fun, and I cant wait to build it into a robot for one
of rtl's next games.

Just cause I can, I then downloaded the BrickOS firmware, and the
program, into a 2.0 RCX. I am sad to say I could not get the RCX to
control the Bulldozer reliably.  The firmware, and program loaded with
out a hitch. But as Philo, and Mark discussed here:

http://news.lugnet.com/robotics/rcx/?n=2228

The 1.0 and the 2.0 RCX use 2 different IR frequencies. I had to hold
the RCX within inch's of the PF recievers to get it to accept any
signal, and then, the funny part was that even with the 2.0 RCX off, the
PF still kept driving the left track FWD.

:)

Just wanted to let you know.  Again, Thank you.


Chris



Message has 1 Reply:
  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)

Message is in Reply To:
  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) ! 

17 Messages in This Thread:







Entire Thread on One Page:
Nested:  All | Brief | Compact | Dots
Linear:  All | Brief | Compact

This Message and its Replies on One Page:
Nested:  All | Brief | Compact | Dots
Linear:  All | Brief | Compact
    
Active threads in Robotics

 
Verified and Trusted Team of Hackers
7 hours ago
Custom Search

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