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

    Installing VOXL IO on Sentinel Drone – QUP2 and QUP7 Conflicts

    Sentinel
    2
    11
    24
    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.
    • Eric KatzfeyE
      Eric Katzfey ModalAI Team @tonygurney
      last edited by

      @tonygurney What are you trying to use the VOXL 2 IO board for?

      T 1 Reply Last reply Reply Quote 1
      • T
        tonygurney @Eric Katzfey
        last edited by

        @Eric-Katzfey I am looking to attach a gripper to the drone

        T 1 Reply Last reply Reply Quote 0
        • T
          tonygurney @tonygurney
          last edited by

          @tonygurney I am also using a ghost atto as my receiver

          Eric KatzfeyE 1 Reply Last reply Reply Quote 0
          • Eric KatzfeyE
            Eric Katzfey ModalAI Team @tonygurney
            last edited by

            @tonygurney Did you want to control the gripper using an application on Linux? Or as a driver in PX4?

            T 1 Reply Last reply Reply Quote 0
            • T
              tonygurney @Eric Katzfey
              last edited by

              @Eric-Katzfey I’m trying to control the gripper using a Python script running in a Docker container on Linux. My plan is to use pymavlink to listen for remote controller commands, like a specific channel input, and then trigger the gripper based on that input. So I think it's not integrated directly as a PX4 driver; it’s more of a companion application running alongside PX4 that reacts to MAVLink messages in real time.

              Eric KatzfeyE 1 Reply Last reply Reply Quote 0
              • Eric KatzfeyE
                Eric Katzfey ModalAI Team @tonygurney
                last edited by

                @tonygurney One option is to use the ESC board. It has PWM outputs. There is a voxl-send-esc-pwm-cmd utility on your VOXL 2 that can be used to send PWM commands to the ESC. However, with this option you would need to solder the PWM connections directly to the ESC board and not everyone is comfortable with that.

                T 1 Reply Last reply Reply Quote 0
                • T
                  tonygurney @Eric Katzfey
                  last edited by

                  @Eric-Katzfey Correct me if I am wrong, but doesn't the ESC only have enough motor outputs for each of the propellers? So to add another PWM signal I need to either use a GPIO pin or the expansion voxl2 IO board

                  Eric KatzfeyE 1 Reply Last reply Reply Quote 0
                  • Eric KatzfeyE
                    Eric Katzfey ModalAI Team @tonygurney
                    last edited by

                    @tonygurney The ESC doesn't use PWM to control the motors. So it has the PWM channels free for other uses. The ESC used in the Sentinel actually has the PWM IO on a connector (J3) so no need to solder: https://docs.modalai.com/modal-esc-datasheet/

                    T 1 Reply Last reply Reply Quote 1
                    • T
                      tonygurney @Eric Katzfey
                      last edited by

                      @Eric-Katzfey How can I control those PWM signals? Since at the moment I am not reading anything from any of the pins.

                      Eric KatzfeyE 1 Reply Last reply Reply Quote 0
                      • Eric KatzfeyE
                        Eric Katzfey ModalAI Team @tonygurney
                        last edited by

                        @tonygurney Try the test application voxl-send-esc-pwm-cmd. Source code is here: https://gitlab.com/voxl-public/voxl-sdk/services/voxl-io-server/-/blob/dev/tools/voxl-send-esc-pwm-cmd.c?ref_type=heads

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