<?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[Issue Getting uart Connection on VOXL2 to PixHawk4 on 5G Hat]]></title><description><![CDATA[<p dir="auto">Good afternoon,</p>
<p dir="auto">I have been trying to get a serial connection from the J9 socket of a 5G hat to a PixHawk 4. However, there does not seem to be any data going through ttyHS2.</p>
<p dir="auto">I triple checked to make sure my physical connection is correct and the wires are in the correct area. They look correct to me.</p>
<p dir="auto">I have the JST from the J9 socket connected to TELEM2 of the PixHawk 4. The baudrate is set to 921600.</p>
<p dir="auto">The way I am testing this is by using mavlink-router. I run this command:</p>
<pre><code>mavlink-routerd /dev/ttyHS2:921600 -e {my ip}:14550 -v
</code></pre>
<p dir="auto">It has worked before when connecting to the usb port on the hat via an FTDI cable, but we're trying to get it working with the serial port.</p>
<p dir="auto">I also decided to follow <a href="https://unix.stackexchange.com/questions/117037/how-to-send-data-to-a-serial-port-and-see-any-answer" rel="nofollow ugc">this</a> to see if I could get anything from sending stuff to the port. I saw nothing. But I could be completely wrong that this is a valid way of testing the connection:</p>
<p dir="auto">(In one terminal):</p>
<pre><code>cat -v &lt; /dev/ttyHS2
</code></pre>
<p dir="auto">(In another terminal):</p>
<pre><code>echo -ne '\033[2J' &gt; /dev/ttyHS2
</code></pre>
<p dir="auto">I did not see anything on the first terminal.</p>
<p dir="auto">Also, I tried using voxl-mavlink-server to test this. I am on a beta platform (system-image: 1.5.5-M0054-14.1a-perf), so options are a little bit different than what I'm used to.</p>
<p dir="auto">I had this set as my configuration file:</p>
<pre><code>{
        "primary_static_gcs_ip":        "192.168.8.10",
        "secondary_static_gcs_ip":      "192.168.8.11",
        "onboard_port_to_autopilot":    14556,
        "onboard_port_from_autopilot":  14557,
        "gcs_port_to_autopilot":        14558,
        "gcs_port_from_autopilot":      14559,
        "en_external_uart_ap":  false,
        "autopilot_uart_bus":   2,
        "autopilot_uart_baudrate":      921600,
        "en_external_ap_timesync":      1,
        "en_external_ap_heartbeat":     1,
        "udp_mtu":      0,
        "gcs_timeout_s":        4.5
}
</code></pre>
<p dir="auto">I believe "autipilot_uart_bus" was what I had to set to 2 to get it to go through ttyHS2. I could not see any data passing through though.</p>
<p dir="auto">I am curious what the problem could be. Any help would be much appreciated.</p>
]]></description><link>https://forum.modalai.com/topic/2354/issue-getting-uart-connection-on-voxl2-to-pixhawk4-on-5g-hat</link><generator>RSS for Node</generator><lastBuildDate>Mon, 10 Aug 2026 04:55:16 GMT</lastBuildDate><atom:link href="https://forum.modalai.com/topic/2354.rss" rel="self" type="application/rss+xml"/><pubDate>Thu, 29 Jun 2023 19:09:54 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to Issue Getting uart Connection on VOXL2 to PixHawk4 on 5G Hat on Thu, 06 Jul 2023 18:03:15 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/wilkinsaf" aria-label="Profile: wilkinsaf">@<bdi>wilkinsaf</bdi></a> Thanks for the feedback</p>
]]></description><link>https://forum.modalai.com/post/11052</link><guid isPermaLink="true">https://forum.modalai.com/post/11052</guid><dc:creator><![CDATA[tom]]></dc:creator><pubDate>Thu, 06 Jul 2023 18:03:15 GMT</pubDate></item><item><title><![CDATA[Reply to Issue Getting uart Connection on VOXL2 to PixHawk4 on 5G Hat on Thu, 06 Jul 2023 17:33:12 GMT]]></title><description><![CDATA[<p dir="auto">Can confirm ordering and installing a new one fixed our issue</p>
]]></description><link>https://forum.modalai.com/post/11051</link><guid isPermaLink="true">https://forum.modalai.com/post/11051</guid><dc:creator><![CDATA[wilkinsaf]]></dc:creator><pubDate>Thu, 06 Jul 2023 17:33:12 GMT</pubDate></item><item><title><![CDATA[Reply to Issue Getting uart Connection on VOXL2 to PixHawk4 on 5G Hat on Fri, 30 Jun 2023 04:34:23 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/tom" aria-label="Profile: tom">@<bdi>tom</bdi></a> Damn.... welp... that would explain what's going on.<br />
Back to the ModalAI store. Thanks for confirmation Tom</p>
]]></description><link>https://forum.modalai.com/post/10965</link><guid isPermaLink="true">https://forum.modalai.com/post/10965</guid><dc:creator><![CDATA[wilkinsaf]]></dc:creator><pubDate>Fri, 30 Jun 2023 04:34:23 GMT</pubDate></item><item><title><![CDATA[Reply to Issue Getting uart Connection on VOXL2 to PixHawk4 on 5G Hat on Fri, 30 Jun 2023 03:19:38 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/wilkinsaf" aria-label="Profile: wilkinsaf">@<bdi>wilkinsaf</bdi></a> That must be the VOXL1 flavor</p>
]]></description><link>https://forum.modalai.com/post/10958</link><guid isPermaLink="true">https://forum.modalai.com/post/10958</guid><dc:creator><![CDATA[tom]]></dc:creator><pubDate>Fri, 30 Jun 2023 03:19:38 GMT</pubDate></item><item><title><![CDATA[Reply to Issue Getting uart Connection on VOXL2 to PixHawk4 on 5G Hat on Thu, 29 Jun 2023 22:36:38 GMT]]></title><description><![CDATA[<p dir="auto"></p><div class="card col-md-9 col-lg-6 position-relative link-preview p-0">



