585,700 active members*
3,484 visitors online*
Register for free
Login
IndustryArena Forum > OpenSource CNC Design Center > Arduino > issue with stepper motor using A4988,CNC sheild and grbl library
Results 1 to 6 of 6
  1. #1
    Join Date
    Mar 2021
    Posts
    35

    issue with stepper motor using A4988,CNC sheild and grbl library

    The stepper motor oscillates around the starting point and arround the stopping point when using the grbl library as you can see in this short clip


    https://www.youtube.com/watch?v=JrjhW3ktgqU

    If I do not use the liberary, the stepper motor behaves well.

    Any help will be appreciated.

    Philip

  2. #2
    Join Date
    Mar 2015
    Posts
    409

    Re: issue with stepper motor using A4988,CNC sheild and grbl library

    Reduce the acceleration and let us know if it helped

  3. #3
    Join Date
    Mar 2021
    Posts
    35

    Re: issue with stepper motor using A4988,CNC sheild and grbl library

    the motor is running perfect now
    many thanks


    the accelaration setting was
    $120 = 10.000 (x accel, mm/sec^2)


    I took it up to
    >>> $120=200


    It is working fine now


    As I have no clue what I am doing as this is my first chance to play with the cnc sheild, I realy appreciate any input.


    Many thanks hfjbuis

  4. #4
    Join Date
    Mar 2015
    Posts
    409

    Re: issue with stepper motor using A4988,CNC sheild and grbl library

    Great to hear it is working.
    Enjoy learning to use steppers.
    Huub

  5. #5
    Join Date
    Mar 2021
    Posts
    35

    Re: issue with stepper motor using A4988,CNC sheild and grbl library

    I could have stopped the reporting here, but I did not feel comfortable in case someone reading I might confuse him.

    I find several issues

    while it is true that pumping the acceleration up has helped(I guess overcoming the rotor inertia) the root cause of my issue was that one of the motor wires was bad quality and break. It was tricky because visual inspection shows ok.

    Due to running the motor single phase, there was hesitation in the take-off and landing of the motor. The higher accelaration helped overcome this hesitation. But the root cause was a lose wire,

    So now I brought the accelaration down to 50 and corrected the lose wire and things are more than perfect.

    The reason I found the lose wire because the motor take off in a different direction every time I give a command to rotate possitive Y.

    I searched the net and found quite few people have this issue and where able to nail it down to lose wire.

    conclusion : if the motor decides to rotate in a different direction while given the same command (Say +y ) first suspicions should go to single phase operation due to lose wire or failed motor or something of that sort.


    Thanks hfjbuis for taking the time to post in my thread.

  6. #6
    Join Date
    Mar 2015
    Posts
    409

    Re: issue with stepper motor using A4988,CNC sheild and grbl library

    Thanks for reporting the actual cause. Now we both have learned something new
    Huub

Similar Threads

  1. GRBL: EN pin on the Pololu A4988 driver board is staying high.
    By crchisholm in forum Uncategorised CAM Discussion
    Replies: 7
    Last Post: 02-24-2018, 01:55 AM
  2. Replies: 1
    Last Post: 03-20-2017, 05:47 PM
  3. Replies: 3
    Last Post: 06-03-2016, 02:48 PM
  4. Current Limit Formula for Pololu A4988 Stepper Motor Driver Carrier
    By Josiah in forum CNC Machine Related Electronics
    Replies: 0
    Last Post: 04-22-2014, 06:00 PM
  5. A4988 and this Japanese Stepper Motor strong enough?
    By Topicawox in forum CNC Machine Related Electronics
    Replies: 1
    Last Post: 05-24-2013, 12:44 AM

Tags for this Thread

Posting Permissions

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