| | Re: Control lego motors and rotation sensors
|
|
(...) That's not really any different from what the RCX's firmware does though. You are doing pulse-width modulation and so does the firmware. The only difference is that you are using a longer time-constant. ---...--- Steve Baker ---...--- Mail : (...) (23 years ago, 26-Apr-02, to lugnet.robotics)
|
|
| | Re: Control lego motors and rotation sensors
|
|
(...) The standard firmware does pulse-width modulation alternating between ON and FLOAT. What I think Jerry is suggesting is pulse-width modulation alternating between ON and BRAKE (which does control speed quite handily, and is what legOS does). - (...) (23 years ago, 26-Apr-02, to lugnet.robotics)
|
|
| | Re: Control lego motors and rotation sensors
|
|
Wow! I hope LegOS has the option to use On and Float too. I was planning on migrating to LegOS soon, but if it does On and Brake, it is to be avoided. That technique simply burns battery power! JB (...) (23 years ago, 26-Apr-02, to lugnet.robotics)
|
|
| | Re: Control lego motors and rotation sensors
|
|
(...) Oh, it probably does have that option; if nothing else, you can change the code to do it that way. I simply find the ON/BRAKE modulation to be more useful, so haven't bothered looking for an alternative. - Alex (23 years ago, 26-Apr-02, to lugnet.robotics)
|
|
| | Re: Control lego motors and rotation sensors
|
|
(...) The 'on-brake-on' method of speed control is VERY useful. When implemented it looks and acts like a stepping motor. For an example, go to my website at (URL) and navigate to my Injection Molding Factory. There is a motorized air valve with a (...) (23 years ago, 26-Apr-02, to lugnet.robotics)
|
|
| | Re: Control lego motors and rotation sensors
|
|
(...) I'm not so sure about motor design, there are quite a few motors that block (one in ten for me). Since wou use RoboLAB it may rather be the LEGO firmware that protects your motors, it contains code to limit the speed of switching the motor. (...) (23 years ago, 27-Apr-02, to lugnet.robotics)
|