<a href="https://forum.modalai.com/topic/2141/external-autopilot-not-getting-serial-communication-with-m0090-board/8?_=1688077180364" title="External autopilot not getting serial communication with M0090 board">
<img src="https://forum.modalai.com/assets/uploads/system/logo-green.png" class="card-img-top not-responsive" style="max-height:15rem" alt="Link Preview Image" />
</a>



<div class="card-body">
<h5 class="card-title">
<a class="text-decoration-none" href="https://forum.modalai.com/topic/2141/external-autopilot-not-getting-serial-communication-with-m0090-board/8?_=1688077180364">
External autopilot not getting serial communication with M0090 board
</a>
</h5>
<p class="card-text line-clamp-3">Hi @Vinny Sounds good. I have order number 3143. We have the Voxl1 version ready to return. I'll be here for further instructions Thanks Andres</p>
</div>
<a href="https://forum.modalai.com/topic/2141/external-autopilot-not-getting-serial-communication-with-m0090-board/8?_=1688077180364" class="card-footer text-body-secondary small d-flex gap-2 align-items-center lh-2">



<img src="https://forum.modalai.com/assets/uploads/system/favicon.ico?v=fe4320af44a" alt="favicon" class="not-responsive overflow-hiddden" style="max-width:21px;max-height:21px" />



















<p class="d-inline-block text-truncate mb-0">ModalAI Forum <span class="text-secondary">(forum.modalai.com)</span></p>
</a>
</div><p></p>
<p dir="auto">I think this might be the issue</p>
<p dir="auto"><img src="/assets/uploads/files/1688078197479-15e886bc-dcf2-4240-91c6-4c5e34ceba35-image.png" alt="15e886bc-dcf2-4240-91c6-4c5e34ceba35-image.png" class=" img-fluid img-markdown" /></p>
]]></description><link>https://forum.modalai.com/post/10957</link><guid isPermaLink="true">https://forum.modalai.com/post/10957</guid><dc:creator><![CDATA[wilkinsaf]]></dc:creator><pubDate>Thu, 29 Jun 2023 22:36:38 GMT</pubDate></item><item><title><![CDATA[Reply to Issue Getting uart Connection on VOXL2 to PixHawk4 on 5G Hat on Thu, 29 Jun 2023 22:25:06 GMT]]></title><description><![CDATA[<p dir="auto">for context as well, here are the serial devices by-id page. All of them are from Quectel.<br />
<img src="/assets/uploads/files/1688077464622-64b71271-9119-42e2-aba2-05d9583496b9-image.png" alt="64b71271-9119-42e2-aba2-05d9583496b9-image.png" class=" img-fluid img-markdown" /></p>
<p dir="auto">Dont think that matters, but just trying to add context.</p>
<p dir="auto">Also, the 5G carrier board is operational. We see the wwan0 interface</p>
]]></description><link>https://forum.modalai.com/post/10956</link><guid isPermaLink="true">https://forum.modalai.com/post/10956</guid><dc:creator><![CDATA[wilkinsaf]]></dc:creator><pubDate>Thu, 29 Jun 2023 22:25:06 GMT</pubDate></item><item><title><![CDATA[Reply to Issue Getting uart Connection on VOXL2 to PixHawk4 on 5G Hat on Thu, 29 Jun 2023 22:22:06 GMT]]></title><description><![CDATA[<p dir="auto">For context, the UART/USB addon board is working (<a href="https://docs.modalai.com/voxl2-usb3-uart-add-on-user-guide/" rel="nofollow ugc">https://docs.modalai.com/voxl2-usb3-uart-add-on-user-guide/</a>)<br />
and we are using cables provided by ModalAI. So, it appears that it is just the 5G modem carrier board that is not letting this through</p>
]]></description><link>https://forum.modalai.com/post/10955</link><guid isPermaLink="true">https://forum.modalai.com/post/10955</guid><dc:creator><![CDATA[wilkinsaf]]></dc:creator><pubDate>Thu, 29 Jun 2023 22:22:06 GMT</pubDate></item></channel></rss>