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 / 11298
11297  |  11299
Subject: 
Re: RCX motor pulsing
Newsgroups: 
lugnet.trains, lugnet.robotics
Date: 
Tue, 22 May 2001 00:18:47 GMT
Viewed: 
890 times
  
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.>

SteveB



Message has 1 Reply:
  Re: RCX motor pulsing
 
(...) 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 (...) (23 years ago, 22-May-01, to lugnet.trains, lugnet.robotics)

Message is in Reply To:
  Re: RCX motor pulsing
 
(...) The good news is that the RCX outputs are pulse-width modulated. bye Bernardo New e-mail: dibbe@freestation.it (23 years ago, 19-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

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

Custom Search

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