To LUGNET HomepageTo LUGNET News HomepageTo LUGNET Guide Homepage
 Help on Searching
 
Post new message to lugnet.robotics.rcxOpen lugnet.robotics.rcx in your NNTP NewsreaderTo LUGNET News Traffic PageSign In (Members)
 Robotics / RCX / 311
310  |  312
Subject: 
RCX onboard timer and motor pulsing
Newsgroups: 
lugnet.robotics.rcx, lugnet.trains
Date: 
Thu, 23 Dec 1999 00:13:31 GMT
Viewed: 
1967 times
  
Hi All,
Since I am and train head I don't read .RCX (this topic might be well
exhausted)

I just read thru a third party book on the RCX and in one place he said the
timer granularity in 1/10 sec and in another it was 1/1000 sec.

My goal is to pulse LEGO train motors for better speed control and 1/10 sec is
inadequate are there any motor pulsing scenarios that have been worked out
with the RCX? I assume the drag and drop code won’t do this but can I get to
it via Visual Basic and the OCX?

SteveB
www.pnltc.org



Message has 3 Replies:
  Re: RCX onboard timer and motor pulsing
 
(...) It is 1/10 of a second for the timers. However, in case you don't know. The RCX's Motor ports PULSE their signal. They always put out the same voltage. At level 8 it's 100% at level 4 it's an even on/off. I use it for my trains and it's great. (...) (25 years ago, 23-Dec-99, to lugnet.robotics.rcx, lugnet.trains)
  Re: RCX onboard timer and motor pulsing
 
(...) The timers run at 1/10 sec, but granularity for "waiting" a task is 1/100 sec. The PWM used for motor output has granularity of 1/1000 sec. Dave Baum p.s. I hope it wasn't my book that stated 1/10 and 1/1000 - if so could you e-mail me the (...) (25 years ago, 23-Dec-99, to lugnet.robotics.rcx, lugnet.trains)
  Re: RCX onboard timer and motor pulsing
 
(...) I was just experimenting with this a few days ago. An RCX using PWM does a far better job of driving the LEGO train motors than the simple variable voltage from the LEGO train control. You can make a train creep around just above stall speed (...) (25 years ago, 6-Jan-00, to lugnet.robotics.rcx, lugnet.trains)

8 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