Subject:
|
Re: Motor control
|
Newsgroups:
|
lugnet.robotics.handyboard
|
Date:
|
Sat, 16 Mar 1996 06:04:35 GMT
|
Original-From:
|
Fred G. Martin <(fredm@media.mit)stopspammers(.edu)>
|
Viewed:
|
2393 times
|
| |
 | |
> I'm not to familiar with the motor chips. Does the handyboard
> allow for speed control of motors?
Yes, and speed control is built in to the Interactive C motor
function. motor(0, 100) turns on motor 0 at full speed; motor(0, 50)
is half speed, etc.
While we're on the topic, I am considering changing the speed
argument, because in actuality there are only eight discrete power
levels from off to full on, so having the speed argument range from 0
to 8 might make more sense than 0 to 100.
do people have any comments on this? the problem i see with 0 to 100
is that you don't know exactly where the power steps are, and this
could be a nuisance in some applications. i think randy and i chose
100 as the top end of the speed range because it's a nice round
number, but i am thinking it would be better to expose rather than
hide the discrete nature of the speed control (i.e., the eight
discrete power levels).
any reaction?
-fred
|
|
Message has 1 Reply:  | | Re: Motor control
|
| (...) Depends on how far you wish IC to go. Someday there could be another controller that allows 100 disrete levels. On the other hand that could be handled well by allowing the value to go to 100, and the code written to go to 8 would be kinda (...) (29 years ago, 18-Mar-96, to lugnet.robotics.handyboard)
|
Message is in Reply To:
4 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
|
|
|
|