Welcome to Our Community

Some features disabled for guests. Register Today.

Servo ain't working

Discussion in 'DrawBot' started by Robin Ellis, Feb 11, 2022.

  1. Robin Ellis

    Builder

    Joined:
    Feb 3, 2022
    Messages:
    17
    Likes Received:
    4
    Hello. I've almost got my plotter up and running but am having some trouble with the servo. When running tests with a rather large Tower Pro MG995 it all seemed fine, but now that I am testing the pen holder/Z axis with a smaller one (Tower Pro MG90D) I'm getting no response at all. Any ideas?
     
  2. Peter Van Der Walt

    Peter Van Der Walt OpenBuilds Team
    Staff Member Moderator Builder Resident Builder

    Joined:
    Mar 1, 2017
    Messages:
    15,191
    Likes Received:
    4,346
    Could be:
    • Faulty servo
    • Connector plugged in wrong way round
    • Physical load too much for the servo, does it move when its removed from the mechanism?
     
  3. Robin Ellis

    Builder

    Joined:
    Feb 3, 2022
    Messages:
    17
    Likes Received:
    4
    Ok. Pen down works but can't get it to rise using the Z+ and pen up is crossed out.
     
  4. Peter Van Der Walt

    Peter Van Der Walt OpenBuilds Team
    Staff Member Moderator Builder Resident Builder

    Joined:
    Mar 1, 2017
    Messages:
    15,191
    Likes Received:
    4,346
    Calibrate your Servo movements in Wizards and Tools > Calibration > Servo

    Also, servo is a Tool, not a Z axis. Z axis buttons controls a stepper motor attached to your Z axis driver
    M3Sxxx/M5/Pen buttons controls the servo
     
  5. Robin Ellis

    Builder

    Joined:
    Feb 3, 2022
    Messages:
    17
    Likes Received:
    4
    Thanks, yes I've just done that. But the Z- and + commands still do nothing and pen up is not available.
     
  6. Peter Van Der Walt

    Peter Van Der Walt OpenBuilds Team
    Staff Member Moderator Builder Resident Builder

    Joined:
    Mar 1, 2017
    Messages:
    15,191
    Likes Received:
    4,346
    As it should.... Servo is a TOOL (same line as spindles, lasers, plasmas) controlled with M3 and M5 commands. It is NOT a ZAXIS.


    Try a reboot.
     
  7. Robin Ellis

    Builder

    Joined:
    Feb 3, 2022
    Messages:
    17
    Likes Received:
    4
    Yes, got you about the Z axis. Unfortunately despite a reboot the pen up tool is still unavailable.
     
  8. Peter Van Der Walt

    Peter Van Der Walt OpenBuilds Team
    Staff Member Moderator Builder Resident Builder

    Joined:
    Mar 1, 2017
    Messages:
    15,191
    Likes Received:
    4,346
    You do know there is just an icon of a "ban" sign over the pen to indicate Pen Up means it won't be writing though - it doesn't mean its disabled... Just eye candy to explain the button

    There's nothing in the code that enables/disables individual pen buttons. It just shows/hides that column (both buttons) from the table based on whether you are running Grbl, or Grbl-Servo firmware

    Click it and see it still works - sends the command in the Serial Console tab
     
  9. Robin Ellis

    Builder

    Joined:
    Feb 3, 2022
    Messages:
    17
    Likes Received:
    4
    Unfortunately not. When I give it a gcode file with servo up and down commands it doesn't do anything. But the wizard tool seems to communicate with it. I'll test another servo if I have one, though it would seem to work if the wizard can raise and lower it.
     
  10. Peter Van Der Walt

    Peter Van Der Walt OpenBuilds Team
    Staff Member Moderator Builder Resident Builder

    Joined:
    Mar 1, 2017
    Messages:
    15,191
    Likes Received:
    4,346
    If the calibration wizard moves it but not your GCODE, make sure your GCODE contains the correct S values identified with the wizard
     
  11. Robin Ellis

    Builder

    Joined:
    Feb 3, 2022
    Messages:
    17
    Likes Received:
    4
    Ok. It seems to be working now - the wizard gave me an up value of 255 which was too much it seems. 229 works fine. Pen up also works now although it still has the cancel sign through it for some reason. Thanks for the great service!
     
  12. Peter Van Der Walt

    Peter Van Der Walt OpenBuilds Team
    Staff Member Moderator Builder Resident Builder

    Joined:
    Mar 1, 2017
    Messages:
    15,191
    Likes Received:
    4,346
    See above ^


     
  13. Robin Ellis

    Builder

    Joined:
    Feb 3, 2022
    Messages:
    17
    Likes Received:
    4
    Aha! Ok, then we're all good. Now I can relax for the weekend! :)
     
    Peter Van Der Walt likes this.

Share This Page

  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice