Jump to content
Sign in to follow this  
32614_1489253935

Step motor trouble

Recommended Posts

Hi everyone,

I wanna control a step motor (datasheet :http://www.nidec-servo.com/en/digital/pdf/KH42J.pdf) with Tiva Launchdpad as a controller.

I used a L298 H bridge (http://arduino-info.wikispaces.com/file/view/MotorDriver2.jpg/219771672/MotorDriver2.jpg) as a driver, using PD0 PD1 PD2 PD3 are 4 inputs of L298 module.
In datasheet of motor, I recognized that it's have four steps, each step include 4 states correspond with PD0,1,2,3; using digital output for PORTD connected to L298 input.

I have a question, are my concepts right ?

I hope someone can explain for me!

Thanks in advanced!

Share this post


Link to post
Share on other sites

I'm not sure you've quite got the concepts of driving a stepper. (You might have, but without seeing the code I can't be sure.) By far the easiest way to drive a stepper is to use a stepper motor driver. A common example is Pololu's A4988 board. You drive this by setting the direction and sending a pulse to the step pin to make it move one step. I've had a Tiva Launchpad driving some of these without a problem. I could probably dig out some sample code if needed.

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.

Sign in to follow this  

×
×
  • Create New...