Subject:
|
More Motor Speeds
|
Newsgroups:
|
lugnet.robotics.handyboard
|
Date:
|
Sun, 23 Feb 1997 06:19:36 GMT
|
Original-From:
|
Eric Kille <st92heg5@dunx1!Spamless!.ocs.drexel.edu>
|
Viewed:
|
2350 times
|
| |
 | |
I want to increase the resolution of the motor driver routines provided by
Interactive C, so that there are more than 7 speeds. Using the method of
generating PWM signals in the Mobile Robots Book, this seems easy. However
looking at the primitive motor routines used by IC, I think a different
scheme is used. How easy would it be double or x4 the number of speeds ?
Has anyone tried this yet ?
Eric Kille (Drexel University)
st92heg5@dunx1.ocs.drexel.edu
|
|
Message has 3 Replies:  | | Re: More Motor Speeds
|
| it's harder than you might expect, b/c the PWM routine is 'hard-wired" into the pcode file. basically, you have to make the changes in pcode.asm, and reassemble the pcode_hb.s19 file. -fred In your message you said: (...) (28 years ago, 23-Feb-97, to lugnet.robotics.handyboard)
|  | | Re: More Motor Speeds
|
| (...) ???? 7 speeds??? We use the IC that comes with the Gleason Associates Handyboard where motor(0,100) runs motor 0 full speed ahead motor(1,-33) runs motor 1 backwards at 1/3 speed where speeds vary from 1 to 100 in either direction. Can't you (...) (28 years ago, 23-Feb-97, to lugnet.robotics.handyboard)
|  | | Re: More Motor Speeds
|
| (...) You will have to rewrite the code in the interrupt functions. It isn't "hard" but it does require that you understand what IC is using the various timers for. The best documentation for that is the PCode itself. I don't believe you can use the (...) (28 years ago, 23-Feb-97, to lugnet.robotics.handyboard)
|
7 Messages in This Thread:     
      
  
  
- Entire Thread on One Page:
- Nested:
All | Brief | Compact | Dots
Linear:
All | Brief | Compact
|
|
|
|