Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
Collapse
Brand Logo

ModalAI Forum

  1. ModalAI Support Forum
  2. Ask your questions right here!
  3. Issue with USB Camera Disconnecting on VOXL2

Issue with USB Camera Disconnecting on VOXL2

Scheduled Pinned Locked Moved Ask your questions right here!
6 Posts 2 Posters 377 Views 1 Watching
  • 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.
  • Daehan WonD Offline
    Daehan WonD Offline
    Daehan Won
    wrote on last edited by
    #1

    Hello,

    I would like to use a USB camera connected to the VOXL2. My test environment is as follows:

    Hardware setup:

    VOXL2
    VOXL 2 Ethernet and USB Hub Add-on (MDK-M0062-3-00)
    USB Camera

    The camera is connected via the J11 USB port on the MDK-M0062-3-00.

    VOXL2 <--> VOXL 2 Ethernet and USB Hub Add-on(J11) <--> USB Camera

    J11 Pin Description:

    1. VBUS_PORT3 — 5V VBUS, 1A limit
    2. USB1_HS_CON_D_N — Host Port USB_D-
    3. USB1_HS_CON_D_P — Host Port USB_D+
    4. DGND — System GND

    However, when I first power on the system, the video device is recognized correctly. After about one minute, the video device disappears.

    Is there any additional configuration or setup I need to perform?

    VinnyV 1 Reply Last reply
    0
    • Daehan WonD Daehan Won

      Hello,

      I would like to use a USB camera connected to the VOXL2. My test environment is as follows:

      Hardware setup:

      VOXL2
      VOXL 2 Ethernet and USB Hub Add-on (MDK-M0062-3-00)
      USB Camera

      The camera is connected via the J11 USB port on the MDK-M0062-3-00.

      VOXL2 <--> VOXL 2 Ethernet and USB Hub Add-on(J11) <--> USB Camera

      J11 Pin Description:

      1. VBUS_PORT3 — 5V VBUS, 1A limit
      2. USB1_HS_CON_D_N — Host Port USB_D-
      3. USB1_HS_CON_D_P — Host Port USB_D+
      4. DGND — System GND

      However, when I first power on the system, the video device is recognized correctly. After about one minute, the video device disappears.

      Is there any additional configuration or setup I need to perform?

      VinnyV Offline
      VinnyV Offline
      Vinny
      ModalAI Team
      wrote on last edited by
      #2

      Hi @Daehan-Won
      To help us, what camera and how is it connected (cable details, with photo will help)
      We want to first understand how much power it needs.

      However, if it appears upon boot up, that is usually the worst power draw (in-rush), so I'm not inclined to think this is the case. It may be loose wiring, which is why a photo of your cable setup will also help. Even the slighest intermittent glitch on USB will create USB reconect events.
      You can monitor that in a VOXL console (over ADB) with this command :

      dmesg -w | grep -Ei 'usb|xhci'
      

      Thanks!

      Daehan WonD 1 Reply Last reply
      0
      • VinnyV Vinny

        Hi @Daehan-Won
        To help us, what camera and how is it connected (cable details, with photo will help)
        We want to first understand how much power it needs.

        However, if it appears upon boot up, that is usually the worst power draw (in-rush), so I'm not inclined to think this is the case. It may be loose wiring, which is why a photo of your cable setup will also help. Even the slighest intermittent glitch on USB will create USB reconect events.
        You can monitor that in a VOXL console (over ADB) with this command :

        dmesg -w | grep -Ei 'usb|xhci'
        

        Thanks!

        Daehan WonD Offline
        Daehan WonD Offline
        Daehan Won
        wrote on last edited by
        #3

        @Vinny Thank you for reply!

        hardware_architecture.png

        Night Vision Camera
        https://ko.aliexpress.com/item/1005007185180818.html?spm=a2g0o.order_list.order_list_main.27.5cf0140f9dDqCE&gatewayAdapt=glo2kor

        LWIR Camera
        https://ko.aliexpress.com/item/1005010057812282.html?spm=a2g0o.productlist.main.13.372eXTreXTreSV&algo_pvid=04aff256-3319-46cc-9450-d3d4fe12b980&algo_exp_id=04aff256-3319-46cc-9450-d3d4fe12b980-12&pdp_ext_f={"order"%3A"6"%2C"eval"%3A"1"%2C"fromPage"%3A"search"}&pdp_npi=6%40dis!KRW!506400!506400!!!2244.31!2244.31!%40212e520d17754604623953738e4267!12000050979550628!sea!KR!6191003913!X!1!0!n_tag%3A-29919%3Bd%3A33984ef5%3Bm03_new_user%3A-29895&curPageLogUid=jdYvxkDACuo3&utparam-url=scene%3Asearch|query_from%3A|x_object_id%3A1005010057812282|_p_origin_prod%3A

        I connected it as shown in the attached file.

        The camera was purchased from AliExpress. The Night Vision Camera has a current consumption of 0.2 A, and the LWIR camera’s current consumption is unknown (but it is expected to be low).
        Even when testing with only the Night Vision Camera connected, the same issue occurred.

        VinnyV 1 Reply Last reply
        0
        • Daehan WonD Daehan Won

          @Vinny Thank you for reply!

          hardware_architecture.png

          Night Vision Camera
          https://ko.aliexpress.com/item/1005007185180818.html?spm=a2g0o.order_list.order_list_main.27.5cf0140f9dDqCE&gatewayAdapt=glo2kor

          LWIR Camera
          https://ko.aliexpress.com/item/1005010057812282.html?spm=a2g0o.productlist.main.13.372eXTreXTreSV&algo_pvid=04aff256-3319-46cc-9450-d3d4fe12b980&algo_exp_id=04aff256-3319-46cc-9450-d3d4fe12b980-12&pdp_ext_f={"order"%3A"6"%2C"eval"%3A"1"%2C"fromPage"%3A"search"}&pdp_npi=6%40dis!KRW!506400!506400!!!2244.31!2244.31!%40212e520d17754604623953738e4267!12000050979550628!sea!KR!6191003913!X!1!0!n_tag%3A-29919%3Bd%3A33984ef5%3Bm03_new_user%3A-29895&curPageLogUid=jdYvxkDACuo3&utparam-url=scene%3Asearch|query_from%3A|x_object_id%3A1005010057812282|_p_origin_prod%3A

          I connected it as shown in the attached file.

          The camera was purchased from AliExpress. The Night Vision Camera has a current consumption of 0.2 A, and the LWIR camera’s current consumption is unknown (but it is expected to be low).
          Even when testing with only the Night Vision Camera connected, the same issue occurred.

          VinnyV Offline
          VinnyV Offline
          Vinny
          ModalAI Team
          wrote on last edited by
          #4

          Hi @Daehan-Won
          So, on the M0062 debug board, you do not need to connect an extra hub. You already have 3 USB ports...
          Look at J10, J11, and J12..
          https://docs.modalai.com/m0062-datasheet/#connector-callouts
          Yes they are different connectors, but is a much easier system for you. We sell both 4 and 10-pin USB cables, and you can easily get Type-A breakouts from Adafruit or Digikey.
          Can you try to remove the extra hub and see if you can get your system to work that way?

          We cannot validate or debug third party hardware/modules ... we would only be guessing and do not want to lead you down the wrong path. However, I suspect in this case, that Hub is indeed your issue. It is most likely only supporting 500mA modes, and if neither of those two devices are enumerating perfectly, it may only allow 100mA per port before tripping a reset. Depends on how it is configured and designed.
          You can use USB TreeView to read all the descriptors of that hub board, and look for the self vs bus powered reporting, and the downstream current allocations. I suspect this is not set for your system.
          If you use our connectors, despite in various formats, you should be much better off.

          Lastly, just to clarify, are your USB connections unique? Your drawing looks like they are the same USBD+/D- wires connecting to one port of the Hub. 2d802362-4330-4853-bb36-9836fb6516cd-image.png

          Daehan WonD 1 Reply Last reply
          0
          • VinnyV Vinny

            Hi @Daehan-Won
            So, on the M0062 debug board, you do not need to connect an extra hub. You already have 3 USB ports...
            Look at J10, J11, and J12..
            https://docs.modalai.com/m0062-datasheet/#connector-callouts
            Yes they are different connectors, but is a much easier system for you. We sell both 4 and 10-pin USB cables, and you can easily get Type-A breakouts from Adafruit or Digikey.
            Can you try to remove the extra hub and see if you can get your system to work that way?

            We cannot validate or debug third party hardware/modules ... we would only be guessing and do not want to lead you down the wrong path. However, I suspect in this case, that Hub is indeed your issue. It is most likely only supporting 500mA modes, and if neither of those two devices are enumerating perfectly, it may only allow 100mA per port before tripping a reset. Depends on how it is configured and designed.
            You can use USB TreeView to read all the descriptors of that hub board, and look for the self vs bus powered reporting, and the downstream current allocations. I suspect this is not set for your system.
            If you use our connectors, despite in various formats, you should be much better off.

            Lastly, just to clarify, are your USB connections unique? Your drawing looks like they are the same USBD+/D- wires connecting to one port of the Hub. 2d802362-4330-4853-bb36-9836fb6516cd-image.png

            Daehan WonD Offline
            Daehan WonD Offline
            Daehan Won
            wrote on last edited by Daehan Won
            #5

            @Vinny Thank you for reply!

            Unfortunately, I need to connect two cameras to the J11 port. I’m planning to connect other sensors to the J10 and J12 ports.
            I will first test by connecting one camera to the J11 port, and then try using a USB hub with a 1A capacity.

            Although it appears as a single line in the hardware architecture diagram, the connections to the USB hub were made individually!

            VinnyV 1 Reply Last reply
            0
            • Daehan WonD Daehan Won

              @Vinny Thank you for reply!

              Unfortunately, I need to connect two cameras to the J11 port. I’m planning to connect other sensors to the J10 and J12 ports.
              I will first test by connecting one camera to the J11 port, and then try using a USB hub with a 1A capacity.

              Although it appears as a single line in the hardware architecture diagram, the connections to the USB hub were made individually!

              VinnyV Offline
              VinnyV Offline
              Vinny
              ModalAI Team
              wrote on last edited by
              #6

              OK @Daehan-Won
              Yeah, I'd try to run one first on it's own before the hub to rule that out.
              Keep us posted.
              Thanks!

              1 Reply Last reply
              0

              Hello! It looks like you're interested in this conversation, but you don't have an account yet.

              Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.

              With your input, this post could be even better 💗

              Register Login
              Reply
              • Reply as topic
              Log in to reply
              • Oldest to Newest
              • Newest to Oldest
              • Most Votes


              ModalAI
              Categories Recent Tags ModalAI.com Docs
              © 2026 ModalAI® · Accelerating autonomy for smaller, smarter, safer drones · Powered by NodeBB
              • Login

              • Don't have an account? Register

              • Login or register to search.
              • First post
                Last post
              0
              • Categories
              • Recent
              • Tags
              • Popular
              • Users
              • Groups