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

    motor not responding to throttle

    Ask your questions right here!
    3
    17
    495
    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.
    • K
      kham @Moderator
      last edited by

      @Moderatorthank you for the response, however as mentioned before I already followed the guide and both drones are already upgraded and running the latest version of the VOXL SDK released for the RB5 flight.

      Alex KushleyevA 1 Reply Last reply Reply Quote 0
      • Alex KushleyevA
        Alex Kushleyev ModalAI Team @kham
        last edited by

        @kham , can you please let us know which version of px4 you are using?

        voxl-version | grep voxl-px4
        

        Also in your plot above, i see the ESC reports temperatures as [0, 4300, 4200, 4300], for some reason the first ESC is not reporting temperature, there may be a configuration error of the ESC.

        Please try the following:

        #stop px4
        systemctl stop voxl-px4
        
        #scan for ESCs
        cd /usr/share/modalai/voxl-esc-tools/
        ./voxl-esc-scan.py
        

        And let me know what the ESC scan outputs. Thanks!

        K 1 Reply Last reply Reply Quote 0
        • K
          kham @Alex Kushleyev
          last edited by

          @Alex-Kushleyev Screenshot from 2024-03-14 14-01-56.png Screenshot from 2024-03-14 13-56-50.png
          I ran the scan and it seems that one of the ESC's is not appearing on the scan.

          Alex KushleyevA 1 Reply Last reply Reply Quote 0
          • Alex KushleyevA
            Alex Kushleyev ModalAI Team @kham
            last edited by

            @kham , yes i see and the results of the scan are consistent with the lack of status report in PX4 ESC status.

            Let's try two more things:

            • when you power on the vehicle / esc, do you see all 4 ESC channels flash the blue LEDs quickly for 1 second (that is bootloader) and then several slow flashes? Do the motor sounds all sound the same or is one of the ESCs sounds / flashes differently (the ID0)?
            • can you please try to do the same esc scan but use the latest voxl-esc tools from the dev branch : https://gitlab.com/voxl-public/voxl-sdk/utilities/voxl-esc/-/tree/dev . the latest tools will scan all baud rates if not all of the ESCs are found. I wonder if the params are out of sync on the 4 ESC channels.

            If you do find the ESC0 is using a different baud rate, you can follow this procedure to bring the ESC to a good state with latest firmware : https://gitlab.com/voxl-public/voxl-sdk/utilities/voxl-esc/-/blob/dev/voxl-esc-tools/recovery.md

            Thanks!

            K 1 Reply Last reply Reply Quote 0
            • K
              kham @Alex Kushleyev
              last edited by

              @Alex-Kushleyev thank you for the response

              • When powering on the vehicle only 3 ESC channels flash blue and continuously maintain a fast flashing rate ( they do not flash slowly after the boot).

              • Screenshot from 2024-03-18 17-53-06.png
                As you can see , i ran the recent versions of the voxl-esc tools pulled from the gitlab repo and the scan remains the same as before.

              Alex KushleyevA 1 Reply Last reply Reply Quote 0
              • Alex KushleyevA
                Alex Kushleyev ModalAI Team @kham
                last edited by

                @kham,

                Please check your output, the git clone command did not work because the directory already existed. Also, you did not specify the branch name. Please do the clone in another location.

                The correct command is:

                git clone https://gitlab.com/voxl-public/voxl-sdk/utilities/voxl-esc.git -b dev
                
                #stop px4 and scan
                systemctl stop voxl-px4
                cd voxl-esc/voxl-esc-tools
                ./voxl-esc-scan.py
                

                (essentially, the first few steps of the document i referenced in my previous post: https://gitlab.com/voxl-public/voxl-sdk/utilities/voxl-esc/-/blob/dev/voxl-esc-tools/recovery.md)

                Now, you said that only three blue LEDs flash on the ESC - does the 4th blue LED every light up?

                Thank you

                Alex

                K 1 Reply Last reply Reply Quote 0
                • K
                  kham @Alex Kushleyev
                  last edited by

                  @Alex-Kushleyev thank you for the clarification, i ran the code as instructed and the output is still consistent. Screenshot from 2024-03-19 14-54-31.png

                  As for the blue LED's the forth one only flashes at the beginning for 1 second with the other LED's (when i plug-in the battery) after that they all turn off and then only 3 LED's continuously flash blue.

                  Alex KushleyevA K 2 Replies Last reply Reply Quote 0
                  • Alex KushleyevA
                    Alex Kushleyev ModalAI Team @kham
                    last edited by

                    @kham , thank you for the details.

                    The fact that ESC ID0 also flashes at the beginning for 1 second and then the led turns off means that the bootloader starts up, runs for 1 second, verifies the firmware and start executing the firmware. So the last thing that could be wrong on ESC ID0 are the ESC params that have potentially got corrupted. I am not sure why the scan does not detect it though.

                    Has the ESC worked fine in the past with all 4 channels working? Perhaps something happened during an SDK upgrade when ESC firmware and params were updated? (sometimes an error happens during this process, causing ESC params to fail to upload)

                    Can you please try again and run this several times just to make sure.. forcing the baud rate to 57600 which is the fallback baud rate if the params on ESC are not valid (the baud rate is part of params, so if params are corrupt, ESC will default to 57600 baud rate).

                    ./voxl-esc-scan.py --device /dev/slpi-uart-2 --baud-rate 57600 
                    

                    you can also try forcing to install params this way:

                    ./voxl-esc-upload-params.py --params-file <path_to_esc_params_file.xml> --device /dev/slpi-uart-2 --baud-rate 57600 
                    

                    thank you

                    1 Reply Last reply Reply Quote 0
                    • K
                      kham @kham
                      last edited by

                      @kham thank you for the reply, i ran the scan multiple times and was met with the same output. I ran the baud update but still got the same output. I tried to force install but it didn't work.Screenshot from 2024-03-19 16-10-40.png Screenshot from 2024-03-19 16-10-43.png

                      Alex KushleyevA 1 Reply Last reply Reply Quote 0
                      • Alex KushleyevA
                        Alex Kushleyev ModalAI Team @kham
                        last edited by

                        @kham OK, thank you. can you please let me know if ID0 used to work (meaning, all 4 motors working / spinning) and something happened or it never worked on this ESC board?

                        K 2 Replies Last reply Reply Quote 0
                        • K
                          kham @Alex Kushleyev
                          last edited by

                          This post is deleted!
                          1 Reply Last reply Reply Quote 0
                          • K
                            kham @Alex Kushleyev
                            last edited by

                            @Alex-Kushleyev I was the first to use the drones after they were bought and after updating the drone and setting up the SDK the motor didn't work, so no there was no time were all the motors were working. Also we do not have a radio controller so all testing is done through Qgroundcontrol.

                            Alex KushleyevA 1 Reply Last reply Reply Quote 0
                            • Alex KushleyevA
                              Alex Kushleyev ModalAI Team @kham
                              last edited by Alex Kushleyev

                              @kham , thank you for the information. Since the ESC originally cam in a drone, then it was originally working, so at least that is good.

                              Do you think you would be able to take a short video of the 4 blue LEDs on the ESC for several seconds after you apply the power to the ESC and until the LEDs just shut off. No need to run PX4.

                              Alex KushleyevA 1 Reply Last reply Reply Quote 0
                              • Alex KushleyevA
                                Alex Kushleyev ModalAI Team @Alex Kushleyev
                                last edited by

                                If we are not able to resolve this soon, i would recommend replacing the ESC, you could then submit RMA form : https://www.modalai.com/pages/rma .

                                In majority of cases, the scanning script should find the ESC even if it is missing firmware or params, so I am slightly confused why this is happening. It could be a hardware issue on the ESC.

                                The ESC you have now is board version M0049, which is older than the current version of the ESC and is no longer in production. If you are going to request a replacement of the ESC, you will most likely receive M0134-1 which is just a newer revision (not really better or worse, the functionality is the same). https://www.modalai.com/products/voxl-esc

                                In order to rule our the RB5 UART issues, if you are open to continuing to debug, i would recommend making an adapter using a USB-to-serial adapter and Hirose DF13 6-pin connector, then you could use voxl-esc tools on a PC and there is more flexibility in debugging. Please let me know if you would like to explore this option.

                                1 Reply Last reply Reply Quote 0
                                • First post
                                  Last post
                                Powered by NodeBB | Contributors