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

    Connecting i2c device on voxl2

    VOXL 2
    4
    61
    7.0k
    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 @Aaky
      last edited by 9 Apr 2024, 13:14

      @Aaky , i will be back to office on Wednesday and will follow up with replies to your questions.

      A 1 Reply Last reply 9 Apr 2024, 14:57 Reply Quote 0
      • A
        Aaky @Alex Kushleyev
        last edited by Aaky 9 Apr 2024, 14:57 9 Apr 2024, 14:57

        @Alex-Kushleyev No problem Alex.
        In the meantime @Eric-Katzfey if you can provide me some insights on my following query ?

        @Aaky said in Connecting i2c device on voxl2:

        I have one more query. I have a gimbal which expects PX4's Attitude to be fed into it for better attitude control of gimbal (Typically every good gimbal expects Autopilot's attitude to be fed into it). So for this my gimbal has UART port which can capture mavlink packets been broadcasted by autopilot and act accordingly. Can we do this integration using VOXL's ESC UART port to broadcast mavlink packets into my gimbal's UART port in the same way like any Pixhawk Cube based Autopilot running PX4 can output mavlink packets over telem port?

        E 1 Reply Last reply 9 Apr 2024, 15:03 Reply Quote 0
        • E
          Eric Katzfey ModalAI Team @Aaky
          last edited by 9 Apr 2024, 15:03

          @Aaky If you are running PX4 on VOXL2 then you cannot use the DSP UARTs outside of PX4. And within PX4 all data is transferred as topics, not mavlink. To do what you want you need a UART on the apps processor side (available on certain add on boards) and have voxl-mavlink-server route the appropriate mavlink messages to it.

          A 1 Reply Last reply 9 Apr 2024, 15:13 Reply Quote 0
          • A
            Aaky @Eric Katzfey
            last edited by 9 Apr 2024, 15:13

            @Eric-Katzfey Okay. So normal Telem ports as they are available on Pixhawk Autopilot running vanilla PX4 arent available on VOXL-PX4? The application processor side integration sounds complex to my architecture since I already have one Add-on board sitting over VOXL providing USB connection for my Doodle labs radio. Any other feasible option?

            E 1 Reply Last reply 10 Apr 2024, 16:15 Reply Quote 0
            • D Denver Bennett referenced this topic on 9 Apr 2024, 19:44
            • E
              Eric Katzfey ModalAI Team @Aaky
              last edited by 10 Apr 2024, 16:15

              @Aaky Correct. VOXL2 uses UDP for it's Mavlink telemetry, not UART TELEM ports like on a microcontroller based autopilot. But, voxl-mavlink-server should be able to route Mavlink messages over an apps processor based UART such that it would be similar to a TELEM port. Which add-on board is it? Is it something custom or one of our boards?

              A 2 Replies Last reply 10 Apr 2024, 17:06 Reply Quote 0
              • A
                Aaky @Eric Katzfey
                last edited by 10 Apr 2024, 17:06

                @Eric-Katzfey Thanks for the information. The add on board is Microhard modem B2B board without any Microhard radio in it acting just as USB port provider for my doodle labs modem. How can I get UART port if I am using this board?

                E 1 Reply Last reply 11 Apr 2024, 17:10 Reply Quote 0
                • A
                  Aaky @Eric Katzfey
                  last edited by 11 Apr 2024, 08:16

                  @Eric-Katzfey Eric, Say I connect UART from this expansion board, What all changes I need to do in voxl-mavlink-server in order to broadcast PX4 attitude mavlink packets to my gimbal? I understand this UART is meant for external flight controller communication so will it work straight out of the box?

                  E 2 Replies Last reply 11 Apr 2024, 17:07 Reply Quote 0
                  • E
                    Eric Katzfey ModalAI Team @Aaky
                    last edited by 11 Apr 2024, 17:07

                    @Aaky That is not a standard configuration that we test with so likely will not work out of the box. But it shouldn't be too hard to adapt voxl-mavlink-server to your use case. And if you make changes that you think would benefit other users we would gladly accept a Pull Request with the updates.

                    1 Reply Last reply Reply Quote 0
                    • E
                      Eric Katzfey ModalAI Team @Aaky
                      last edited by 11 Apr 2024, 17:08

                      @Aaky Yes, you could use the UART exposed on that M0125 expansion board.

                      1 Reply Last reply Reply Quote 0
                      • E
                        Eric Katzfey ModalAI Team @Aaky
                        last edited by 11 Apr 2024, 17:10

                        @Aaky The Microhard board does not expose an apps processor UART but you could use a USB to UART adapter to connect to the Gimbal via one of the USB ports.

                        1 Reply Last reply Reply Quote 0
                        52 out of 61
                        • First post
                          52/61
                          Last post
                        Powered by NodeBB | Contributors