Motor Stepper Example


Closed Thread
Results 1 to 40 of 135

Hybrid View

  1. #1
    Join Date
    Feb 2013
    Posts
    2


    Did you find this post helpful? Yes | No

    Default Re: Motor Stepper Example

    ok!!so the stepper i intend to use is
    http://www.geeetech.com/wiki/index.p...rd_for_Arduino
    so basically to get a resolution if 1 degree i need to use 0.9 is it? and half and full steps isnt an issue?

    would you be able to provide me with the required coding? as im VERY new to C language as well!!!! and thanku soo much for ur reply

  2. #2
    Join Date
    Oct 2005
    Location
    Sweden
    Posts
    3,612


    Did you find this post helpful? Yes | No

    Default Re: Motor Stepper Example

    Hi,
    First off all, that motor is an unipolar motor with a single common connection for both windings, it can not be driven by a L298.
    The documentation for that motor isn't really that great. It looks like there's a gearbox on the motor but I can't figure out if the stated step angle of 5.625° includes the gearbox, if there is one. If 5.625° includes the gearbox then you won't be able to get 1° resolution. Fullstep would give you 5.625°, halfstep 2.8125°.

    Finally this is a forum for PBP, most of us don't do C so if you're looking for that you're in the wrong place basically.

  3. #3
    Join Date
    Oct 2010
    Posts
    413


    Did you find this post helpful? Yes | No

    Default Re: Motor Stepper Example

    Hi all,

    long time no see, because i'm o the business trip and really didnt have a time to meet you.

    I have a question.

    First of all i havent open a new thread because it is already one here.

    Now let me explain you what i would like to do.

    I have the following parts in my lab and would like to do some experiments. Simple not very difficult in the begining.

    1) Big Easy Driver
    2) Stepper Motor with Cable

    Then to control the easy driver i have a pic16f88. I hope that is enough or do i need a bigger microcontroller with 4 different ports?

    I understand that i need to connect from the controller to the Big Easy Driver 3 pins.

    The GND, the STEP, and the DIR.

    My question is: The step has to be a PWM signal? The direction pin is only high or low?

    It is would be nice if anyone has a similar questions and will discuss several options.

    i just want to give to the stepper motor a simple directions and basic step rotation....not microstep. I know that i can do with the Big easy driver, but i would like to start from the very basics.

    thanks a lot for any help in advance.

    regards,

  4. #4
    Join Date
    May 2008
    Location
    Italy
    Posts
    825


    Did you find this post helpful? Yes | No

    Default Re: Motor Stepper Example

    Hi astanapane, pic16f88 is more then you need to make your motor turn CW and CCW. Just connect two digital outputs plus the ground to your big easy driver and you are done. Have the pin connected to step toggling with a pause in between shorter is the delay faster the motor will run. Pull high direction pin when you want invert the rotation.

    That is all.

    Cheers

    Al.
    All progress began with an idea

  5. #5
    Join Date
    Oct 2010
    Posts
    413


    Did you find this post helpful? Yes | No

    Default Re: Motor Stepper Example

    Thanks a lot for the reply. i will give it a little bit more time for searching what i need To do.
    Actually i would like to see how i can give a single Step at a time by using pwm.
    Appreciate your time.

  6. #6
    Join Date
    Nov 2003
    Location
    Greece
    Posts
    4,133


    Did you find this post helpful? Yes | No

    Default Re: Motor Stepper Example

    Hi astanapane.

    One pulse on STEP input moves motor one step only.

    Ioannis

  7. #7
    Join Date
    Oct 2010
    Posts
    413


    Did you find this post helpful? Yes | No

    Default Re: Motor Stepper Example

    Quote Originally Posted by Ioannis View Post
    Hi astanapane.

    One pulse on STEP input moves motor one step only.

    Ioannis
    Hi Ioanni

    I will do some tests on the Code and once i have some Good news i will let you Know.

    At the moment I'm on the 3d design of the model. Actually i design a Base for the stepper Motor.

    May i ask you something that might sound stupid?

    On the Motor i have it is recognised as a 1.8 degree angle.

    They do say that is a 200 step per revolution.

    If i turn the axis by hand i feel the steps but as i measured is not more that 50 steps.

    Am i right or what i try to count doesnt have to do anything corresponding to its operation and the 200 steps.

Members who have read this thread : 5

You do not have permission to view the list of names.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts