描述
<p style="line-height:1.8">注:* 为必填项</p>
<p style="line-height:1.8"><strong><span style="color:#0093e6">请在报名阶段填写 ↓</span></strong></p>
<p style="line-height:1.8"> </p>
<h3 style="line-height:1.8">* 1、项目功能介绍</h3>
<hr>
<div>
<div>基于立创开源蓝牙模组制作的简易AI对话机器人,实现AI实时语音对话。它能够进行简单的对话,可以听懂你的情绪,可以播放歌曲,讲笑话。</div>
</div>
<div>
<div>整体比较小巧:PCB:61.21 x 41mm;</div>
<div>带外壳:长:68.531 宽:48.148mm 厚:35mm。</div>
</div>
<p style="line-height:1.8"><span style="color:#95a5a6;font-size:14px">请输入内容…</span><img src="https://image.lceda.cn/oshwhub/pullImage/299388e7868d421fb55e065397600f59.jpg" alt="" width="415" height="234"></p>
<div>
<div>该项目在硬件上,除主控外,元器件全插件,方便焊接入门与练习。</div>
</div>
<p style="line-height:1.8"><span style="color:#95a5a6;font-size:14px">注:主题不限,可以是解决生活/工作中的某个问题、为某个人群/场景设计的方案、毕业设计/课程设计/DIY项目/纯属炫酷项目等。主要讲一下自己通过什么手段解决了什么问题。</span></p>
<p style="line-height:1.8"> </p>
<h3 style="line-height:1.8">*2、项目属性</h3>
<hr>
<p style="line-height:1.8"><span style="color:#95a5a6;font-size:14px">请输入内容…</span></p>
<p style="line-height:1.8">首次公开;不是原创,参加【立创开发板】-小智Ai训练营。</p>
<p style="line-height:1.8"><span style="color:#95a5a6;font-size:14px">注:请说明项目是否首次公开;项目是否为原创;项目是否曾经在其他比赛中获奖,若有获奖则叙述获奖详情;项目是否在学校参加过答辩。</span></p>
<p style="line-height:1.8"> </p>
<h3 style="line-height:1.8">* 3、开源协议</h3>
<hr>
<p style="line-height:1.8"><span style="color:#95a5a6;font-size:14px">请输入内容…</span></p>
<p style="line-height:1.8">CC BY-NC-SA 4.0</p>
<p style="line-height:1.8"><span style="color:#95a5a6;font-size:14px">注:利他即利己,请认真阅读下述内容。</span></p>
<ol style="line-height:1.8">
<li style="line-height:1.8"><span style="color:#95a5a6;font-size:14px">拥抱开源,赋予项目无限价值。建议项目核心功能开源80%以上;</span></li>
<li style="line-height:1.8"><span style="color:#95a5a6;font-size:14px">2、若某一部分功能不可替代且删掉之后项目无法解决对应的问题,则这一部分实现的功能就是项目的核心功能;比如设计了一台电子负载且设计了一款上位机软件监控功率变化,则电子负载为核心功能,上位机软件为辅助功能;比如电子负载中使用了一款隔离485模块与上位机通信,则此485模块实现的通讯功能为辅助功能; </span></li>
<li style="line-height:1.8"><span style="color:#95a5a6;font-size:14px">项目应选择适合自己的<span style="text-decoration:underline"><a href="/posts/98fdb2accd754af7b51990790db3b47a" target="_blank">开源协议</a></span>,若项目引用其他开源项目,应注明来源并遵循原作者的开源协议规定;原创项目推荐使用GPL3.0开源协议;</span></li>
<li style="line-height:1.8"><span style="color:#95a5a6;font-size:14px">直接引用开源项目的原电路或原代码实现的功能不可作为自己项目的核心功能、使用市场上通用模块直接实现的功能不可作为自己项目的核心功能。</span></li>
</ol>
<p style="line-height:1.8"> </p>
<p style="line-height:1.8"><strong><span style="color:#0093e6">请在竞赛阶段填写 ↓</span></strong></p>
<p style="line-height:1.8"> </p>
<h3 style="line-height:1.8">*4、硬件部分</h3>
<hr>
<p style="line-height:1.8"><span style="color:#95a5a6;font-size:14px">请输入内容…</span></p>
<div>
<div><span style="font-size:14pt"><strong>1.主控部分:</strong></span></div>
<div><span style="font-size:14pt"><strong><img src="https://image.lceda.cn/oshwhub/pullImage/5ad06105840348b98f081e55217edd8f.png" alt="" width="621" height="761"></strong></span></div>
<div>用的是 [立创·开源SF32LB52模组],一款蓝牙低功耗芯片,频率 <strong>240MHz</strong>,集成 8MB PSRAM 和 16MB Flash,支持锂电池直接供电。BLE 连接功耗(1S间隔)仅需 7μA,BT连接功耗(1S间隔)仅需 10μA,BLE + BT 双连接功耗比同行单BT连接功耗还能降低 60%。</div>
<div> </div>
<div>模组支持 BT PAN 功能可以直接连接手机上网,相比 WIFI 功耗更低,更加适合电池场景,带屏连接功耗仅 <strong>30mA</strong>。</div>
<div> </div>
<div>在本项目中,直接让电池电源直连模组的电源输入引脚 VSYS。这里需要注意<code>该模组电压范围要求 3.7V~4.7V</code>。3.3V 和 5V 供电都不行。</div>
<div> </div>
<div>模组的 VDD33_VOUT2 是由软件控制输出的,需要芯片正常启动后才有输出3V3。</div>
<div> </div>
<div><span style="font-size:14pt"><strong>2.音频功放部分:</strong></span></div>
<div><span style="font-size:14pt"><strong><img src="https://image.lceda.cn/oshwhub/pullImage/b3bd8c0ab416486ebb3974d8a2cf1eb3.png" alt="" width="647" height="217"></strong></span></div>
<div>主要以原理图的 U6 为主,它型号是 LM4871,是一款 3W、单声道 AB 类音频功率放大器,工作电压 1.9 - 5.5V。</div>
<div>
<div>
<div>器件的 1 脚 Shutdown 是芯片掉电控制引脚,为高电平时功放停止工作实现低功耗;为低电平时功放正常工作。在原理图中通过 R4 电阻让该引脚默认为高电平即芯片默认停止工作,当需要功放工作时,需要主控的 PA26 引脚输出低电平才能工作,这样只有需要用的时候才开,不用的时候默认关闭。</div>
<div> </div>
<div>
<div>
<div>
<div><strong>声音大小控制</strong></div>
<div>通过实际测试发现,项目原理图中的 R10 和 R11 电阻跟声音大小成线性关系,两个电阻越大,声音越小;两个电阻越小,声音越大。但是声音的大小始终不会超过喇叭的实际可输出声音大小。 W 数越大,功率越高,耗电越大,声音越响。</div>
<div> </div>
</div>
</div>
</div>
</div>
</div>
<div><span style="font-size:14pt"><strong>3.电源部分:</strong></span></div>
<div><img src="https://image.lceda.cn/oshwhub/pullImage/f3fe34389bc4419289dfcd32c4ff2dbb.png" alt="" width="363" height="245"></div>
<div>BAT1 是一个<a href="https://item.szlcsc.com/6030883.html" target="_blank">电池盒</a>,可以容纳一节 CR123A 电池。故要供电的话,需要使用小型柱形电池 CR123A 进行供电。</div>
<div> </div>
<div>
<div>
<div>CR123A 的相关参数如下:
<div>
<div>- <strong>型号:</strong> CR123A</div>
<div>- <strong>电压:</strong> 3.7V</div>
<div>- <strong>尺寸:</strong> 34(L) x 16.5(W) mm</div>
<div>- <strong>其他:</strong> 带 TYPE-C接口,可以直接充电</div>
<div> </div>
<div>
<div>
<div>SW1 是整个项目的电源开关,通过拨动 SW1 开关,进行断电和通电。</div>
<div> </div>
</div>
</div>
<div><span style="font-size:14pt">4.麦克风部分:</span></div>
<div>
<div>
<div><img src="https://image.lceda.cn/oshwhub/pullImage/4bfe4810b6f44ea8a995aaa36cf6744e.png" alt="" width="311" height="202"></div>
<div>麦克风咪头(通常为驻极体话筒)的核心是一个<strong>可振动</strong>的极板(振膜)与固定背极板组成的电容。</div>
<div> </div>
<div>当声音振动波作用在振膜上时,会导致其与背极板的距离动态变化,从而改变电容值。当有声音时,器件内部电容发生变化,这一变化会引发电容两端的电荷移动,产生微弱的交流电信号(模拟信号)。</div>
<div> </div>
<div>但是虽然麦克风内部的驻极体材料自带永久电荷(无需外部供电维持电场),即使没有电源输入,麦克风也能够使用,但是为了确保麦克风能够正常稳定的工作,通常是需要提供一个基准电压(通常2~5V),使内部电容处于预充电状态,确保声音引起的电容变化能转换为有效电流信号。</div>
<div> </div>
<div>在原理图中,R3 电阻的作用就是给麦克风的正极输入一个基准电压MIC_BIAS,这个电压是由模组控制输出的,由模组控制则可以在要用时才输出,不用时关闭,实现低功耗。R3 的电阻值为 10K,测试效果能够接受,过低则采集的音频信号弱,过高则易引入噪声。</div>
<div> </div>
<div>在原理图中,U4 电容的作用就是对采集的信号进行滤波,滤除高频噪声,大多是滤除滋滋滋的声音或者声音沙哑问题。</div>
<div> </div>
<div><span style="font-size:14pt"><strong>5.屏幕显示部分:</strong></span></div>
<div><span style="font-size:14pt"><strong><img src="https://image.lceda.cn/oshwhub/pullImage/c5d6ad8d22e04e4ca2d6890c365e9db9.png" alt="" width="345" height="196"></strong></span></div>
<div> </div>
<div>
<div>
<div>屏幕显示使用的是 1.69寸TFT屏幕,屏幕通过SPI协议控制,供电 3.3V。</div>
<div> </div>
<div>这里SPI的通信控制信号引脚,可以使用主控的硬件SPI外设,实现更高的通信速率,更快的屏幕刷新。但是使用主控的硬件SPI外设,则需要选择特定的引脚。</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
<div>
<div><strong>模组与屏幕的连接</strong></div>
<div>
<table>
<tr>
<th colspan="1" rowspan="1">
<div>模组</div>
</th>
<th colspan="1" rowspan="1">
<div>1.69寸TFT屏幕</div>
</th>
<th colspan="1" rowspan="1">
<div>说明</div>
</th>
</tr>
<tr>
<td colspan="1" rowspan="1">
<div>GND</div>
</td>
<td colspan="1" rowspan="1">
<div>GND</div>
</td>
<td colspan="1" rowspan="1">
<div>屏幕电源地</div>
</td>
</tr>
<tr>
<td colspan="1" rowspan="1">
<div>VDD33_VOUT2</div>
</td>
<td colspan="1" rowspan="1">
<div>VCC</div>
</td>
<td colspan="1" rowspan="1">
<div>屏幕电源输入</div>
</td>
</tr>
<tr>
<td colspan="1" rowspan="1">
<div>PA04</div>
</td>
<td colspan="1" rowspan="1">
<div>DO(SCL)</div>
</td>
<td colspan="1" rowspan="1">
<div>屏幕通信时钟引脚</div>
</td>
</tr>
<tr>
<td colspan="1" rowspan="1">
<div>PA05</div>
</td>
<td colspan="1" rowspan="1">
<div>D1(SDA)</div>
</td>
<td colspan="1" rowspan="1">
<div>屏幕通信数据引脚</div>
</td>
</tr>
<tr>
<td colspan="1" rowspan="1">
<div>PA00</div>
</td>
<td colspan="1" rowspan="1">
<div>RES</div>
</td>
<td colspan="1" rowspan="1">
<div>屏幕屏幕复位引脚</div>
</td>
</tr>
<tr>
<td colspan="1" rowspan="1">
<div>PA06</div>
</td>
<td colspan="1" rowspan="1">
<div>D/C</div>
</td>
<td colspan="1" rowspan="1">
<div>屏幕读写功能引脚</div>
</td>
</tr>
<tr>
<td colspan="1" rowspan="1">
<div>PA03</div>
</td>
<td colspan="1" rowspan="1">
<div>CS</div>
</td>
<td colspan="1" rowspan="1">
<div>屏幕通信片选引脚</div>
</td>
</tr>
<tr>
<td colspan="1" rowspan="1">
<div>PA42</div>
</td>
<td colspan="1" rowspan="1">
<div>BLK</div>
</td>
<td colspan="1" rowspan="1">
<div>屏幕背光控制引脚,高电平屏幕背光亮</div>
</td>
</tr>
</table>
<p style="line-height:1.8"><span style="font-size:14pt"><strong>6.按键部分:</strong></span></p>
<p style="line-height:1.8"><span style="font-size:14pt"><strong><img src="https://image.lceda.cn/oshwhub/pullImage/c0f7005a650048ba90ea73aec4752e79.png" alt="" width="399" height="149"></strong></span></p>
<div>
<div>每一个项目基本都需要有人机交互部分,本项目通过按键进行控制,U2 PA34_KEY 是唤醒键 + 语音输入键,按下 U2 按键可以让主控从低功耗睡眠状态唤醒,当主控正在工作时,按下按键进行语音输入。</div>
<div> </div>
<div>U1按键目前待定用途,设计出来备用。</div>
<div><strong><span style="font-size:14pt">7.指示灯部分:</span></strong></div>
<div>
<div>
<div><img src="https://image.lceda.cn/oshwhub/pullImage/5c6c387a94a44d1a85b671f523fc8b55.png" alt="" width="445" height="138"></div>
<div>用于指示模组状态。通过模组IO控制。IO输出低电平LED灯亮,IO输出高电平LED灯灭。</div>
<div><span style="font-size:14pt"><strong>8.下载部分:</strong></span></div>
<div><span style="font-size:14pt"><strong><img src="https://image.lceda.cn/oshwhub/pullImage/e52612149f7d41d48d960b92e6589ea9.png" alt="" width="452" height="254"></strong></span></div>
<div> </div>
<div>
<div>
<div>模组的下载是通过串口进行下载的,必须使用 PA18 和 PA19 引脚下载。</div>
<div><strong><span style="font-size:14pt">PCB布局布线图如下:</span></strong></div>
<div><img src="https://image.lceda.cn/oshwhub/pullImage/93d5980d036d492394ffcc55cb255dbe.png" alt="" width="408" height="276"><img src="https://image.lceda.cn/oshwhub/pullImage/e8fdaf65c60e46e4ab70c81562c6d39a.png" alt="" width="441" height="274"></div>
<div><strong><span style="font-size:14pt">3D图</span></strong></div>
<div><strong><span style="font-size:14pt"><img src="https://image.lceda.cn/oshwhub/pullImage/71ca829a35c14a50945ab8f591d8d434.png" alt="" width="433" height="271"><img src="https://image.lceda.cn/oshwhub/pullImage/67f05656add3406fb09eefc8ca199c0e.png" alt="" width="426" height="267"></span></strong></div>
<div><strong><span style="font-size:14pt">3D外壳:</span></strong></div>
<div>外壳设计可参考<a href="https://lceda002.feishu.cn/wiki/B2LLwyC7binHuJkkHGMce03wnWf?fromScene=spaceOverview" target="_blank">插件版小智AI设计教程 - 飞书云文档</a>,讲解非常详细,新手小白一学就会。</div>
<div> </div>
<div> </div>
<div><strong><span style="font-size:14pt"><img src="https://image.lceda.cn/oshwhub/pullImage/8be3842ef18c4180934ec6b125111b85.png" alt="" width="615" height="494"></span></strong></div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
<p style="line-height:1.8"><span style="color:#95a5a6;font-size:14px"> 注:请前往<span style="text-decoration:underline"><a href="https://lceda.cn/editor" target="_blank">嘉立创EDA</a> </span>生成/上传设计文件,文件完成后,相关文稿将自动生成至项目详情;这里可以详细说明您的项目实现原理和机制、注意事项、调试方法、测试方法等。推荐图文并茂的形式向别人介绍您的想法。 </span></p>
<div>
<div>
<div>
<div>
<div>
<div> </div>
</div>
</div>
</div>
</div>
</div>
<h3 style="line-height:1.8">*5、软件部分</h3>
<hr>
<p style="line-height:1.8"><span style="color:#95a5a6;font-size:14px">请输入内容…</span></p>
<div>
<div>软件开源地址:https://github.com/78/xiaozhi-sf32</div>
<div>
<p>下载固件流程参考<a href="https://lceda002.feishu.cn/wiki/B2LLwyC7binHuJkkHGMce03wnWf?fromScene=spaceOverview" target="_blank">插件版小智AI设计教程 - 飞书云文档</a>,</p>
<p><img src="https://image.lceda.cn/oshwhub/pullImage/3ab6a4c5cbcf4f8c97edb81ce56bfd46.png"></p>
<p>下载完成,根据教程指导,启动小智AI的电源,连接手机蓝牙,配置小智AI代码,即可激活使用;</p>
</div>
</div>
<p style="line-height:1.8"><span style="color:#95a5a6;font-size:14px">注:若您的项目涉及软件开发,请在附件上传对应的工程源码。这里可以详细说明您的软件流程图、功能模块框图、相关算法的解释或科普、源码结构、编译环境的搭建和配置、源码编译方法、程序烧录方法等。推荐图文并茂的形式向别人介绍您的想法。</span></p>
<p style="line-height:1.8"> </p>
<h3 style="line-height:1.8">*6、BOM清单</h3>
<hr>
<p style="line-height:1.8"><span style="color:#95a5a6;font-size:14px"><img src="https://image.lceda.cn/oshwhub/pullImage/9b5b5861957040e9a69e4b2d2bde4e63.png" alt="" width="1336" height="739"></span></p>
<div>
<div>
<table>
<tr>
<td colspan="1" rowspan="1">
<div>1</div>
</td>
<td colspan="1" rowspan="1">
<div>显示模块</div>
</td>
<td colspan="1" rowspan="1">
<div>1.69寸 TFT 屏幕</div>
</td>
</tr>
<tr>
<td colspan="1" rowspan="1">
<div>2</div>
</td>
<td colspan="1" rowspan="1">
<div>CR123A可充电电池</div>
</td>
<td colspan="1" rowspan="1">
<div>3.7V 34x16.5mm 可充电电池</div>
</td>
</tr>
<tr>
<td colspan="1" rowspan="1">
<div>3</div>
</td>
<td colspan="1" rowspan="1">
<div>喇叭</div>
</td>
<td colspan="1" rowspan="1">
<div>30B01腔体喇叭圆形8欧2瓦30MM</div>
</td>
</tr>
</table>
</div>
</div>
<p style="line-height:1.8"><span style="color:#95a5a6;font-size:14px">请输入内容…</span></p>
<p style="line-height:1.8"> </p>
<p style="line-height:1.8"><span style="color:#95a5a6;font-size:14px">注:项目涉及的BOM清单。在<span style="text-decoration:underline"><a href="https://lceda.cn/editor" target="_blank">嘉立创EDA</a> </span>生成/上传设计文件后,BOM将自动生成至项目详情;建议包括型号、品牌、名称、封装、采购渠道、用途等内容。具体内容和形式应以表达清楚项目构成为准。 </span></p>
<p style="line-height:1.8"> </p>
<h3 style="line-height:1.8">*7、大赛LOGO验证</h3>
<hr>
<p style="line-height:1.8">左侧是屏幕接口</p>
<p style="line-height:1.8"><span style="color:#95a5a6;font-size:14px">请上传包含大赛logo的项目图片,logo以丝印形式印刷在PCB上面<img src="https://image.lceda.cn/oshwhub/pullImage/dd2ed9c977674417af505a8f44f2f4fe.jpg" alt="" width="388" height="297">。<img src="https://image.lceda.cn/oshwhub/pullImage/7a1b239d78434b2d916c81efecc4a9cb.jpg" alt="" width="389" height="294"></span></p>
<p style="line-height:1.8"><span style="color:#95a5a6;font-size:14px">点击zip下载大赛logo标识! <span style="text-decoration:underline"><a href="https://image.lceda.cn/easyedaResource/images/d1bbfd69f9404f56901a0e7b849b7245.rar" target="_blank">(大赛标识).zip</a></span></span></p>
<p style="line-height:1.8"><img src="https://image.lceda.cn/oshwhub/pullImage/9f780f87841f4860940bc887ae929ca3.jpg" alt="" width="380" height="284"></p>
<h3 style="line-height:1.8">* 8、演示您的项目并录制成视频上传</h3>
<hr>
<p style="line-height:1.8"> </p>
<p style="line-height:1.8"><span style="color:#95a5a6;font-size:14px">视频要求:请横屏拍摄,分辨率不低于1280×720,格式Mp4/Mov,单个视频大小限100M内;</span></p>
<p style="line-height:1.8"><span style="color:#95a5a6;font-size:14px">视频标题:立创电赛:{项目名称}-{视频模块名称};如立创电赛:《自动驾驶》-团队介绍。</span></p>
<p style="line-height:1.8">成品视频请看附件。</p>
<p style="line-height:1.8"><span style="font-size:14px"><a href="/posts/42551e8f2f2548cabc1c36626a42da94" target="_blank">前往查看更多详情 ></a></span></p>
<p style="line-height:1.8"> </p>
评论(0)