what up/ hb-25

Been on vacation mike ? does anybody now if I have to do anything difernt than normal to interface the hb-25 motor controller with the propeller ?
Brian
Post Edited (Brian Beckius) : 1/28/2007 1:40:09 PM GMT
Brian
Post Edited (Brian Beckius) : 1/28/2007 1:40:09 PM GMT
Comments
that work opposite of the current ramping implementation. As the existing program is, it allows you implement linear or exponential
ramping if you wish or you can set an immediate mode to set a specific speed.
Note:
A negative Width value indicates Ramp mode
A positive Width value indicates Immediate mode
A "Zero" Width value deselects Motor2 - Only allowed for Motor2
A negative Rate value will cause the motor to exponentially ramp
A positive Rate value will cause the motor to linearly ramp
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Beau Schwabe
IC Layout Engineer
Parallax, Inc.
I won't have time untill tonight to try it , I will let you know how it goes.
Brian
PERFECT ! , just what I was looking for. latter this week i'm going to try it with 2 controllers & motors.
Thanks, Brian
PS. You can get the motor to react so fast it will flip over or it will ramp in slow,COOL !
Post Edited (Brian Beckius) : 1/29/2007 2:15:31 AM GMT
I'm glad that works for you. As it is for the ramp function it is basically "FAST to start, SLOW to finish" approach. This is beneficial if you want controlled stops without much overshoot.
I wanted to implement just the opposite where it would be "SLOW to start, FAST to finish", but I have been busy with work doing layout for the next Propeller Chip. The inverse ramping
would be beneficial to getting large loads up to operating speed where inertia plays a big role.
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Beau Schwabe
IC Layout Engineer
Parallax, Inc.
Post Edited (Beau Schwabe (Parallax)) : 1/29/2007 5:43:57 AM GMT
I got it to ramp up slow and to ramp down slow.
PUB Demo
HB25.SetMotorS(1500,1500)
HB25.SetRamp(-5,5)
HB25.start(0)
HB25.Pause(4000000)
Thanks, Brian
updated: oh after messing with it a little more ,I see what you mean.
Post Edited (Brian Beckius) : 1/29/2007 3:02:44 AM GMT
In your code it looks like you set it up for two controllers , are they both using one pin with a jumper or two pins ?
Thanks ,Brian
Yes, that is correct.... One pin with a jumper.
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Beau Schwabe
IC Layout Engineer
Parallax, Inc.
Heres a striped down version of Beau's driver to show you how little code it takes to run the HB-25.
Brian