描述
<h3><em>1、项目功能介绍</em></h3>
<p><strong>基于SF32LB52模组的小智AI对话机器人</strong>是一款便携式智能语音交互设备。它通过蓝牙低功耗技术(BLE)连接手机获取网络,结合云端AI能力实现实时语音问答。项目解决了传统智能音箱需固定供电、依赖Wi-Fi的痛点,提供电池供电、移动场景的即问即答体验。用户可通过按键唤醒设备,直接提问天气、时间、健康等问题,设备通过喇叭实时播报答案(如查询天气时自动播报当地实时气象)。核心创新点包括:</p>
<ul>
<li><strong>超低功耗设计</strong>:BLE连接功耗仅7μA,CR123A电池续航持久</li>
<li><strong>硬件全插件化</strong>:除主控模组外大部分采用直插元件,降低焊接门槛</li>
<li><strong>人机交互优化</strong>:1.69寸TFT屏显示对话状态+实体按键控制</li>
</ul>
<p><img src="https://image.lceda.cn/oshwhub/pullImage/ae2badf36ace4f4e87f37d3329d2cebc.jpg" alt="IMG_20250830_222610.jpg"></p>
<hr>
<h3><em>2、项目属性</em></h3>
<ul>
<li><strong>原理图设计</strong>:参考《插件版小智AI设计教程》</li>
<li><strong>PCB布线</strong>:参考《插件版小智AI设计教程》,作者第一次布线,有很多细节不完善,希望大家能多多批评指正</li>
</ul>
<hr>
<h3><em>3、硬件部分</em></h3>
<p><strong>实现原理</strong>:</p>
<ol>
<li><strong>供电系统</strong>:CR123A电池(3.7V)→ 滑动开关→ 立创SF32LB52模组(支持3.7-4.7V直连)</li>
<li><strong>语音处理</strong>: 输入:麦克风→ 10K偏置电阻→ 主控ADC 输出:主控DAC→ LM4871功放(差分输入模式)→ 8Ω喇叭</li>
</ol>
<p><img src="https://image.lceda.cn/oshwhub/pullImage/efdc2def30a441a5b46483141d23507c.png" alt="hardware_20250702_164645.png"></p>
<ol>
<li><strong>交互模块</strong>:</li>
</ol>
<ul>
<li>1.69寸TFT屏通过SPI通信(240×280分辨率)</li>
<li>按键实现唤醒/语音触发</li>
<li>绿色LED状态指示</li>
</ul>
<p><img src="https://image.lceda.cn/oshwhub/pullImage/99a1c0afd50f458cbcfe06fc7d7f67e5.jpg" alt="IMG_20250830_210110.jpg"></p>
<h3><em>4、软件部分</em></h3>
<p><strong>架构框图</strong>:</p>
<pre><code>语音输入 → 蓝牙PAN联网 → 云端AI处理 → 答案文本 → TTS转换 → 音频输出</code></pre>
<p><strong>关键实现</strong>:</p>
<ul>
<li><strong>低功耗管理</strong>:空闲时关闭功放(PA26置高)+屏幕背光</li>
<li><strong>蓝牙网络共享</strong>:通过sifli-pan协议连接手机网络</li>
<li><strong>固件烧录</strong>:sftool工具烧录5分区固件(详细《插件版小智AI设计教程》)</li>
</ul>
<p><strong>源码结构</strong>:</p>
<ul>
<li><code>/audio_processing</code>:麦克风采样/喇叭驱动</li>
<li><code>/bluetooth_pan</code>:网络连接管理</li>
<li><code>/display</code>:ST7789屏幕驱动</li>
<li>GitHub地址: <a href="https://github.com/78/xiaozhi-sf32/releases" target="_blank">https://github.com/78/xiaozhi-sf32/releases</a></li>
</ul>
<hr>
<h3><em>5、BOM清单</em></h3>
<p><img src="https://image.lceda.cn/oshwhub/pullImage/188f780c587b43ff8b806285b1260630.png" alt="image (1).png"></p>
<h3><em>6、项目资料</em></h3>
<ul>
<li><strong>插件版小智AI设计教程</strong>:<a href="https://lceda002.feishu.cn/wiki/B2LLwyC7binHuJkkHGMce03wnWf?fromScene=spaceOverview" target="_blank">https://lceda002.feishu.cn/wiki/B2LLwyC7binHuJkkHGMce03wnWf?fromScene=spaceOverview</a></li>
<li><strong>小智AI项目视频</strong>:<a href="https://www.bilibili.com/video/BV1tzbJzbEt5" target="_blank">https://www.bilibili.com/video/BV1tzbJzbEt5</a></li>
<li><strong>开营直播回放</strong>:<a href="https://www.bilibili.com/video/BV1e4bJzqEhD/" target="_blank">https://www.bilibili.com/video/BV1e4bJzqEhD/</a></li>
</ul>
评论(0)