标准版
基于离线语音的七彩灯条控制器

创建时间:3年前

1122 0

视频

描述

<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>

文档

Sheet_1

PCB_基于离线语音的七彩灯条控制器_2

BOM

ID Name Designator Footprint Quantity Manufacturer Part Manufacturer Supplier Supplier Part
1 100nF C1,C2,C3,C6,C7,C8,C9,C10,C11,C21 C0603 10
2 22pF C4,C5 C0603 2
3 4.7uF C12,C13,C14 C0603 3
4 1uF C15,C16,C17,C22,C23 C0603 5
5 10uF C18,C19,C20 C0603 3
6 DSK14_C908228 D2 SOD-123_L2.8-W1.8-LS3.7-FD 1
7 DC044 DC1 DC-IN-TH_DC044 1
8 HDR-F-2.54_1x2 H3 HDR-F-2.54_1X2 1
9 SMT_6P J1 SMT_6P 1
10 17-21/GHC-XS1T2M/3T LED1 LED0805-R-RD 1
11 GMI9767P-38DB MIC2 MIC-TH_BD9.7-P2.54-D0.8-L-FD 1
12 AO3400A_C347475 Q1,Q2,Q3,Q4 SOT-23-3_L2.9-W1.3-P1.90-LS2.4-BR 4
13 2.2K R1,R3 R0603 2
14 10K R2,R6 R0603 2
15 0 R4 R0603 1
16 22K 1% R5 R0603 1
17 4.7K R7,R8,R9,R12,R13,R15 R0603 6
18 100K R10,R11,R14,R16 R0603 4
19 0R R17 R0603 1
20 1K R22 R0603 1
21 CI1122 U1 QFN-48_L6.0-W6.0-P0.4-BL-EP4.1 1
22 3PIN_2.0 U2,U5 3PIN_2.0 2
23 BL6281 U3 SOIC-8_L4.9-W3.9-P1.27-LS6.0-BL 1
24 AMS1117-3.3_C347222 U4 SOT-223_L6.7-W3.5-P2.30-BR 1
25 ME6216A12M3G U6 SOT-23-3_L2.9-W1.6-P1.90-LS2.8-BR 1
26 12.288MHz X1 OSC-SMD_4P-L3.2-W2.5-BL 1

附件

附件名 下载
VID_20210806_212527.mp4

评论(2)

  • 表情
    emoji
    小嘉工作篇
    小嘉日常篇
  • 图片
成功
工程所有者当前已关闭评论
立创电赛 回复
<p><span class="colour" style="color: rgb(85, 85, 85);"> logo验证需要上传第六届电赛的logo,可前往QQ群>群文件下载:</span><span class="colour" style="color: rgb(60, 46, 35);"><u>1051569414</u></span></p>
立创电赛 回复
<p>加油更新文档哟,完成后可申请价值58元PWLINK调试器,先到先得。<a href="https://diy.szlcsc.com/posts/35d08431c7ae49b6b9ea5698eb70ecba" target="_blank">https://diy.szlcsc.com/posts/35d08431c7ae49b6b9ea5698eb70ecba</a></p>
goToTop
svg-battery svg-battery-wifi svg-books svg-more svg-paste svg-pencil svg-plant svg-ruler svg-share svg-user svg-logo-cn svg-double-arrow