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 / 14945
  Re: RCX and train motors...
 
(...) 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...
 
(...) 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...
 
(...) 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...
 
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...
 
(...) 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...
 
(...) 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...
 
(...) 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...
 
(...) 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)

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