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

    PWM Servo IO Board

    Ask your questions right here!
    7
    21
    436
    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.
    • V
      valvarez @Eric Katzfey
      last edited by 27 Jan 2025, 08:42

      @Eric-Katzfey First of all, thank you for your patience.
      My intention is to be able to connect a servo that allows a load to be released during the flight based on a signal sent by the VOXL itself (we will be connected to the drone through MAVLINK)
      Seeing that there was no possibility of connecting a servo to the VOXL, I purchased the IO Board, to which I would connect the servo.
      The thing is that when I see the connection diagram of the IO Board, I see that it is connected to a connector already used in the VOXL.
      Is there any option that the device that is connected to the IO Board location can be connected to the IO Board, maintaining the option of using the RC that is supplied with the Sentinel and having the extra of being able to connect a deployment servo?

      Or failing that, if I wanted to send a signal through Mavlink to be able to release a load through a servo, what would the operation be like?

      Thank you so much

      1 Reply Last reply Reply Quote 0
      • V
        valvarez @Eric Katzfey
        last edited by 27 Jan 2025, 10:43

        @Eric-Katzfey I think it has to do with this: https://forum.modalai.com/topic/1826/voxl-2-i-o-and-gps
        Is it possible to connect the IO Board in parallel with the GPS connection?

        E 1 Reply Last reply 27 Jan 2025, 16:52 Reply Quote 0
        • E
          Eric Katzfey ModalAI Team @valvarez
          last edited by 27 Jan 2025, 16:52

          @valvarez No, you cannot connect two separate devices to the same UART.

          1 Reply Last reply Reply Quote 0
          • V
            valvarez @Eric Katzfey
            last edited by 28 Jan 2025, 09:06

            This post is deleted!
            1 Reply Last reply Reply Quote 0
            • V
              valvarez @Eric Katzfey
              last edited by 28 Jan 2025, 09:07

              @Eric-Katzfey said in PWM Servo IO Board:

              @valvarez The IO board was created to allow builders of custom drones who need to use PWM ESCs and / or SBUS RC units to be able to connect to a VOXL 2 which has neither PWM nor the ability to configure UARTs for SBUS. So, for example, if you wanted to use PWM ESCs instead of our UART based ESC then you would attach the IO board to the UART that normally is connected to the ESC. Or, for RC, you would connect (as in that diagram) to the UART that normally is connected to an RC receiver. If you still want to use our ESC, the current RC and GPS then you don't have a spare UART for the IO board. One possible way to do this would be to move the GPS from it's current connector to a UART on the applications processor side and then attach the IO board to the UART that has the GPS now. This would require an add-on board that exposes such a UART.

              Understood. And could you give me the reference of the add-on board to expose that UART?

              E 1 Reply Last reply 28 Jan 2025, 17:17 Reply Quote 0
              • E
                Eric Katzfey ModalAI Team @valvarez
                last edited by 28 Jan 2025, 17:17

                @valvarez Some examples include: https://www.modalai.com/collections/expansion-board/products/m0151?variant=47083939791152 and https://www.modalai.com/products/m0141?variant=46829445513520

                V 1 Reply Last reply 29 Jan 2025, 09:05 Reply Quote 0
                • V
                  valvarez @Eric Katzfey
                  last edited by 29 Jan 2025, 09:05

                  @Eric-Katzfey I already understood what you mean. What if that connector to which we connect the board that exposes the UART is occupied by the Sierra 5G Modem?
                  https://www.modalai.com/products/mdk-m0090?variant=40594936463411
                  I see in the datasheet that the J9 connector is a UART/i2c. Could the GPS be connected here to free it from the VOXL 2?
                  I'm starting to see the light...
                  Thanks @Eric-Katzfey 🙏

                  M 1 Reply Last reply 29 Jan 2025, 16:53 Reply Quote 0
                  • M
                    modaltb ModalAI Team @valvarez
                    last edited by 29 Jan 2025, 16:53

                    @valvarez

                    A bit hidden but it's /dev/ttyHS2

                    https://docs.modalai.com/voxl2-linux-user-guide/#devttyhs2---hsb2b-connector-uart

                    We ship a little helper tool that you can do a loop back test real quick if you make a cable that shorts pins 2/3:

                    qrb5165io-uart-test -d /dev/ttyHS2
                    
                    V 2 Replies Last reply 30 Jan 2025, 14:33 Reply Quote 0
                    • V
                      valvarez @modaltb
                      last edited by 30 Jan 2025, 14:33

                      @modaltb I don't think what you're telling me is useful to me, or I haven't understood you correctly.
                      That connector that you tell me is occupied by the M0090 -5g Add-on board, since it is a Sentinel with 5G.
                      My question is if there is a connector in that add-on to put the GPS and thus free up the VOXL connector where the IO Board will be connected.

                      T 1 Reply Last reply 30 Jan 2025, 17:56 Reply Quote 0
                      • T
                        tom admin @valvarez
                        last edited by 30 Jan 2025, 17:56

                        @valvarez In the link that Travis shared you can see that the UART is exposed on J9 of the M0090 add-on board: "M0090 - 5G Add-On Board J9 Pins 2/3 (Tx/Rx)"

                        V 1 Reply Last reply 31 Jan 2025, 09:53 Reply Quote 0
                        • V
                          valvarez @tom
                          last edited by 31 Jan 2025, 09:53

                          @tom @modaltb I had not understood the nomenclature, but with what you have told me I understood it. Thank you so much!!!

                          1 Reply Last reply Reply Quote 0
                          • V
                            valvarez @modaltb
                            last edited by 14 Feb 2025, 18:51

                            @modaltb
                            Hello.
                            I have tried this command following what you mentioned and it doesn't work.
                            Is there anything special I have to try?
                            Is it possible to connect the IO Board to the UART /dev/ttyHS2 taking this into account in the firmware update bash script?
                            WhatsApp Image 2025-02-14 at 18.46.24.jpeg WhatsApp Image 2025-02-14 at 18.46.26.jpeg
                            03b6bbbf-7d37-4977-a3ce-712c6ecc54a3-image.png

                            A 1 Reply Last reply 21 Feb 2025, 03:41 Reply Quote 0
                            • A
                              Alex Kushleyev ModalAI Team @valvarez
                              last edited by 21 Feb 2025, 03:41

                              @valvarez , the usage for the test tool is as follows:

                              voxl2:/$ qrb5165io-uart-test -h
                              Description: runs hardware loopback test on specified bus
                              
                              Usage: qrb5165io-uart-test
                              
                                  -d <device ID> (eg 3 for /dev/ttyHS3)
                              

                              So you should run your test as:

                              voxl2:/$ qrb5165io-uart-test -d 2
                              [INFO]: success!
                              
                              1 Reply Last reply Reply Quote 0
                              • First post
                                Last post
                              Powered by NodeBB | Contributors