|
"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:
![](/news/x.gif) | | 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: ![9V train motor(s????) -Jeroen de Haan (15-May-01 to lugnet.trains)](/news/x.gif) ![](/news/246.gif) ![Re: 9V train motor(s????) -Reinhard "Ben" Beneke (15-May-01 to lugnet.trains)](/news/x.gif) ![](/news/246.gif) ![Motor control -Lester Witter (15-May-01 to lugnet.trains)](/news/x.gif) ![](/news/246.gif) ![Re: Motor control -Jason J. Railton (15-May-01 to lugnet.trains)](/news/x.gif)
![](/news/x.gif) ![](/news/28.gif) ![](/news/x.gif) ![](/news/28.gif) ![](/news/x.gif) ![](/news/268.gif) ![Re: Motor control -Jason J. Railton (15-May-01 to lugnet.trains)](/news/x.gif) ![](/news/246.gif) ![Re: Motor control -Reinhard "Ben" Beneke (15-May-01 to lugnet.trains)](/news/x.gif) ![](/news/46.gif) ![Re: Motor control -Reinhard "Ben" Beneke (15-May-01 to lugnet.trains)](/news/x.gif)
![](/news/x.gif) ![](/news/28.gif) ![](/news/x.gif) ![](/news/28.gif) ![](/news/x.gif) ![](/news/28.gif) ![](/news/x.gif) ![](/news/68.gif) ![Re: Motor control -Sonnich Jensen (16-May-01 to lugnet.trains)](/news/x.gif) ![](/news/46.gif) ![RCX motor pulsing -Steven Barile (18-May-01 to lugnet.trains, lugnet.robotics)](/news/x.gif) ![](/news/246.gif) ![Re: RCX motor pulsing -Stef Mientki (19-May-01 to lugnet.trains, lugnet.robotics)](/news/x.gif)
![](/news/x.gif) ![](/news/28.gif) ![](/news/x.gif) ![](/news/28.gif) ![](/news/x.gif) ![](/news/28.gif) ![](/news/x.gif) ![](/news/x.gif) ![](/news/268.gif) ![Re: RCX motor pulsing -Sonnich Jensen (19-May-01 to lugnet.trains, lugnet.robotics)](/news/x.gif) ![](/news/46.gif) ![Re: RCX motor pulsing -Bernardo Dal Seno (19-May-01 to lugnet.trains, lugnet.robotics)](/news/x.gif) ![](/news/46.gif) ![Re: RCX motor pulsing -Steven Barile (22-May-01 to lugnet.trains, lugnet.robotics)](/news/x.gif) ![](/news/46.gif) ![You are here](/news/here.gif)
![](/news/x.gif) ![](/news/28.gif) ![](/news/x.gif) ![](/news/28.gif) ![](/news/x.gif) ![](/news/28.gif) ![](/news/x.gif) ![](/news/x.gif) ![](/news/68.gif) ![Re: RCX motor pulsing -Zhengrong Zang (28-May-01 to lugnet.trains, lugnet.robotics)](/news/x.gif)
![](/news/x.gif) ![](/news/28.gif) ![](/news/x.gif) ![](/news/28.gif) ![](/news/x.gif) ![](/news/68.gif) ![Re: Motor control -Dean Husby (16-May-01 to lugnet.trains)](/news/x.gif) ![](/news/46.gif) ![Re: Motor control -Lester Witter (17-May-01 to lugnet.trains)](/news/x.gif) ![](/news/46.gif) ![Re: Motor control -Dean Husby (17-May-01 to lugnet.trains)](/news/x.gif)
![](/news/x.gif) ![](/news/28.gif) ![](/news/x.gif) ![](/news/68.gif) ![Re: 9V train motor(s????) -Ronald Vallenduuk (15-May-01 to lugnet.trains)](/news/x.gif) ![](/news/46.gif) ![Re: 9V train motor(s?) -Reinhard "Ben" Beneke (15-May-01 to lugnet.trains)](/news/x.gif) ![](/news/46.gif) ![Re: 9V train motor(s?) -Frank Buiting (16-May-01 to lugnet.trains)](/news/x.gif) ![](/news/246.gif) ![Re: 9V train motor(s?) -Larry Pieniazek (16-May-01 to lugnet.trains)](/news/x.gif)
![](/news/x.gif) ![](/news/28.gif) ![](/news/x.gif) ![](/news/x.gif) ![](/news/68.gif) ![Re: 9V train motor(s?) -Reinhard "Ben" Beneke (16-May-01 to lugnet.trains)](/news/x.gif)
![](/news/x.gif) ![](/news/268.gif) ![Re: 9V train motor(s????) -Jason J. Railton (15-May-01 to lugnet.trains)](/news/x.gif)
![](/news/x.gif) ![](/news/68.gif) ![Re: 9V train motor(s????) -Larry Pieniazek (15-May-01 to lugnet.trains, lugnet.market.theory)](/news/x.gif)
- Entire Thread on One Page:
- Nested:
All | Brief | Compact | Dots
Linear:
All | Brief | Compact
|
|
|
|