albuandy 0 Posted July 11, 2014 Share Posted July 11, 2014 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 Quote Link to post Share on other sites
Rei Vilo 695 Posted July 11, 2014 Share Posted July 11, 2014 What sensor are you using? Quote Link to post Share on other sites
sq7bti 20 Posted July 13, 2014 Share Posted July 13, 2014 (..) 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. Quote Link to post Share on other sites
albuandy 0 Posted August 13, 2014 Author Share Posted August 13, 2014 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? Quote Link to post Share on other sites
sq7bti 20 Posted August 14, 2014 Share Posted August 14, 2014 What motor driver chip are you using? What AccelStepper::MotorInterfaceType did you specify? s. Quote Link to post Share on other sites
albuandy 0 Posted August 15, 2014 Author Share Posted August 15, 2014 MSP430F5529, L298, 4 wire interface. Quote Link to post Share on other sites
sq7bti 20 Posted August 15, 2014 Share Posted August 15, 2014 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. Quote Link to post Share on other sites
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.