1. Welcome to our site! Electro Tech is an online community (with over 170,000 members) who enjoy talking about and building electronic circuits, projects and gadgets. To participate you need to register. Registration is free. Click here to register now.
    Dismiss Notice

How to increase the Speed of the Stepper Motor

Discussion in 'Microcontrollers' started by ssnickson, Mar 18, 2010.

  1. ssnickson

    ssnickson New Member

    Joined:
    Feb 17, 2010
    Messages:
    16
    Likes:
    0
    I m using L239D driver to drive my stepper motor. My motor rotate very slow. 30sec/rotation. How to increase the speed of my motor. Have tried reduce the delay loop to increase but it doesnt work. I need your advice and help on this.Thanks
     
  2. Nigel Goodwin

    Nigel Goodwin Super Moderator Most Helpful Member

    Joined:
    Nov 17, 2003
    Messages:
    39,331
    Likes:
    653
    Location:
    Derbyshire, UK
    What voltage are you feeding it from?, the L239 drops a LOT of voltage if I recall correctly?.

    A normal stepper motor should do a revolution per second without taking any special measures.
     
  3. ssnickson

    ssnickson New Member

    Joined:
    Feb 17, 2010
    Messages:
    16
    Likes:
    0
    I m using Unipolar motor. Its a 12V motor
    I have connect connect 12v to Vs and 5V to Vss for L239

    My motor rotate very very slow
     
  4. dave

    Dave New Member

    Joined:
    Jan 12, 1997
    Messages:
    -
    Likes:
    0


     
  5. Nigel Goodwin

    Nigel Goodwin Super Moderator Most Helpful Member

    Joined:
    Nov 17, 2003
    Messages:
    39,331
    Likes:
    653
    Location:
    Derbyshire, UK

    Here's what I've used various times:

    Nigel's PIC Tutorial Stepper Board

    Using a 12V stepper motor (from a 5.25" floppy) running off the 5V supply, easily gives one rev per second.

    Try decreasing the stop delay slowly, and make sure your step sequence is correct.
     
  6. ssnickson

    ssnickson New Member

    Joined:
    Feb 17, 2010
    Messages:
    16
    Likes:
    0
    Hey thanks alot i went through the tutorial
    But my doubt is will there be problem becos i connect my Motor directly to my Motor Driver. If i m not wrong this connection should be inside the Driver motor rite?
     
  7. Nigel Goodwin

    Nigel Goodwin Super Moderator Most Helpful Member

    Joined:
    Nov 17, 2003
    Messages:
    39,331
    Likes:
    653
    Location:
    Derbyshire, UK
    The L239D is more suited for bipolar steppers, but as far as I'm aware it can be used for unipolar as well, although you're wasting half of the chip. Post a drawing of how you've connected it all up.
     
  8. shortbus=

    shortbus= Well-Known Member

    Joined:
    Mar 23, 2008
    Messages:
    1,230
    Likes:
    77
    Location:
    youngstown, oh
    ONLINE
    Are you guys sure it isn't a L293d chip? If it is don't you have to change the frequency of the input signal to make the motor step/turn faster? That's the way most stepper drivers work. Also the L293d has 600mA output where a L293 has 1A output.
     
  9. ssnickson

    ssnickson New Member

    Joined:
    Feb 17, 2010
    Messages:
    16
    Likes:
    0
    My Circuit and Datasheet

    I have attached my Circuit diagram and also my Driver & Motor's datasheet for your reference. Thanks for your help
     

    Attached Files:

  10. Nigel Goodwin

    Nigel Goodwin Super Moderator Most Helpful Member

    Joined:
    Nov 17, 2003
    Messages:
    39,331
    Likes:
    653
    Location:
    Derbyshire, UK
    I see you've now changed the number of the driver chip :D

    The circuit looks reasonable, what about your code?.
     
  11. ssnickson

    ssnickson New Member

    Joined:
    Feb 17, 2010
    Messages:
    16
    Likes:
    0
    Rotate1 MOVLW B'00001000'
    MOVWF PORTC
    call Delay
    MOVLW B'00000100'
    MOVWF PORTC
    call Delay
    MOVLW B'00000010'
    MOVWF PORTC
    call Delay
    MOVLW B'00000001'
    MOVWF PORTC
    call Delay
    goto ACWTurn

    This is the loop i m using to turn the motor
    I even tired to play around with my Delay

    Delay

    DECFSZ CounterH
    goto Delay
    DECFSZ CounterL
    goto Delay
    return

    CounterH and L i tried changing to 0x02 but still the same speed
     
  12. Nigel Goodwin

    Nigel Goodwin Super Moderator Most Helpful Member

    Joined:
    Nov 17, 2003
    Messages:
    39,331
    Likes:
    653
    Location:
    Derbyshire, UK
    You need to sort your delay out, so you know what the delay actually is, and understand how to adjust it's delay - altering BOTH isn't going to work correctly.
     
  13. vigneshkevadiya

    vigneshkevadiya New Member

    Joined:
    Feb 20, 2013
    Messages:
    1
    Likes:
    0
    right now i am working on stepper motor and i want to increase stepper motor rpm up to 1000 and i am using 1.8 step angle stepper motor, so plz tell me how to increase stepper motor speed.
     
    Last edited: Feb 20, 2013

Share This Page