• 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
      last edited by 18 Dec 2024, 21:44

      Hello everyone.

      I have acquired a Sentinel to which I want to connect a deploy servo.
      I have seen that I need the IO Board, but I see that the signal it handles is 3.3V, and most servos operate at 5V.

      Is there any problem in this regard? Should I power the servo with 5V independently and only give the PWM signal to the IO Board servo? Do you know of any servo compatible with this function?

      Thank you very much in advance.

      a3021f94-e28b-4b4b-a84e-c9a7d4a2f3d2-image.png

      1 Reply Last reply Reply Quote 0
      • Z
        Zachary Lowell 0 ModalAI Team
        last edited by 19 Dec 2024, 15:35

        @valvarez said in PWM Servo IO Board:

        @valvarez that is correct you should power your servo from another power source capable if giving off 5V - if the servo has an operational range though of 3.3-5 then you can power it from the IO board.

        Thanks
        Zach

        V 1 Reply Last reply 19 Dec 2024, 16:15 Reply Quote 0
        • V
          Vinny ModalAI Team @Zachary Lowell 0
          last edited by 19 Dec 2024, 16:15

          Hi @Zachary-Lowell-0 , @valvarez
          ModalAI has no design capable of powering servos directly.
          Every servo requires independent power.

          Thanks!

          V 1 Reply Last reply 20 Dec 2024, 19:15 Reply Quote 0
          • V
            valvarez @Vinny
            last edited by 20 Dec 2024, 19:15

            @Vinny Thanks @Zachary-Lowell-0 @Vinny !!

            V 1 Reply Last reply 23 Jan 2025, 15:28 Reply Quote 0
            • V
              valvarez @valvarez
              last edited by valvarez 23 Jan 2025, 15:47 23 Jan 2025, 15:28

              @valvarez Hello everyone!
              I have received the IO Board, but I can't find a way to connect it to the Sentinel. I understand that you have to follow the connections in this image, but I'm not sure.
              Could you give me some light?
              Thank you!
              alt text

              I understand that the connection indicated goes on those 4 pins, but this sensor is already connected.
              4BA03A0C-E880-4EA7-8762-5998EFE49316.jpg

              4DB7F3EB-1994-4647-A394-59A3C95E019E(1)(1).jpg

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

                @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.

                V 3 Replies Last reply 23 Jan 2025, 17:05 Reply Quote 0
                • V
                  valvarez @Eric Katzfey
                  last edited by 23 Jan 2025, 17:05

                  @Eric-Katzfey Thank you very much for the response. The kit I have purchased is the most complete one here: https://www.modalai.com/products/voxl2-io?variant=40905411035187
                  Would what you mention be possible with this hardware?

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

                    @valvarez That is the IO board. Yes, that's part of what I was talking about. Perhaps I don't quite understand your question. I would suggest creating a wiring diagram of your proposed system and including that in this thread. We can take a look and see if looks feasible. What you are proposing is a customization to the platform that we have never attempted so the best we can do is to take a look at your proposed design and provide some feedback on it.

                    V 2 Replies Last reply 27 Jan 2025, 08:42 Reply Quote 0
                    • 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 🙏

                                  modaltbM 1 Reply Last reply 29 Jan 2025, 16:53 Reply Quote 0
                                  • modaltbM
                                    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.

                                      tomT 1 Reply Last reply 30 Jan 2025, 17:56 Reply Quote 0
                                      • tomT
                                        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

                                            Alex KushleyevA 1 Reply Last reply 21 Feb 2025, 03:41 Reply Quote 0
                                            • First post
                                              Last post
                                            Powered by NodeBB | Contributors