Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
Collapse
Brand Logo

ModalAI Forum

  1. ModalAI Support Forum
  2. ESCs
  3. Motor issues when running ESC calibration

Motor issues when running ESC calibration

Scheduled Pinned Locked Moved ESCs
108 Posts 3 Posters 61.5k Views 1 Watching
  • 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.
  • Alexander SaundersA Alexander Saunders

    @Alex-Kushleyev

    For the esc tools, we were running the commands from /usr/share/modalai/voxl-esc-tools. To clarify, for the baud rate changes, do you want 2,000,000 or 20,000,000. We will try the tools again and confirm px4 is stopped via systemctl stop voxl-px4.

    Alex KushleyevA Offline
    Alex KushleyevA Offline
    Alex Kushleyev
    ModalAI Team
    wrote on last edited by
    #35

    @Alexander-Saunders, my bad too many zeros. 2,000,000 (2Mbit)

    Alex KushleyevA Alexander SaundersA 2 Replies Last reply
    0
    • Alex KushleyevA Alex Kushleyev

      @Alexander-Saunders, my bad too many zeros. 2,000,000 (2Mbit)

      Alex KushleyevA Offline
      Alex KushleyevA Offline
      Alex Kushleyev
      ModalAI Team
      wrote on last edited by Alex Kushleyev
      #36

      The screen shot in earlier post today shows running “voxl-esc” which is a wrapper for the python tools, sometimes it is easier just to use python tools directly, but make sure they are latest version. the version in /usr/share/modalai is probably not latest. Normally you dont need to update the tools but if something is not working as expected, it is good to try the latest.

      rdjarvisR 1 Reply Last reply
      0
      • Alex KushleyevA Alex Kushleyev

        The screen shot in earlier post today shows running “voxl-esc” which is a wrapper for the python tools, sometimes it is easier just to use python tools directly, but make sure they are latest version. the version in /usr/share/modalai is probably not latest. Normally you dont need to update the tools but if something is not working as expected, it is good to try the latest.

        rdjarvisR Offline
        rdjarvisR Offline
        rdjarvis
        Regular
        wrote on last edited by
        #37

        @Alex-Kushleyev Screenshot 2024-04-17 113251.png

        We verified PX4 was not running.

        systemctl stop voxl-px4

        1 Reply Last reply
        2
        • Alex KushleyevA Alex Kushleyev

          @Alexander-Saunders, my bad too many zeros. 2,000,000 (2Mbit)

          Alexander SaundersA Offline
          Alexander SaundersA Offline
          Alexander Saunders
          Contributor
          wrote on last edited by
          #38

          @Alex-Kushleyev

          No worries. We also verified if the issue was with the particular param file and ran the command to upload a different one. No luck with that and we still receive the same error (Bus 12, ESC not detected, etc)

          Alex KushleyevA 1 Reply Last reply
          1
          • Alexander SaundersA Alexander Saunders

            @Alex-Kushleyev

            No worries. We also verified if the issue was with the particular param file and ran the command to upload a different one. No luck with that and we still receive the same error (Bus 12, ESC not detected, etc)

            Alex KushleyevA Offline
            Alex KushleyevA Offline
            Alex Kushleyev
            ModalAI Team
            wrote on last edited by
            #39

            @Alexander-Saunders

            Can you please try voxl-esc tools from dev branch on github? Instead of /usr/share/modalai/voxl-esc-tools

            Alex KushleyevA 1 Reply Last reply
            0
            • Alex KushleyevA Alex Kushleyev

              @Alexander-Saunders

              Can you please try voxl-esc tools from dev branch on github? Instead of /usr/share/modalai/voxl-esc-tools

              Alex KushleyevA Offline
              Alex KushleyevA Offline
              Alex Kushleyev
              ModalAI Team
              wrote on last edited by
              #40

              Also, which SDK are you using? i am surprised to see this issue.

              Also, can you please double check the ESC bootup sequence:

              • apply power
              • 4 blue leds flash quickly for 1 second, then turn off
              • 4 blue leds blink twice
              • motor makes a quick chirp (three tones based on the latest params that provided)
              rdjarvisR Alex KushleyevA 2 Replies Last reply
              0
              • Alex KushleyevA Alex Kushleyev

                Also, which SDK are you using? i am surprised to see this issue.

                Also, can you please double check the ESC bootup sequence:

                • apply power
                • 4 blue leds flash quickly for 1 second, then turn off
                • 4 blue leds blink twice
                • motor makes a quick chirp (three tones based on the latest params that provided)
                rdjarvisR Offline
                rdjarvisR Offline
                rdjarvis
                Regular
                wrote on last edited by
                #41

                @Alex-Kushleyev ESC gave

                4 LEDs quickly flashing
                4 LEDs flash 3 times
                Motor chirps

                rdjarvisR Alex KushleyevA 2 Replies Last reply
                1
                • rdjarvisR rdjarvis

                  @Alex-Kushleyev ESC gave

                  4 LEDs quickly flashing
                  4 LEDs flash 3 times
                  Motor chirps

                  rdjarvisR Offline
                  rdjarvisR Offline
                  rdjarvis
                  Regular
                  wrote on last edited by
                  #42

                  @rdjarvis Screenshot 2024-04-17 115253.png

                  1 Reply Last reply
                  1
                  • Alex KushleyevA Alex Kushleyev

                    Also, which SDK are you using? i am surprised to see this issue.

                    Also, can you please double check the ESC bootup sequence:

                    • apply power
                    • 4 blue leds flash quickly for 1 second, then turn off
                    • 4 blue leds blink twice
                    • motor makes a quick chirp (three tones based on the latest params that provided)
                    Alex KushleyevA Offline
                    Alex KushleyevA Offline
                    Alex Kushleyev
                    ModalAI Team
                    wrote on last edited by
                    #43

                    One more suggestion, it often helps to use a direct connection between the ESC and your linux PC and run the voxl-esc tools there. This way you can see the plots instantly during testing and also if there are some issues with communication to the ESC, you can always connect it to the PC and check the ESC that way.

                    Do you have a USB to serial adapter cable that plugs into the ESC <-> PC ?

                    rdjarvisR 1 Reply Last reply
                    0
                    • rdjarvisR rdjarvis

                      @Alex-Kushleyev ESC gave

                      4 LEDs quickly flashing
                      4 LEDs flash 3 times
                      Motor chirps

                      Alex KushleyevA Offline
                      Alex KushleyevA Offline
                      Alex Kushleyev
                      ModalAI Team
                      wrote on last edited by
                      #44

                      @rdjarvis said in Motor issues when running ESC calibration:

                      @Alex-Kushleyev ESC gave

                      4 LEDs quickly flashing
                      4 LEDs flash 3 times
                      Motor chirps

                      OK that is good!

                      1 Reply Last reply
                      0
                      • Alex KushleyevA Alex Kushleyev

                        One more suggestion, it often helps to use a direct connection between the ESC and your linux PC and run the voxl-esc tools there. This way you can see the plots instantly during testing and also if there are some issues with communication to the ESC, you can always connect it to the PC and check the ESC that way.

                        Do you have a USB to serial adapter cable that plugs into the ESC <-> PC ?

                        rdjarvisR Offline
                        rdjarvisR Offline
                        rdjarvis
                        Regular
                        wrote on last edited by
                        #45

                        @Alex-Kushleyev, yes we have the USB/Serial connector.

                        Alex KushleyevA 1 Reply Last reply
                        0
                        • rdjarvisR rdjarvis

                          @Alex-Kushleyev, yes we have the USB/Serial connector.

                          Alex KushleyevA Offline
                          Alex KushleyevA Offline
                          Alex Kushleyev
                          ModalAI Team
                          wrote on last edited by
                          #46

                          @rdjarvis , ok great. Lets take a step back and just make sure you can talk to the ESC from the PC.

                          I will test SDK 1.2.0 to make sure it works fine with voxl-esc tools with my esc.

                          rdjarvisR Alexander SaundersA 2 Replies Last reply
                          0
                          • Alex KushleyevA Alex Kushleyev

                            @rdjarvis , ok great. Lets take a step back and just make sure you can talk to the ESC from the PC.

                            I will test SDK 1.2.0 to make sure it works fine with voxl-esc tools with my esc.

                            rdjarvisR Offline
                            rdjarvisR Offline
                            rdjarvis
                            Regular
                            wrote on last edited by
                            #47

                            @Alex-Kushleyev Copy all, thank you

                            1 Reply Last reply
                            0
                            • Alex KushleyevA Alex Kushleyev

                              @rdjarvis , ok great. Lets take a step back and just make sure you can talk to the ESC from the PC.

                              I will test SDK 1.2.0 to make sure it works fine with voxl-esc tools with my esc.

                              Alexander SaundersA Offline
                              Alexander SaundersA Offline
                              Alexander Saunders
                              Contributor
                              wrote on last edited by
                              #48

                              @Alex-Kushleyev

                              Also to confirm, I followed the README from dev branch to update.

                              Alex KushleyevA 1 Reply Last reply
                              0
                              • Alexander SaundersA Alexander Saunders

                                @Alex-Kushleyev

                                Also to confirm, I followed the README from dev branch to update.

                                Alex KushleyevA Offline
                                Alex KushleyevA Offline
                                Alex Kushleyev
                                ModalAI Team
                                wrote on last edited by
                                #49

                                @Alexander-Saunders , thank you for confirming. I see that you are using SDK 1.2.0, which is very recent, so it already has (almost) the latest voxl-esc tools.

                                I am in the process of testing the tools on voxl2 using SDK 1.2.0, please try to connect to your PC directly and this should properly detect your ESC.

                                rdjarvisR 1 Reply Last reply
                                0
                                • Alex KushleyevA Alex Kushleyev

                                  @Alexander-Saunders , thank you for confirming. I see that you are using SDK 1.2.0, which is very recent, so it already has (almost) the latest voxl-esc tools.

                                  I am in the process of testing the tools on voxl2 using SDK 1.2.0, please try to connect to your PC directly and this should properly detect your ESC.

                                  rdjarvisR Offline
                                  rdjarvisR Offline
                                  rdjarvis
                                  Regular
                                  wrote on last edited by
                                  #50

                                  @Alex-Kushleyev
                                  ssh'd into Linux PC.
                                  Connected to ESC with USB to SERIAL
                                  voxl2:/usr/share/modalai/voxl-esc-tools/voxl-esc-scan.py

                                  received same error as Windows PC.

                                  No ESCs detected

                                  Alex KushleyevA 1 Reply Last reply
                                  0
                                  • rdjarvisR rdjarvis

                                    @Alex-Kushleyev
                                    ssh'd into Linux PC.
                                    Connected to ESC with USB to SERIAL
                                    voxl2:/usr/share/modalai/voxl-esc-tools/voxl-esc-scan.py

                                    received same error as Windows PC.

                                    No ESCs detected

                                    Alex KushleyevA Offline
                                    Alex KushleyevA Offline
                                    Alex Kushleyev
                                    ModalAI Team
                                    wrote on last edited by
                                    #51

                                    @rdjarvis,

                                    What do you mean "ssh'd into Linux PC" ?

                                    I am suggesting to connect the ESC to a standalone Linux PC and run the voxl-esc-scan.py on the linux PC (not on VOXL2).

                                    Just wanted to clarify..

                                    I tested the SDK 1.2.0 and the tools are working fine, it seems.

                                    rdjarvisR 2 Replies Last reply
                                    0
                                    • Alex KushleyevA Alex Kushleyev

                                      @rdjarvis,

                                      What do you mean "ssh'd into Linux PC" ?

                                      I am suggesting to connect the ESC to a standalone Linux PC and run the voxl-esc-scan.py on the linux PC (not on VOXL2).

                                      Just wanted to clarify..

                                      I tested the SDK 1.2.0 and the tools are working fine, it seems.

                                      rdjarvisR Offline
                                      rdjarvisR Offline
                                      rdjarvis
                                      Regular
                                      wrote on last edited by
                                      #52

                                      @Alex-Kushleyev

                                      On the Linux PC we are directly connected to 4 pin JST on ESC to USB.

                                      I ssh'd into VOXL2 from the Linux PC terminal.

                                      I ran voxl-esc-scan.py in VOXL2 (same results) No ESCs detected.

                                      I ran same command in Linux terminal (not ssh'd into VOXL2) same results. No ESCs detected.

                                      This is including running same command in /usr/share/modalai/voxl-esc-tools/.voxl-esc-scan.py

                                      RDJ

                                      1 Reply Last reply
                                      0
                                      • Alex KushleyevA Alex Kushleyev

                                        @rdjarvis,

                                        What do you mean "ssh'd into Linux PC" ?

                                        I am suggesting to connect the ESC to a standalone Linux PC and run the voxl-esc-scan.py on the linux PC (not on VOXL2).

                                        Just wanted to clarify..

                                        I tested the SDK 1.2.0 and the tools are working fine, it seems.

                                        rdjarvisR Offline
                                        rdjarvisR Offline
                                        rdjarvis
                                        Regular
                                        wrote on last edited by
                                        #53

                                        @Alex-Kushleyev power is on the UAV and ESC gave proper Flashes/Tones.

                                        Alex KushleyevA 1 Reply Last reply
                                        0
                                        • rdjarvisR rdjarvis

                                          @Alex-Kushleyev power is on the UAV and ESC gave proper Flashes/Tones.

                                          Alex KushleyevA Offline
                                          Alex KushleyevA Offline
                                          Alex Kushleyev
                                          ModalAI Team
                                          wrote on last edited by
                                          #54

                                          @rdjarvis , which serial to usb cable are you using? have you tested it with an ESC before? I am wondering if the RX/TX connections are correct and not swapped.

                                          Also, do you have any other Modalai ESC you can test just to make sure the cables are working?

                                          rdjarvisR 1 Reply Last reply
                                          0

                                          Hello! It looks like you're interested in this conversation, but you don't have an account yet.

                                          Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.

                                          With your input, this post could be even better 💗

                                          Register Login
                                          Reply
                                          • Reply as topic
                                          Log in to reply
                                          • Oldest to Newest
                                          • Newest to Oldest
                                          • Most Votes


                                          ModalAI
                                          Categories Recent Tags ModalAI.com Docs
                                          © 2026 ModalAI® · Accelerating autonomy for smaller, smarter, safer drones · Powered by NodeBB
                                          • Login

                                          • Login or register to search.
                                          • First post
                                            Last post
                                          0
                                          • Categories
                                          • Recent
                                          • Tags
                                          • Popular
                                          • Users
                                          • Groups