<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
xmlns:content="http://purl.org/rss/1.0/modules/content/"
xmlns:dc="http://purl.org/dc/elements/1.1/"
xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
xmlns:atom="http://www.w3.org/2005/Atom"
xmlns:wfw="http://wellformedweb.org/CommentAPI/">
<channel>
<title>JRNitre&#039;s Blog - Linux</title>
<link>https://blog.atoery.cn/index.php/tag/linux/</link>
<atom:link href="https://blog.atoery.cn/index.php/feed/tag/linux/" rel="self" type="application/rss+xml" />
<language>zh-CN</language>
<description></description>
<lastBuildDate>Thu, 17 Apr 2025 20:49:29 +0800</lastBuildDate>
<pubDate>Thu, 17 Apr 2025 20:49:29 +0800</pubDate>
<item>
<title>Linux 串口通讯工具 minicom 的基本使用</title>
<link>https://blog.atoery.cn/index.php/2025/04/17/93.html</link>
<guid>https://blog.atoery.cn/index.php/2025/04/17/93.html</guid>
<pubDate>Thu, 17 Apr 2025 20:49:29 +0800</pubDate>
<dc:creator>JRNitre</dc:creator>
<description><![CDATA[1.0 安装 minicom 工具本文使用环境为 Debian12&GNOM43.9 故可以使用 apt 安装。$ sudo apt install minicom2.0 快速使用通过 mini...]]></description>
<content:encoded xml:lang="zh-CN"><![CDATA[
<h1>1.0 安装 minicom 工具</h1><p>本文使用环境为 <em>Debian12&GNOM43.9</em> 故可以使用 <code>apt</code> 安装。</p><pre><code>$ sudo apt install minicom</code></pre><h1>2.0 快速使用</h1><p>通过 <code>minicom -D &lt;port_device&gt; -b &lt;baud_rate&gt;</code> 即可快速连接至串口。</p><p><img src="http://mashirospace.cn:4607/usr/uploads/2025/04/204339538.png" alt="" title=""></p><p>按下键盘会直接发送数据（默认不显示输入的内容）</p><p>按下 <code>ctrl + A</code> 后按下 <code>X</code> 退出程序。</p><p>使用 <code>ls /dev/tty*</code> 即可查询可用串口。</p><p><img src="http://mashirospace.cn:4607/usr/uploads/2025/04/3531255768.png" alt="" title=""></p><h1>3.0 常用命令&参数</h1><p>在使用过程中 <code>ctrl + A</code> <code>Z</code> 打开帮助。</p><p>常用的命令如下 <code>ctrl + A</code> +</p><ul><li><code>X</code>：退出程序。</li><li><code>W</code>：开启&关闭自动换行。</li><li><code>E</code>：开启&关闭输入现实。</li><li><code>C</code>：清屏。</li></ul><p>在调用 minicom 时可以传入一下参数调整程序运行效果。</p><ul><li><code>-D</code>：指定串口设备</li><li><code>-b</code>：设置波特率，默认 115200</li><li><code>-w</code>：启用自动换行</li><li><code>-H</code>：使用 HEX 方式显示接收到的数据</li><li><code>-s</code>：设置 minicom</li></ul><h1>END 参考 & 声明</h1><p><strong>[参考]</strong></p><ul><li><a href="https://blog.csdn.net/Naisu_kun/article/details/117704009">CSDN:Linux笔记：串口通讯工具minicom基础使用</a></li></ul>
]]></content:encoded>
<slash:comments>0</slash:comments>
<comments>https://blog.atoery.cn/index.php/2025/04/17/93.html#comments</comments>
<wfw:commentRss>https://blog.atoery.cn/index.php/feed/tag/linux/</wfw:commentRss>
</item>
</channel>
</rss>