Jump to content
Ultimaker Community of 3D Printing Experts

X Axis step direction does not change


Recommended Posts

Posted · X Axis step direction does not change

As a follow on from here: http://umforum.ultimaker.com/index.php?/topic/2915-z-limit-switches-not-doing-anything-after-157-pcb-upgrade/ in order to have a relevant title.

I'm having issues that the X axis always moves the same direction. This happens on a brand new ultimaker PCB (1.5.7) with 3 different arduino megas (one of which has a blown pin - as in totally missing - on the Z top limit input.)

X Axis traces, top trace is step, bottom trace is direction (pegged to 5v)

i-cZVfLDM-L.png

Y Axis traces, top trace is step, bottom trace is direction (note the step)

i-5PDwB4Z-L.png

Both are two 1mm moves in one direction, two 1mm moves in the other.

 

  • Link to post
    Share on other sites
    Posted · X Axis step direction does not change

    Nice job debugging!

    Can you send the board back? Is it under warranty? If it is new you can do a support ticket and they should send you a new board out right away as this is a clear problem.

    Also did you load the Marlin firmware that comes with Cura into your Arduino? There are many configurations for which pin of the Arduino controls which stepper pins and so on.

    I would also cut power and remove the arduino and check the signal path from the arduino connector to the stepper driver.

    Did you check this signal on the stepper driver or the arduino? It might be a bad connection between the arduino and the ultimaker PCB. And the stepper driver may be gently pulling that signal to 5V.

     

  • Link to post
    Share on other sites
    Posted · X Axis step direction does not change

    Ah, you posted as I was tracing things out :)

    I've run the first run wizard in Cura on each of the arduinos to load the firmware onto it.

    Both traces are done with the same stepper driver, without disconnecting the logic analyser pins, just moving the driver from point to point.

    As previously posted, I've traced the pins and checked for shorts on both boards separately and together, and ensured the pin on the driver gets a connection as well.

     

    Nice job debugging!

    Can you send the board back? Is it under warranty? If it is new you can do a support ticket and they should send you a new board out right away as this is a clear problem.

    Also did you load the Marlin firmware that comes with Cura into your Arduino? There are many configurations for which pin of the Arduino controls which stepper pins and so on.

    I would also cut power and remove the arduino and check the signal path from the arduino connector to the stepper driver.

    Did you check this signal on the stepper driver or the arduino? It might be a bad connection between the arduino and the ultimaker PCB. And the stepper driver may be gently pulling that signal to 5V.

     

  • Link to post
    Share on other sites
    Posted · X Axis step direction does not change

    It sounds like the PCB is fine. So probably the Arduino is bad. Did you say you tried 2 different Arduinos and they both had the same problem? Or was there only one Arduino? Or did the first Arduino have a different problem?

    I think you should buy another Arduino board and also just to be safe, I would remove the X stepper driver. I would test the voltage on the DIR pin on the X stepper and only if it works, *then* put the X stepper driver back in - there is a small (very small!) chance that the stepper driver damaged the Arduino. This is pretty unlikely as the Arduino is designed to not get damaged easily.

     

  • Link to post
    Share on other sites
    Posted · X Axis step direction does not change

    I actually tried 3 arduinos. I ended up finding a 4th one lying around that had not been touched by the old ultimaker board, and it worked.

     

  • Link to post
    Share on other sites
    Posted · X Axis step direction does not change

    oh! So that probably means the old ultimaker board was breaking that pin - actually probably the X servo driver was destroying that arduino pin! You could possibly reroute using another signal. You would have to make your own custom drivers that use a different arduino pin.

     

  • Link to post
    Share on other sites

    Create an account or sign in to comment

    You need to be a member in order to leave a comment

    Create an account

    Sign up for a new account in our community. It's easy!

    Register a new account

    Sign in

    Already have an account? Sign in here.

    Sign In Now
    • Our picks

      • Ultimaker Transformation Summit
        Visit our virtual showroom and learn more about the Ultimaker ecosystem!
        • 14 replies
      • New here? Register your Ultimaker for free 3D printer onboarding course
        Hi,
         
        Often getting started is the most difficult part of any process. A good start sets you up for success and saves you time and energy that could be spent elsewhere. That is why we have a onboarding course ready for
        Ultimaker S5 Pro Bundle, Ultimaker S5, Ultimaker S3 Ultimaker 2+ Connect.   
        They're ready for you on the Ultimaker Academy platform. All you need to do to gain access is to register your product to gain free access. 
        Ready? Register your product here in just 60 seconds.
          • Like
        • 0 replies
    ×
    ×
    • Create New...