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

    Resolution problem when using VOXL2-mini USB3 to HDMI adapter

    VOXL 2 Mini
    5
    22
    1456
    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 @Jskim
      last edited by

      @Jskim The documentation for voxl-uvc-server is here: https://docs.modalai.com/voxl-uvc-server/. That documentation lists the cameras that we have used for testing. If you are using a camera that we don't support yet then it's likely you will have to update the code to make it work properly. There are some helpful tips in that documentation to help point you in the right direction. If you succeed in making a new camera work please let us know and submit a PR with your updates.

      J 1 Reply Last reply Reply Quote 0
      • J
        Jskim @Eric Katzfey
        last edited by Jskim

        @Eric-Katzfey

        1. The documentation for voxl-uvc-server is here:
          A) I fully understand the contents and am using the UVC camera without any problems.
          I think that's beside the point. We are talking about HDMI cameras. (When using an HDMI camera, 640x480@30fps and 1024x720@10fps operate without any problems.)

        2. The problem mentioned above is not a UVC camera problem, but that the HDMI camera does not support FHD and HD on the VOXL2-mini when using the USB3.0 to HDMI adapter.

        3. System configuration diagram:
          VOXL2-mini (USB3.0 Port) -> USB3.0 to HDMI adapter -> HDMI camera

        4. Questions

        1. When using an HDMI camera, does VOXL2-mini not support FHD (@30fps) and HD (@30fps)?
        2. If support is not provided, what is the reason?
        3. If supported, what is the connectivity solution?
        1. Notes
        1. MIPI CSI-2 cameras are mainly used for very small drones, but
          USB, HDMI, and IP cameras are mainly used for medium-sized and larger drones.
        2. We are testing an H.265 IP camera using an Ethernet adapter on the USB3.0 port of VOXL-mini. I will ask additional questions once the results come out.
        3. I will share the USB3.0 camera test results.
        Eric KatzfeyE VinnyV 2 Replies Last reply Reply Quote 0
        • Eric KatzfeyE
          Eric Katzfey ModalAI Team @Jskim
          last edited by

          @Jskim Okay, I guess I don't really understand the problem then. How is the HDMI camera exposed to the system when attached to the USB to HDMI adapter? I thought you were mentioning UVC because it shows up as a UVC device. But I guess that's not the case. Can you explain the system / software interface to the camera? When you attach that same camera / adapter to a Linux computer how do you access it?

          1 Reply Last reply Reply Quote 0
          • VinnyV
            Vinny ModalAI Team @Jskim
            last edited by

            HI @Jskim
            Can you also elaborate what is going on here electrically?
            f4a5056d-fb6f-49e3-a9a8-496c82a29b4f-image.png
            That does not look like our standard MCBL-00022-2. Did you do some additional splicing/merging to make this connect to the HDMI adapter? Did you add the series caps needed on TX (output) for USB3 speeds?
            https://docs.modalai.com/voxl2-mini-connectors/#j3-usb-3-10-pin
            Did you remove the USB3 lines altogether? (USB2 is plenty of bandwidth for most video applications)

            Can you also please share the specs of your HDMI adapter and HDMI camera as well? I'm curious how that is working from a hardware standpoint. You could be missing some power features here to power all these adapters correctly, making the link not work. I'd like to help double check for everyone involved.

            Thanks!

            J 1 Reply Last reply Reply Quote 0
            • J
              Jskim @Vinny
              last edited by Jskim

              @Vinny

              1. That does not look like our standard MCBL-00022-2.
                A) This is the same cable as MCBL-00022-2. It is wrapped with insulating tape.

              2. Did you do some additional splicing/merging to make this connect to the HDMI adapter? Did you add the series caps needed on TX (output) for USB3 speeds?
                A) This is a standard cable purchased from MODALAI and no work was done.

              3. https://docs.modalai.com/voxl2-mini-connectors/#j3-usb-3-10-pin
                Did you remove the USB3 lines altogether? (USB2 is plenty of bandwidth for most video applications)
                When we use a USB2.0 adapter on the VOXL2-mini USB3.0 port, only 640x480@30fps is supported.
                A) We need uvc camera resolution 720p@30fps. The USB2.0 supported resolution is only 640x480@30fps.

              4. Can you also please share the specs of your HDMI adapter and HDMI camera as well? I'm curious how that is working from a hardware standpoint. You could be missing some power features here to power all these adapters correctly, making the link not work. I'd like to help double check for everyone involved.

              VOXL2 mini MOHOC HDMI camera conf.png
              1) HDMI adapter maker and model name : Anyport & AP-HDC4K
              2) HDMI camera maker and model : MOHOC &MOHOC(https://www.mohoc.com/)

              5. We have purchased and are testing an Arducam USB3.0 camera.
              (Arducam 13MP IMX258 OIS Motorized Focus USB 3.0 Camera Module)

              1. Format : YUY2
              2. Frame Rate (USB 3.0) : 1280720@60fps,19201080@40fps,20961560@30fps,38402160@20fps,4208*3120@12fps
              3. Interface : USB 3.2 Gen 1 device, backward compatible with USB 2.0 hosts
              4. UVC Compliant : No additional drivers required

              Thanks,

              VinnyV 1 Reply Last reply Reply Quote 0
              • VinnyV
                Vinny ModalAI Team @Jskim
                last edited by

                Hi @Jskim
                I'd like to remind you of this post/exchange we had a few weeks ago:
                https://forum.modalai.com/post/13799
                So, I'm not sure if this is creating extra issues with your setup unless you did indeed add series caps on the TX lines from VOXL 2 Mini in the MCBL-00022-2.

                Pretty neat camera, and we want to help you succeed.
                I see they run on internal batteries, I was curious why there was no power cord to it.
                I see it comes in variations with WiFi. Wonder if maybe you can try an IP based format version instead of UVC?
                You can try our WiFI adapter with MCBL-00022-2 as a test.
                Like this, but instead of MCBL-00041, use the MCBL-00022-2 (The Alfa dongle only uses USB2).
                https://www.modalai.com/collections/accessories/products/wifi-usb-cable-add-on

                For the HDMI adapter, I cannot find enough specs in English to see which side provides power (HDMI side, or USB3 side). I would explore further options here to make sure this adapter works with other devices, since we have no experience with it. This item to me is the biggest risk item to your success.

                Hope this helps a little bit, and maybe SW team can help you with the other issues.

                Thanks!

                J 1 Reply Last reply Reply Quote 0
                • J
                  Jskim @Vinny
                  last edited by Jskim

                  @Vinny
                  Thank you so much for your quick reply.

                  1. The HDMI to USB dongle is powered by USB3 from the VOXL2-mini.
                  2. We have no problem using the TP link wifi dongle on the USB3 port. I have already tested it.
                  TP link WiFi dongle.PNG

                  3. We will tell you the results of the test with the arducam USB3.0 camera.

                  system configuration.png
                  1) You need to check whether the problem is with the USB3.0 port or the streamer or the uvc server.???
                  2) You can see the voxl2-mini test result in the image below.

                  lsusb 명령어.PNG
                  lsusb 명령어_01.PNG
                  lsusb 명령어_02.PNG
                  lsusb 명령어_03.PNG
                  lsusb 명령어_04.PNG
                  lsusb 명령어_05.PNG

                  uvc server config.PNG
                  inspect service.PNG
                  inspect cam 명령어.PNG
                  inspect cam 결과.PNG

                  *Note: We use USB3 to USb2 conversion, 1280x720 @10fps no problem.
                  USB3 to USB2 conversion 1280x720.PNG
                  USB3 to USB2 conversion Portal.PNG

                  1. We tested arducam directly connected to Windows PC USB3 port and there is no problem.
                    윈도우 PC 결과.png

                  VLC 결과_01.png
                  VLC 결과_02.png

                  Thanks,

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

                    @Jskim I'm sorry but I keep reading through your messages and am finding it hard to understand what you are asking. It sounds like everything works fine up to 1280x720@10fps. But you want at least 1280x720@30fps. What happens when you change 10 to 30? Does voxl-uvc-server not run? Or does it run fine but you see no output?

                    J 1 Reply Last reply Reply Quote 0
                    • J
                      Jskim @Eric Katzfey
                      last edited by

                      @Eric-Katzfey
                      Thank you for your quick reply.

                      I have a problem with the VOXL2-mini USB3 port.
                      When I connect a USB3 camera directly to the VOXL2-mini, the camera is recognised but no output.
                      However, when we change the USB3 to USB2, the camera output is only 1280x720@10fps.

                      1. Correct. we want a minimum of 1280x720@30fps.

                      2. voxl-uvc-server is running. But no output is displayed.

                      3. what happens when you change 10 to 30?
                        A) When you change to 30, there is no output.

                      Thanks,

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

                        @Jskim Ah, okay, that's more clear now. Have you considered the suggestions from @Vinny ? The USB 3.0 port on VOXL2 mini requires some extra capacitance or else it won't work. This is not normally provided by any standard cable and needs to be added in separately. Also, as per the documentation https://docs.modalai.com/voxl-uvc-server/ what output do you see if you enable debug messages? (e.g. voxl-uvc-server -d)

                        J 1 Reply Last reply Reply Quote 0
                        • J
                          Jskim @Eric Katzfey
                          last edited by

                          @Eric-Katzfey
                          Thank you very much for the quick reply.

                          1. When I executed the voxl-uvc-server -d command, the screen froze.
                            voxl-uvc-server -d.jpg

                          Thanks,

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

                            @Jskim Have you added the required capacitors as explained by @Vinny ?

                            J 1 Reply Last reply Reply Quote 0
                            • J
                              Jskim @Eric Katzfey
                              last edited by

                              @Eric-Katzfey

                              Sorry, please tell me again how to add capacitors.

                              Thanks,

                              J 1 Reply Last reply Reply Quote 0
                              • J
                                Jskim @Jskim
                                last edited by

                                @Jskim
                                USB3 to USB2 dongle.png

                                We tested it using a USB30 to USB2.0 cable.

                                1. 1280x720@10fps is no problem.
                                2. 1280x720@30fps does not work.

                                Thanks

                                1 Reply Last reply Reply Quote 0
                                • M
                                  milanerd
                                  last edited by

                                  We also encountered the problem of 10 FPS limit when trying to stream HD video (1280x720 at more than 10 FPS) using USB3 to HDMI adapter on VOXL2.

                                  @Jskim did you manage to identify/solve the issues somehow?

                                  ModeratorM 1 Reply Last reply Reply Quote 0
                                  • ModeratorM
                                    Moderator ModalAI Team @milanerd
                                    last edited by

                                    @milanerd We have added a cable with built in extra capacitance https://www.modalai.com/products/mcbl-00022?variant=49030324060464

                                    M 1 Reply Last reply Reply Quote 0
                                    • M
                                      milanerd @Moderator
                                      last edited by

                                      @Moderator Thank you. If I understood well, the adapter with added capacitance solved the issue with HD stream at 30 FPS?

                                      ModeratorM 1 Reply Last reply Reply Quote 0
                                      • ModeratorM
                                        Moderator ModalAI Team @milanerd
                                        last edited by

                                        @milanerd The added capacitance helps VOXL 2 Mini's USB port achieve USB 3 speeds. We don't have that adapter to confirm a fix for your issue, but with the cable the link should transfer much faster

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