To LUGNET HomepageTo LUGNET News HomepageTo LUGNET Guide Homepage
 Help on Searching
 
Post new message to lugnet.org.ca.rtltorontoOpen lugnet.org.ca.rtltoronto in your NNTP NewsreaderTo LUGNET News Traffic PageSign In (Members)
 Organizations / Canada / rtlToronto / 14942
    RCX and train motors... —David Koudys
   You want some fun?? Try this some time-- Take one RCX (preferably with AC adapter) Take one Train track connecting wire. Connect wire to Port A (or B or C--matters not) Connect leads to train track Put locomotive on train track. Now, get a RCX (...) (19 years ago, 14-Oct-05, to lugnet.org.ca.rtltoronto)
   
        Re: RCX and train motors... —Brian Davis
     (...) hehe. Yeah, when my son & I got our first train, we ran it off the regulator for about 30 seconds before trying the RCX thing. The next 10 minutes was spent seeing who could "throw" the train motor the furthest. (...) Hmm. As I recall, I could (...) (19 years ago, 14-Oct-05, to lugnet.org.ca.rtltoronto)
    
         Re: RCX and train motors... —David Koudys
     In lugnet.org.ca.rtltoronto, Brian Davis wrote: <snip> (...) I think there are a few variables--I saw the videos of the GBC--that's what inspired me, btw--and it's a pretty big loop--therefore more resistance in the rails. I'm running a pretty small (...) (19 years ago, 14-Oct-05, to lugnet.org.ca.rtltoronto)
    
         Re: RCX and train motors... —Chris Magno
     (...) have you tried making your own PWM speed setting in NQC? 5 X = ?? Y = ?? 10 ? CLR 20 motor A ON 30 wait x 40 motor A OFF 50 wait Y 60 goto 20 Man I wish NQC was that easy. either way you get the idea. you can PWM the RCX yourself and control (...) (19 years ago, 14-Oct-05, to lugnet.org.ca.rtltoronto)
    
         Re: RCX and train motors... —Brian Davis
      (...) Cool to know. (...) Then you need another bank of sensors, perhaps, to tell you when a train is coming "near" the siding, for instance. Cruise speed until near a siding, then slow speed to approach siding, and finally "creeping" speed to (...) (19 years ago, 14-Oct-05, to lugnet.org.ca.rtltoronto)
     
          Re: RCX and train motors... —Chris Magno
       (...) sorry Brian, I stand by my original statement, I WISH "C" was as easy to grok as BASIC. My understanding from Dave, was that he was just looking for a way to slow an unloaded car down. Either way, software exists to "roll your own" PWM. as to (...) (19 years ago, 14-Oct-05, to lugnet.org.ca.rtltoronto)
      
           Re: RCX and train motors... —Derek Raycraft
       (...) layout. They can also be constructed to sit beside the track if you don't space under the track. Derek (19 years ago, 14-Oct-05, to lugnet.org.ca.rtltoronto)
     
          Re: RCX and train motors... —Mark Riley
      (...) No need to write it, it already exists! Find it here: (URL) never got around to actually posting this code in a public place as I've just emailed it directly to interested individuals. Anyways, there's a patch to BrickOS, the DCC routines (...) (19 years ago, 19-Oct-05, to lugnet.org.ca.rtltoronto)
     
          Re: RCX and train motors... —David Koudys
      (...) Hey Mark, I've been using LDCC for a while now--very happy with it, btw... Anyway, you say you have thins thing for BrickOS-I've never used that--I only program in NQC Is this routine adaptable to NQC so I can have NQC and LDCC running on the (...) (19 years ago, 20-Oct-05, to lugnet.org.ca.rtltoronto)
     
          Re: RCX and train motors... —Mark Riley
      (...) Well, you couldn't translate the DCC routines to NQC (if that's what you're asking) because the byte code interpreter used by NQC is simply too slow to generate the correct waveform (by a factor of about 1000!) The DCC routines were written in (...) (19 years ago, 20-Oct-05, to lugnet.org.ca.rtltoronto)
    
         Re: RCX and train motors... —David Koudys
     In lugnet.org.ca.rtltoronto, Chris Magno wrote: <snip> (...) See, this is why I like Chris--we both think along the same lines... I did try this, with various delays on power on and power off--eitehr the train is too jumpy, doesn't move, or still (...) (19 years ago, 14-Oct-05, to lugnet.org.ca.rtltoronto)
   
        Re: RCX and train motors... —Steve Hassenplug
     (...) ... (...) ... (...) Add cars to the train. Then, the speeds will make more of a difference. If you're using the Swan firmware, you may have more control over the motor speed. I think there's a setting for power/break instead of the normal (...) (19 years ago, 14-Oct-05, to lugnet.org.ca.rtltoronto)
   
        Re: RCX and train motors... —John Barnes
     (...) We have been using an RCX to control trains running back and forth on a track which has a terminus at each end, not a loop. (To make this sensorless, there are diodes inserted in the track at each end so trains can power out of the station, (...) (19 years ago, 14-Oct-05, to lugnet.org.ca.rtltoronto)
   
        Re: RCX and train motors... —Bob Hayes
   (...) [snip] (...) Try adding a few lights on to the output in addition to the track connector - this will use some of the power and slow the train down. I think this is what Tom Cook did to slow down some RCX controled trolleys that we had in a (...) (19 years ago, 14-Oct-05, to lugnet.org.ca.rtltoronto)
   
        Re: RCX and train motors... —David Koudys
   In lugnet.org.ca.rtltoronto, Bob Hayes wrote: <snip> (...) Thanks for the idea--remembered that from the LDCC motor-to-sensor port wiring thingy, so tried it. Put 2 lights--not much difference. Put a stack of 3 lights on a side (6 lights), little (...) (19 years ago, 14-Oct-05, to lugnet.org.ca.rtltoronto)
 

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