Jump to content
albuandy

AccelStepper library in Energia

Recommended Posts

Hi,

 

I'm using MSP430F5529 launchpad and I tried hard to adapt AccelStepper library for MSP430 platform, but I cannot make it.

 

Does anyone succeded to make it work?

 

Thanks,

Andy

Share this post


Link to post
Share on other sites

(..) I tried hard to adapt AccelStepper library for MSP430 platform, but I cannot make it. (..)

What specifically didn't work? Compilation error? Unexpected behaviour?

 

S.

Share this post


Link to post
Share on other sites

What specifically didn't work? Compilation error? Unexpected behaviour?

 

S.

Yes unexpected behaviour. With arduino same library if you touch the motor you can feel his force, with MSP430 when I'm touching the motor is changing his direction is like my hand it is a limit switch.

 

Any idea how to make it strong also?

Share this post


Link to post
Share on other sites

Check with a digital probe an order of sequence the motor is excited. If improper, the rotor would shake instead of turning. The same would happen if the wiring is incorrect. You might also try swapping motor wires, if you are not sure what order they should be. What motor are you using, by the way?

 

Yet another option is that the timing is incorrect: try lowering the motor speed and acceleration.

 

s.

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.


×
×
  • Create New...