• Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Register
  • Login
ModalAI Forum
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
    • Register
    • Login

    Motor issues when running ESC calibration

    ESCs
    3
    108
    10.7k
    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.
    • A
      Alex Kushleyev ModalAI Team @Alex Kushleyev
      last edited by Alex Kushleyev 17 Apr 2024, 15:22 17 Apr 2024, 15:22

      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.

      R 1 Reply Last reply 17 Apr 2024, 15:34 Reply Quote 0
      • R
        rdjarvis @Alex Kushleyev
        last edited by 17 Apr 2024, 15:34

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

        We verified PX4 was not running.

        systemctl stop voxl-px4

        1 Reply Last reply Reply Quote 2
        • A
          Alexander Saunders @Alex Kushleyev
          last edited by 17 Apr 2024, 15:36

          @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)

          A 1 Reply Last reply 17 Apr 2024, 15:37 Reply Quote 1
          • A
            Alex Kushleyev ModalAI Team @Alexander Saunders
            last edited by 17 Apr 2024, 15:37

            @Alexander-Saunders

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

            A 1 Reply Last reply 17 Apr 2024, 15:46 Reply Quote 0
            • A
              Alex Kushleyev ModalAI Team @Alex Kushleyev
              last edited by 17 Apr 2024, 15:46

              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)
              R A 2 Replies Last reply 17 Apr 2024, 15:51 Reply Quote 0
              • R
                rdjarvis @Alex Kushleyev
                last edited by 17 Apr 2024, 15:51

                @Alex-Kushleyev ESC gave

                4 LEDs quickly flashing
                4 LEDs flash 3 times
                Motor chirps

                R A 2 Replies Last reply 17 Apr 2024, 15:53 Reply Quote 1
                • R
                  rdjarvis @rdjarvis
                  last edited by 17 Apr 2024, 15:53

                  @rdjarvis Screenshot 2024-04-17 115253.png

                  1 Reply Last reply Reply Quote 1
                  • A
                    Alex Kushleyev ModalAI Team @Alex Kushleyev
                    last edited by 17 Apr 2024, 15:54

                    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 ?

                    R 1 Reply Last reply 17 Apr 2024, 15:55 Reply Quote 0
                    • A
                      Alex Kushleyev ModalAI Team @rdjarvis
                      last edited by 17 Apr 2024, 15:55

                      @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 Reply Quote 0
                      • R
                        rdjarvis @Alex Kushleyev
                        last edited by 17 Apr 2024, 15:55

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

                        A 1 Reply Last reply 17 Apr 2024, 15:57 Reply Quote 0
                        • A
                          Alex Kushleyev ModalAI Team @rdjarvis
                          last edited by 17 Apr 2024, 15:57

                          @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.

                          R A 2 Replies Last reply 17 Apr 2024, 15:58 Reply Quote 0
                          • R
                            rdjarvis @Alex Kushleyev
                            last edited by 17 Apr 2024, 15:58

                            @Alex-Kushleyev Copy all, thank you

                            1 Reply Last reply Reply Quote 0
                            • A
                              Alexander Saunders @Alex Kushleyev
                              last edited by 17 Apr 2024, 15:59

                              @Alex-Kushleyev

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

                              A 1 Reply Last reply 17 Apr 2024, 16:02 Reply Quote 0
                              • A
                                Alex Kushleyev ModalAI Team @Alexander Saunders
                                last edited by 17 Apr 2024, 16:02

                                @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.

                                R 1 Reply Last reply 17 Apr 2024, 16:09 Reply Quote 0
                                • R
                                  rdjarvis @Alex Kushleyev
                                  last edited by 17 Apr 2024, 16:09

                                  @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

                                  A 1 Reply Last reply 17 Apr 2024, 16:13 Reply Quote 0
                                  • A
                                    Alex Kushleyev ModalAI Team @rdjarvis
                                    last edited by 17 Apr 2024, 16:13

                                    @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.

                                    R 2 Replies Last reply 17 Apr 2024, 16:25 Reply Quote 0
                                    • R
                                      rdjarvis @Alex Kushleyev
                                      last edited by 17 Apr 2024, 16:25

                                      @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 Reply Quote 0
                                      • R
                                        rdjarvis @Alex Kushleyev
                                        last edited by 17 Apr 2024, 16:28

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

                                        A 1 Reply Last reply 17 Apr 2024, 16:33 Reply Quote 0
                                        • A
                                          Alex Kushleyev ModalAI Team @rdjarvis
                                          last edited by 17 Apr 2024, 16:33

                                          @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?

                                          R 1 Reply Last reply 17 Apr 2024, 16:36 Reply Quote 0
                                          • R
                                            rdjarvis @Alex Kushleyev
                                            last edited by rdjarvis 17 Apr 2024, 16:38 17 Apr 2024, 16:36

                                            @Alex-Kushleyev

                                            MCBL-00091-1
                                            USB to Serial UART Cable from ModalAI
                                            Both right out of the new bag.

                                            We have 2 of these. Tested both. Same results.

                                            A 1 Reply Last reply 17 Apr 2024, 16:50 Reply Quote 0
                                            36 out of 108
                                            • First post
                                              36/108
                                              Last post
                                            Powered by NodeBB | Contributors