<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0"><channel><title><![CDATA[voxl2 to jetson uart]]></title><description><![CDATA[<p dir="auto">Hello, I'm using VOXL2 right now. And I'm using it by connecting jetson. By the way, I want to connect voxl and jetson with uart and use the Wi-Fi function on jetson to run QGC on another PC to get the data. I won't use the Internet for voxl. The image below is an overall block diagram. Is there a way to connect by referring to the block diagram?<img src="/assets/uploads/files/1736738040311-%EC%8A%A4%ED%81%AC%EB%A6%B0%EC%83%B7-2025-01-13-121117.png" alt="스크린샷 2025-01-13 121117.png" class=" img-fluid img-markdown" /></p>
]]></description><link>https://forum.modalai.com/topic/4083/voxl2-to-jetson-uart</link><generator>RSS for Node</generator><lastBuildDate>Tue, 12 May 2026 06:36:51 GMT</lastBuildDate><atom:link href="https://forum.modalai.com/topic/4083.rss" rel="self" type="application/rss+xml"/><pubDate>Mon, 13 Jan 2025 03:14:01 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to voxl2 to jetson uart on Tue, 14 Jan 2025 04:00:25 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="https://forum.modalai.com/uid/2640">@tkddnjs825</a> , since you already have M0062, you should be able to use it. As you already identified, J9 on M0062 has <code>/dev/ttyHS2</code> Linux UART device.</p>
<p dir="auto">You can also find more information here : <a href="https://docs.modalai.com/voxl2-external-flight-controller/" rel="nofollow ugc">https://docs.modalai.com/voxl2-external-flight-controller/</a> regarding configuring mavlink server.</p>
<p dir="auto">It looks like you are doing the right things here. However, the use case for "autopilot_uart_bus" maybe different from what you need - in your case your autopilot (px4) is actually on VOXL2 and the uart connection is for the path to GCS.</p>
<p dir="auto">You may need to modify mavlink server depending on what you want to pass on this UART connection.. This goes beyond my knowledge of mavlink server - please try to see if you can get it to work, otherwise post a follow up question with details of what you would need to be sent using the UART connection.</p>
<p dir="auto">Alex</p>
]]></description><link>https://forum.modalai.com/post/20449</link><guid isPermaLink="true">https://forum.modalai.com/post/20449</guid><dc:creator><![CDATA[Alex Kushleyev]]></dc:creator><pubDate>Tue, 14 Jan 2025 04:00:25 GMT</pubDate></item><item><title><![CDATA[Reply to voxl2 to jetson uart on Tue, 14 Jan 2025 02:41:47 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="https://forum.modalai.com/uid/7">@Alex-Kushleyev</a> ,<br />
Thank you for your response.</p>
<p dir="auto">Currently, I am using the MDK-M0062-3-00 board. The reason for using this board is that I previously connected the VOXL and Jetson via Ethernet. However, since there is now only one Ethernet port on the Jetson, I need to use it for other purposes, and there are additional reasons as well. Therefore, I am trying to work using UART.</p>
<p dir="auto"><img src="/assets/uploads/files/1736822395307-%EC%8A%A4%ED%81%AC%EB%A6%B0%EC%83%B7-2025-01-14-113733.png" alt="스크린샷 2025-01-14 113733.png" class=" img-fluid img-markdown" /></p>
<p dir="auto">I have an additional question. Currently, I am using the MDK-M0062-3-00 board, and for the UART port, I am using J9. The UART port is recognized as /dev/ttyHS2, and I am working with it. The voxl-mavlink-server.conf is currently configured as shown in the image below. I would like to know if this setup is correct.<br />
<img src="/assets/uploads/files/1736822417901-%EC%8A%A4%ED%81%AC%EB%A6%B0%EC%83%B7-2025-01-14-114009.png" alt="스크린샷 2025-01-14 114009.png" class=" img-fluid img-markdown" /></p>
<p dir="auto">The current VOXL2 SDK is as shown in the image below.<br />
<img src="/assets/uploads/files/1736822506765-%EC%8A%A4%ED%81%AC%EB%A6%B0%EC%83%B7-2025-01-14-114117.png" alt="스크린샷 2025-01-14 114117.png" class=" img-fluid img-markdown" /></p>
]]></description><link>https://forum.modalai.com/post/20448</link><guid isPermaLink="true">https://forum.modalai.com/post/20448</guid><dc:creator><![CDATA[tkddnjs825]]></dc:creator><pubDate>Tue, 14 Jan 2025 02:41:47 GMT</pubDate></item><item><title><![CDATA[Reply to voxl2 to jetson uart on Tue, 14 Jan 2025 02:30:28 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="https://forum.modalai.com/uid/2640">@tkddnjs825</a> ,</p>
<p dir="auto">I believe option 1 should work for you, since you will get a standard uart (linux device <code>/dev/ttyHS1</code> which is completely independent from PX4 running on VOXL). However you will need the additional adapter board (either M0141 or M0151 - either one will work). You will need to configure <code>voxl-mavlink-server</code> to use this UART port to stream the messages that you need (you may already know how to do it, i am not the expert in this part).</p>
<p dir="auto">By the way, if you use M0141 adapter board, you will also get USB 2.0 standard plug and if you use M0151 you will get USB 3.0 (make sure to get the version with cables). So you could plug in a wifi dongle or more advanced usb-to-wifi device (such as <code>alfa networks awus036ach</code> or similar) and not use Jetson if you do not need it.</p>
<p dir="auto">If you plug in the wifi adapter directly into VOXL2 (via M0141 or M0151) then you will not need the additional UART (but you will have it anyway)</p>
<p dir="auto">If you do not wish to get any additional hardware, you should be able to use option 3 to set up the TCP bridge between VOXL2 and Jetson, but that requires more knowledge of networking.</p>
<p dir="auto">Alex</p>
]]></description><link>https://forum.modalai.com/post/20447</link><guid isPermaLink="true">https://forum.modalai.com/post/20447</guid><dc:creator><![CDATA[Alex Kushleyev]]></dc:creator><pubDate>Tue, 14 Jan 2025 02:30:28 GMT</pubDate></item><item><title><![CDATA[Reply to voxl2 to jetson uart on Tue, 14 Jan 2025 02:12:50 GMT]]></title><description><![CDATA[<p dir="auto">Hello, <a class="plugin-mentions-user plugin-mentions-a" href="https://forum.modalai.com/uid/7">@Alex-Kushleyev</a><br />
Thank you for your answer.<br />
I am currently trying to use a Jetson device with MAVLink-router through a UART port.<br />
In this case, is it possible to use PX4 with VOXL simultaneously?<br />
My ultimate goal is to use VOXL while Jetson serves only as a router. I want to achieve this by using the UART port.</p>
]]></description><link>https://forum.modalai.com/post/20446</link><guid isPermaLink="true">https://forum.modalai.com/post/20446</guid><dc:creator><![CDATA[tkddnjs825]]></dc:creator><pubDate>Tue, 14 Jan 2025 02:12:50 GMT</pubDate></item><item><title><![CDATA[Reply to voxl2 to jetson uart on Mon, 13 Jan 2025 16:53:19 GMT]]></title><description><![CDATA[<p dir="auto">Hello, <a class="plugin-mentions-user plugin-mentions-a" href="https://forum.modalai.com/uid/2640">@tkddnjs825</a></p>
<p dir="auto">You have a few options:</p>
<ol>
<li>Using an add-on board, either M0141 or M0151:</li>
</ol>
<ul>
<li><a href="https://docs.modalai.com/usb2-type-a-breakout-add-on/" rel="nofollow ugc">https://docs.modalai.com/usb2-type-a-breakout-add-on/</a></li>
<li><a href="https://docs.modalai.com/voxl2-usb3-uart-add-on-datasheet/" rel="nofollow ugc">https://docs.modalai.com/voxl2-usb3-uart-add-on-datasheet/</a></li>
<li>both boards expose connection to UART7 on the Application Processor, which is mapped to <code>/dev/ttyHS1</code> and will behave as standard Linux UART high speed device (up to 2Mbit/s)</li>
</ul>
<ol start="2">
<li>Using one of the DSP (SLPI) UARTs, but this only works if PX4 is not running:</li>
</ol>
<ul>
<li>VOLX2 conector J19 exposes DSP UARTs 6 and 7</li>
<li><a href="https://docs.modalai.com/voxl2-connectors/#j19---external-sensors-2x-uart-2x-i2c" rel="nofollow ugc">https://docs.modalai.com/voxl2-connectors/#j19---external-sensors-2x-uart-2x-i2c</a></li>
<li>px4 must not be running and you can use libqrb5165-io library to talk to <em>one UART</em> concurrently</li>
<li>my guess is that this is not an option for you because already have VOXL ESC connected, so PX4 is probably already running</li>
</ul>
<ol start="3">
<li>Using an ADB forward or reverse trick:</li>
</ol>
<h3>Host side setup</h3>
<h3>Set up reverse forwarding</h3>
<pre><code>adb reverse tcp:2222 tcp:3333
adb reverse --list   #just list the forwarded connections for confirmation
</code></pre>
<h3>Create a python script for a simple tcp server to run on host</h3>
<pre><code>#! /usr/bin/python
# a simple tcp server
import socket,os
sock = socket.socket(socket.AF_INET, socket.SOCK_STREAM)  
sock.bind(('127.0.0.1', 3333))  
sock.listen(5)  
while True:  
    connection,address = sock.accept()
    buf = connection.recv(1024)
    print(buf)
    #connection.send(buf)
    connection.close()
</code></pre>
<h3>Run on host</h3>
<pre><code>python3 tcp_server.py
</code></pre>
<h3>Run a simple test on voxl2</h3>
<pre><code>#install requires internet connection
apt install netcat

echo "Hello World!" | netcat 127.0.0.1 2222
</code></pre>
<p dir="auto">(The message should print out on the host side, which means you just tested a TCP connection between voxl2 and your host).</p>
<pre><code># output on the server side
&gt; python3 tcp_server.py 
b'Hello World!\n'
</code></pre>
<p dir="auto">You can use this approach to create one or multiple TCP links between VOXL2 and another Linux board. You may be able to use PX4 directly and have PX4 on VOXL2 connect to a server on Jetson board or bridge the data to be forwarded to an external computer.</p>
<p dir="auto">Alex</p>
]]></description><link>https://forum.modalai.com/post/20422</link><guid isPermaLink="true">https://forum.modalai.com/post/20422</guid><dc:creator><![CDATA[Alex Kushleyev]]></dc:creator><pubDate>Mon, 13 Jan 2025 16:53:19 GMT</pubDate></item></channel></rss>