🤖Have you ever tried Chat.M5Stack.com before asking??😎
    M5Stack Community
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Search
    • Register
    • Login

    Problems controlling stepper motor while microstepping

    SOFTWARE
    2
    8
    9.8k
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • R
      RB 0
      last edited by

      Does anyone else have problems controlling a stepper motor using UIFLOW software while microstepping?

      It was working perfectly for full step mode. Now I've changed to microstepping at 1/32 and I cannot move the stepper up or down or whatever !!

      1 Reply Last reply Reply Quote 0
      • R
        RB 0
        last edited by

        I activated the 1/32 microstepping mode by soldering the 3 jumpers in the board....

        1 Reply Last reply Reply Quote 0
        • ZontexZ
          Zontex
          last edited by

          Hello, you've mentioned you've soldered the 3 jumpers in the board - could you please provide a picture or schematic how you've soldered the connectors to your M5Stack? which M5Stack product are you using? also please provide the code you are using, that way we could better assist you.
          ~ Roni

          1 Reply Last reply Reply Quote 0
          • R
            RB 0
            last edited by

            Hello !

            The code and soldering are here: https://imgpile.com/i/u0zYLP

            ZontexZ 1 Reply Last reply Reply Quote 0
            • ZontexZ
              Zontex @RB 0
              last edited by Zontex

              @rb-0 said in Problems controlling stepper motor while microstepping:

              Hello !

              The code and soldering are here: https://imgpile.com/i/u0zYLP

              Hi, I've checked with our engineers and it appear your soldering is been done wrong, please take a look at the following picture: https://imgpile.com/i/u0gOl4

              There are jumpers that can be shorted to create different micro-stepping function but by the picture you've sent me it looks like you've soldered the all together, only one need to be soldered at a time and not all of them together.

              Id suggest to remove some of the solder paste and make sure to solder one jumper at a time.

              Edit: you can also take a look at the TI chipset datasheet: https://m5stack.oss-cn-shenzhen.aliyuncs.com/resource/docs/datasheet/module/DRV8825_en.pdf

              it explains how the jumper works and how to control different modes through it.

              Hope it can help,

              ~ Roni

              1 Reply Last reply Reply Quote 0
              • R
                RB 0
                last edited by

                Hi Zontex, I did what you suggested and now it works fine. Thank you very much.
                However, I do not understand why. Because in order to activate the 1/32 microstepping mode, M0, M1 and M2 must be in the high state. Since it is so hard to solder the pins because they are located in a difficult area of the board, I figured I could just sold everything together and they all should be in a high state this way.

                Anyway, thank you very much for your help, it worked.

                1 Reply Last reply Reply Quote 0
                • ZontexZ
                  Zontex
                  last edited by Zontex

                  @rb-0 said in Problems controlling stepper motor while microstepping:

                  However, I do not understand why. Because in order to activate the 1/32 microstepping mode, M0, M1 and M2 must be in the high state. Since it is so hard to solder the pins because they are located in a difficult area of the board, I figured I could just sold everything together and they all should be in a high state this way.

                  When you solder all the pins together it's similar to soldering them in series if you solder them one by one it's like soldering it in parallel. you can't solder everything together because they will short circuit next to each other, they need to be separated, glad it worked out!

                  1 Reply Last reply Reply Quote 0
                  • R
                    RB 0
                    last edited by

                    Zontex,
                    Thank you so much for your help and for the explanation!
                    Best regards,
                    Raquel

                    1 Reply Last reply Reply Quote 0
                    • First post
                      Last post