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

    UART communication using J19 - VOXL2 SENTINEL

    Ask your questions right here!
    4
    5
    296
    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.
    • L
      leonardo Andrade 0
      last edited by 27 Mar 2024, 16:48

      hi guys!

      I have a very dumb question.

      I'd like to develop a gimbal using uart communication. But since I'd already removed the GPS module, I thought I'd use these uart ports.

      I tried connecting an ESP32 to J19 of the VOXL2 (PINOS: #2-TX, #3-RX, #6-GND) and checking communication using the qrb5165io-uart-test and qrb5165io-slpi-uart-test commands.

      I also checked this link:

      https://docs.modalai.com/voxl2-qups/

      Could you please guide me?!
      Thank you!

      A 1 Reply Last reply 27 Mar 2024, 22:02 Reply Quote 0
      • A
        Alex Kushleyev ModalAI Team @leonardo Andrade 0
        last edited by 27 Mar 2024, 22:02

        @leonardo-Andrade-0 , the UART port on J19 is connected to the DSP where PX4 typically runs. This means the uart test apps from the cpu side (which interface with DSP to get to the UART port) cannot run concurrently with PX4 (currently only one app can run on DSP at a time).

        Perhaps when you were testing, PX4 was running and your test did not work?

        Would you want to interface to your gimbal from PX4 running on DSP or from CPU?

        Alex

        L C 2 Replies Last reply 8 Apr 2024, 17:45 Reply Quote 0
        • L
          leonardo Andrade 0 @Alex Kushleyev
          last edited by 8 Apr 2024, 17:45

          @Alex-Kushleyev

          Hi Alex,

          When I tested was with the px4 running.

          That apps you said is like this?
          https://docs.px4.io/main/en/modules/hello_sky.html

          I’m still learning some parts of px4 itself 😅.

          Ideally, I thought to connect the esp to cpu where I could to read the data coming , such as to connect a arduino board in a computer. However to control the gimbal should be using mavlink .

          It’s like to learn to use the peripherals of my sentinel, because in the future I need also to connect UART lidar.

          What do you recommend? Because the others UARTs ports that I have are full right now.

          Best regards!

          1 Reply Last reply Reply Quote 0
          • C
            constantines @Alex Kushleyev
            last edited by a day ago

            @Alex-Kushleyev
            Hi, and what if I want to add a Mavlink sensor (say a number of distance sensors connected to a dedicated MCU) to the VOXL2 using the J19 (PINS: #2-TX, #3-RX, #6-GND) instead of the GPS? I plan to read it using PX4. It that possible?

            E 1 Reply Last reply a day ago Reply Quote 0
            • E
              Eric Katzfey ModalAI Team @constantines
              last edited by a day ago

              @constantines Unfortunately, the PX4 Mavlink module is only running on the applications processor (Linux) and not on the DSP side. Mavlink would have to be added to the DSP PX4 build.

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