描述
<div class="document">
<h3 class="paragraph text-align-type-left pap-line-1.3 pap-line-rule-auto pap-spacing-before-3pt pap-spacing-after-3pt" style="line-height: 1.8;">* 1、项目功能介绍</h3>
<ul>
<li>主控采用启音泰伦的CI1122离线语音芯片,在启音泰伦的开发者平台,可以自定义唤醒词,命令词,合成播报音。</li>
<li>本次设计的唤醒词为“小七同学”,根据控制七彩灯条的效果,自定义了以下命令词(本次设计的功能):开灯灯条、关灯灯条、照明模式、幻彩灯光、红色效果、绿色效果、蓝色效果、黄色效果、青色效果、紫色效果、呼吸效果、调低亮度、调高亮度、中等亮度、最大亮度、最小亮度、护眼模式。</li>
<li>唤醒词和命令词对应得播报音有:主人请吩咐、灯条已打开、灯条已关闭、照明模式已开启、开始幻彩灯光、红色效果、绿色效果、蓝色效果、黄色效果、青色效果、紫色效果、呼吸效果、亮度已调低、亮度已调高、亮度已调到中等、亮度已调到最大、亮度已调到最小、护眼模式已开启。</li>
<li>由于本次设计选用的功放芯片功率较小,最后导致了播报音比较小声。</li>
</ul>
<p class="paragraph text-align-type-left pap-line-1.3 pap-line-rule-auto pap-spacing-before-3pt pap-spacing-after-3pt" style="line-height: 1.8;"> </p>
<h3 class="paragraph text-align-type-left pap-line-1.3 pap-line-rule-auto pap-spacing-before-3pt pap-spacing-after-3pt" style="line-height: 1.8;">*2、项目属性</h3>
<p class="paragraph text-align-type-left pap-line-1.3 pap-line-rule-auto pap-spacing-before-3pt pap-spacing-after-3pt" style="line-height: 1.8;">首次原创</p>
<p class="paragraph text-align-type-left pap-line-1.3 pap-line-rule-auto pap-spacing-before-3pt pap-spacing-after-3pt" style="line-height: 1.8;"> </p>
<h3 class="paragraph text-align-type-left pap-line-1.3 pap-line-rule-auto pap-spacing-before-3pt pap-spacing-after-3pt" style="line-height: 1.8;">* 3、开源协议</h3>
<hr class="horizontal-splitline normal-bold-2">
<p class="paragraph text-align-type-left pap-line-1.3 pap-line-rule-auto pap-spacing-before-3pt pap-spacing-after-3pt" style="line-height: 1.8;"><span style="color: #95a5a6; font-size: 14px;">GPL3.0开源协议</span></p>
<p style="line-height: 1.8;"> </p>
<p class="paragraph text-align-type-left pap-line-1.3 pap-line-rule-auto pap-spacing-before-3pt pap-spacing-after-3pt" style="line-height: 1.8;"><strong><span style="color: #0093e6;">请在竞赛阶段填写 ↓</span></strong></p>
<p class="paragraph text-align-type-left pap-line-1.3 pap-line-rule-auto pap-spacing-before-3pt pap-spacing-after-3pt" style="line-height: 1.8;"> </p>
<h3 class="paragraph text-align-type-left pap-line-1.3 pap-line-rule-auto pap-spacing-before-3pt pap-spacing-after-3pt" style="line-height: 1.8;">*4、硬件部分</h3>
<hr class="horizontal-splitline normal-bold-2">
<ul>
<li class="paragraph text-align-type-left pap-line-1.3 pap-line-rule-auto pap-spacing-before-3pt pap-spacing-after-3pt pap-left-indent-1.6em" style="line-height: 1.8;">电源复位电路,复位电路用于下载时配合下载电路使用。</li>
<li class="paragraph text-align-type-left pap-line-1.3 pap-line-rule-auto pap-spacing-before-3pt pap-spacing-after-3pt pap-left-indent-1.6em" style="line-height: 1.8;">电源指示灯电路,起到指示作用。</li>
<li class="paragraph text-align-type-left pap-line-1.3 pap-line-rule-auto pap-spacing-before-3pt pap-spacing-after-3pt pap-left-indent-1.6em" style="line-height: 1.8;">防反接电路,防止电源的正负极反接,可以保护电路不损坏。</li>
<li class="paragraph text-align-type-left pap-line-1.3 pap-line-rule-auto pap-spacing-before-3pt pap-spacing-after-3pt pap-left-indent-1.6em" style="line-height: 1.8;">5v转3.3V电路,采用的是LDO电压芯片1117</li>
<li class="paragraph text-align-type-left pap-line-1.3 pap-line-rule-auto pap-spacing-before-3pt pap-spacing-after-3pt pap-left-indent-1.6em" style="line-height: 1.8;">3.3V转1.2V电路</li>
<li>下载电路:采用ch340n芯片</li>
<li>麦克风电路:采用咪头差分电路</li>
<li>功放电路:采用BL6281芯片</li>
<li>灯条控制端:采用nmos管开关电路</li>
</ul>
<h3 class="paragraph text-align-type-left pap-line-1.3 pap-line-rule-auto pap-spacing-before-3pt pap-spacing-after-3pt" style="line-height: 1.8;">*5、软件部分</h3>
<ul>
<li>在启音泰伦的官网上下载SDK,根据软件文档的介绍,了解关于PWM部分的API</li>
<li>根据pwm的api接口,封装好每一个命令词对应的函数。</li>
<li>在初始化函数中添加PWM的初始化函数。</li>
<li>找到语音识别的回调函数,将封装好的函数填写在对应的命令词ID中。</li>
<li>根据实际的效果,优化pwm的频率,占空比的设置。让视觉效果更佳。</li>
</ul>
<p class="paragraph text-align-type-left pap-line-1.3 pap-line-rule-auto pap-spacing-before-3pt pap-spacing-after-3pt" style="line-height: 1.8;">具体代码连接:<a href="https://github.com/DMAsong/Training_camp.git" target="_blank">https://github.com/DMAsong/Training_camp.git</a></p>
<p class="paragraph text-align-type-left pap-line-1.3 pap-line-rule-auto pap-spacing-before-3pt pap-spacing-after-3pt pap-left-indent-1.6em" style="line-height: 1.8;"> </p>
<h3 class="paragraph text-align-type-left pap-line-1.3 pap-line-rule-auto pap-spacing-before-3pt pap-spacing-after-3pt" style="line-height: 1.8;">*6、BOM清单</h3>
<hr class="horizontal-splitline normal-bold-2">
<p class="paragraph text-align-type-left pap-line-1.3 pap-line-rule-auto pap-spacing-before-3pt pap-spacing-after-3pt" style="line-height: 1.8;"><img src="//image.lceda.cn/pullimage/9xSgffvlgREERZNj5kXD4RnuYpDUlTQSMcJI63wJ.png" alt="" width="778" height="1200"></p>
<h3 class="paragraph text-align-type-left pap-line-1.3 pap-line-rule-auto pap-spacing-before-3pt pap-spacing-after-3pt">7、大赛LOGO验证</h3>
<p><img src="//image.lceda.cn/pullimage/23PVtQBYbHBWFlM3EzumnVcJ7GwCYnfTBFWeR8nD.jpeg" alt="" width="143" height="101"></p>
<h3 class="paragraph text-align-type-left pap-line-1.3 pap-line-rule-auto pap-spacing-before-3pt pap-spacing-after-3pt" style="line-height: 1.8;">* 8、演示您的项目并录制成视频上传</h3>
<p class="paragraph text-align-type-left pap-line-1.3 pap-line-rule-auto pap-spacing-before-3pt pap-spacing-after-3pt" style="line-height: 1.8;"> </p>
<p class="paragraph text-align-type-left pap-line-1.3 pap-line-rule-auto pap-spacing-before-3pt pap-spacing-after-3pt" style="line-height: 1.8;"> </p>
</div>
评论(2)