To LUGNET HomepageTo LUGNET News HomepageTo LUGNET Guide Homepage
 Help on Searching
 
Post new message to lugnet.trainsOpen lugnet.trains in your NNTP NewsreaderTo LUGNET News Traffic PageSign In (Members)
 Trains / 11302
11301  |  11303
Subject: 
Re: RCX motor pulsing
Newsgroups: 
lugnet.trains, lugnet.robotics
Date: 
Tue, 22 May 2001 22:38:14 GMT
Viewed: 
903 times
  
"Steve Barile" <sebarile@sstanamera.com> writes:

I have controlled LEGO trains via the RCX many times. The question is how to
control the speed of the train under a finer ganularity then just the native
power levels.

snip ...this comment has promise! Can you vary the width of the pulse?
<The good news is that the RCX outputs are pulse-width modulated.>

Yes.  When you set the power for an output port actually you select the
duty cycle of a square wave.  The granularity depends on firwmare.  With
standard firmware you can select between 7 power levels; legOS has 255
levels.

bye
Bernardo
New e-mail: dibbe@freestation.it



Message is in Reply To:
  Re: RCX motor pulsing
 
I have controlled LEGO trains via the RCX many times. The question is how to control the speed of the train under a finer ganularity then just the native power levels. snip ...this comment has promise! Can you vary the width of the pulse? <The good (...) (23 years ago, 22-May-01, to lugnet.trains, lugnet.robotics)

25 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