# Voxl2/Microhard/NV Trip 2

Source: https://forum.modalai.com/topic/1815/voxl2-microhard-nv-trip-2
Category: VOXL 2 and VOXL 2 Mini (https://forum.modalai.com/category/26/voxl-2-and-voxl-2-mini)
Tags: voxl-2
Posted: 2023-02-13 17:43:48 UTC by McMason
Replies: 28 · Views: 7430

## McMason · 2023-02-13 17:43:48 UTC

Good afternoon, 

Starting a new thread here related to my last vague question. 

Using the VOXL2 with the pDDL2450 attached and your previous experience with the NV Trip2 system. Is it achievable to have the UART pins on the bottom of the MH carrier board(I understand its solder points and thats not a problem) going to a SER port for an external FC, and have an Ethernet to USB adaptor from the Trip2 going to one of the USB host connectors on the MH unit? I think the only way to get what we need to accomplish is set the vehicle up as what your documented architecture describes. 

@Vinny can you confirm the HW side? Hopefully i have more or most of my ducks in a row this time. 

Or would it be best to use the USB UART board which i have a few of?

## Reply by Vinny (ModalAI staff) · 2023-02-14 00:22:57 UTC

Hi @McMason 
I think you can make either solution work from a Hardware viewpoint.
Option 1)
**Voxl2 + Microhard Add-on:**
UART from soldering (little messy, might need external level translation)
USB to MH already done via J3 plug-in
Note you want to add Kapton tape to Voxl2 J5 connector to prevent the bottom of the MH board from touching Voxl2 components. And/or use 5mm standoffs or a "tray with guide rails" like our flight decks.
USB to ETH adapter via MH downstream port (but note the 500mA limit)
![8b3adfad-2506-422f-9281-bd31b1abba8d-image.png](https://forum.modalai.com/assets/uploads/files/1676333108416-8b3adfad-2506-422f-9281-bd31b1abba8d-image.png) 

Option 2)
**Voxl2 + M0125 USB3 Add-on + MH Dongle (not add-on) + (USB<->ETH adapter via MH Dongle):**
![f1fb21cd-dfbd-48b8-a3f5-7f3484e12eb2-image.png](https://forum.modalai.com/assets/uploads/files/1676333333616-f1fb21cd-dfbd-48b8-a3f5-7f3484e12eb2-image.png) 
And you'll need a 10-pin to 4-pin USB cable though, so you could start from the 10-pin to 10-pin "PWM Output Cable" we sell, and bring one side to 4-pins in order to make the connection to the MH Dongle.
https://www.modalai.com/products/mcbl-00004
and 4-pin side (I think we might be missing this on our store-front, I'll try to get that fixed)
https://docs.modalai.com/cable-datasheets/#mcbl-00015

It would seem in either config, I am suggesting you cascade the USB-ETH adapter through the USB hub on the MH board(s). In that case you'll probably want this cable to give you a USB-A port from the MH:
https://docs.modalai.com/cable-datasheets/#mcbl-00009

Let me know if this helps.

@tom, do you see any SW concerns here with running a camera using a USB-ETH converter?

Thanks!

## Reply by tom (ModalAI staff) · 2023-02-14 00:46:02 UTC

@Vinny @McMason We haven't tried that camera so I can't comment on that specifically but this is the USB to ETH adapter that I use with VOXL2: https://www.cablecreation.com/collections/usb-2-0-3-0/products/usb-ethernet-adapter

## Reply by McMason · 2023-02-14 16:35:44 UTC

awesome thank you, ill start by getting the VOXL2 and external FC going first, then add in things along the way!

## Reply by Eric Katzfey (ModalAI staff) · 2023-02-14 16:47:49 UTC

@McMason Previously we just used the DragonEye camera directly without the Trip computer and used an HDMI to MIPI adapter.

## Reply by McMason · 2023-02-14 18:45:23 UTC

@Eric-Katzfey Did it look like this? ![46eff819-1caf-450c-837e-6577e6499e8b-image.png](https://forum.modalai.com/assets/uploads/files/1676400189589-46eff819-1caf-450c-837e-6577e6499e8b-image.png) 

Also I'm following the Voxl2 with external FC setup. I get to the line where I should be pulling from gitlab and i get a cannot access failure. Is there a new link to the source?

## Reply by tom (ModalAI staff) · 2023-02-14 18:51:09 UTC

@McMason That docs page appears to be out of date, if you're on SDK 0.9, it should have the external FC capabilities included in voxl-mavlink-server

## Reply by Eric Katzfey (ModalAI staff) · 2023-02-14 18:57:25 UTC (in reply to McMason)

@McMason No, we made a custom adapter.

## Reply by McMason · 2023-02-14 19:04:43 UTC

@tom thanks reason im asking is I can verify Mavlink server is enabled and running, then when i command voxl-mavlink-server nothing shows on the external FC line. I have the cube SER3 set to 921600 and mavlink2. Any ideas? Or is there an up to date instruction? I can confirm i'm on sdk-0.9

## Reply by McMason · 2023-02-14 19:38:41 UTC

voxl2:/$ voxl-mavlink-server
loading our own config file
=================================================================
Parameters as loaded from config file:
px4_uart_bus:
1
px4_uart_baudrate:
921600
udp_port_to_px4:
14556
udp_port_from_px4:
14557
external_fc:
0
=================================================================
existing instance of voxl-mavlink-server found, attempting to stop it
starting receive thread
Init complete, entering main loop

## Reply by tom (ModalAI staff) · 2023-02-14 19:51:11 UTC

@McMason You need to set `external_fc` to `1` in order to enable it

## Reply by McMason · 2023-02-14 20:30:35 UTC

@tom in order to do that i would have to modify voxl-mavlink-server.conf correct? When i try to issue that line its not recognized. Or im just being dumb which is entirely a possibility. I also did voxl-configure-mavlink-server and when prompted went to 1 for external FC

## Reply by tom (ModalAI staff) · 2023-02-14 20:40:50 UTC

@McMason Interesting, it's possible that menu isn't setting that value correctly. But yes, you can manually edit that config file to modify that value

## Reply by tom (ModalAI staff) · 2023-02-14 21:12:57 UTC

@McMason Confirmed that value wasn't being set correctly, thank you so much for catching that! Adding that fix right now

## Reply by McMason · 2023-02-15 13:09:11 UTC

oh right on! thanks @tom

## Reply by McMason · 2023-02-15 18:02:36 UTC

@Vinny with using M000125 uart usb board i can get a uart and the ETH (video line) in. I also need a way to talk to the VOXL2, is there a hack to get WiFi with using the mentioned board and the functionality we need? 
Or am i stuck with using the MH carrier with UART solder leads, and passing the video feed through MH board. 

Also if the MH modem isnt installed could i use the two USB peripheral ports to keep video and WiFi? long shot but i thought i would ask.

## Reply by Vinny (ModalAI staff) · 2023-02-16 01:10:13 UTC (in reply to McMason)

Hi @McMason 
You do NOT need to have the MH modem actually installed to get the benefit of the USB Hub and downstream ports.
We have block diagrams on the MH tech docs page to help illustrate this:
https://docs.modalai.com/microhard-add-on-datasheet/#block-diagram
If you want to SSH over WiFi into Voxl2, you can use the second downstream USB port on the MH board to host a WiFi dongle, much like we do.
https://www.modalai.com/collections/cables/products/wifi-usb-cable-add-on
That may be your complete solution (hopefully, unless I missed something) but yes, it does hinge on a hub based product (either Microhard, or our newer 5G modem boards which have much higher VBUS capability).
So, you might want to really look into getting the 5G add-on modem board (no modem) and then that gives you the UART plus multiple USB ports, and on one of them, you can cascade a MH dongle and on the other one, the WiFi for SSH into V2.
Might be more elegant than the M0125 + all those adapters.
Depends on your SWAP constraints. But, I think you do have an option.

## Reply by McMason · 2023-02-16 13:07:15 UTC

Sweet, thanks @Vinny I might actually have a 5g modem board as well! Man i really appreciate your patience with all my questions.

## Reply by McMason · 2023-02-16 13:15:14 UTC

Nevermind its the 4gLte carrier.

## Reply by Vinny (ModalAI staff) · 2023-02-16 17:54:17 UTC (in reply to McMason)

Hi @McMason 
Of course, we want you to be successful!!
That 4G modem board works just like the Microhard boards we have... you have the same USB hub and the same VBUS capabilities, and you do not need to install a modem to get that functionality.
Hope that helps!

## Reply by McMason · 2023-02-16 20:32:57 UTC

@Vinny , made the decision to just go with MH for better downrange reception. 

Is there a guide or anything you can point me too that would be a good start to set up a non MIPI camera? it will be connected via ETH from the trip2 

I would be ecstatic if it were as simple as voxl-configure-cameras lol.

## Reply by Vinny (ModalAI staff) · 2023-02-16 22:46:22 UTC (in reply to McMason)

@McMason 
Sorry, I'll have to tag team this one off to @tom or someone else from software... 
Not sure how the USB based cameras show up different (if they do) from MIPI based cameras.

Keep us posted!!

## Reply by McMason · 2023-02-17 00:02:22 UTC

Will do @Vinny thank you again

## Reply by tom (ModalAI staff) · 2023-02-17 00:30:40 UTC

@McMason For normal USB cameras (UVC), we use `voxl-uvc-server`. However, we haven't tested an ethernet to USB camera so I'm not sure how much guidance we'll be able to provide there.

## Reply by McMason · 2023-02-17 18:14:56 UTC

@vinny Is there any other VREG_S4A_1P8V test pads beside TP21 i can get power from on the bottom of the MH carrier? I put a meter to verify power and wasnt getting voltage out

## Reply by Vinny (ModalAI staff) · 2023-02-17 22:25:28 UTC (in reply to McMason)

@McMason 
TP21 is it unfortunately. 
All the rest are component pads which can easily break something. Right next to it is TP17 which is a GND. 
This is only present on the "plug-in" version FYI (even if it's obvious, I need to say it) and it's not present on the dongle based versions (but in which case you can't have access to the UART either).
![b04c0005-63c1-43a8-9f78-a928c97b8a2a-image.png](https://forum.modalai.com/assets/uploads/files/1676672589255-b04c0005-63c1-43a8-9f78-a928c97b8a2a-image.png)

## Reply by McMason · 2023-02-20 13:14:46 UTC

@Vinny Thank you. Looks like ill be getting something on order soon.

## Reply by rogerli · 2024-02-27 03:06:30 UTC

Hello @McMason ,
Have you successfully connected VOXL2 and NV Trip2? Currently, I am using Ethernet and the Microhard Add-on board to connect VOXL2 and NV Trip2, and I can confirm successful connection using the ping command. However, I am unable to perform image transmission. Do you have any suggestions on how to resolve this issue?

## Reply by Chase Riley · 2025-01-10 16:04:39 UTC (in reply to rogerli)

@rogerli or @McMason Were either of you successful in getting the VOXL2 to connect to the NV Trip2? Working the same issue on my end.
