版本协议

GPL 3.0

标签
标准版
#第六届立创电赛#离线语音智能鱼缸

创建时间:2年前

视频

  • 202108211318(1).mp4

  • 202108211318.mp4

描述

<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> <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;">* 1、项目功能介绍</h3> <p></p><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;"> </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;">使用离线识别语音模块,通过SDK开发,对识别语音处理后内容进行处理发往hk32串口2进行处理后进行控制。</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;"><img src="//image.lceda.cn/pullimage/m1KVhE2KnBu4gagmsxpkzmaz0WSey6kKOkxZUGc5.png" alt="" width="980" height="856"></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></p><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;"> </span></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> <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> <p></p><hr class="horizontal-splitline normal-bold-2"><p>GPL3.0</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> <p></p><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 pap-left-indent-1.6em" 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 pap-left-indent-1.6em" 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 pap-left-indent-1.6em" style="line-height:1.8;"><img src="//image.lceda.cn/pullimage/b3P5Mc5bv65pTZHmC08R02IqzPHTreHT8SiUwEAq.jpeg" alt="" width="699" height="524">硬件主控为HK32F103CBT6,通过CI1122发送数据进行相应操作。</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;">*5、软件部分</h3> <p></p><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;"><strong><span style="font-size:16px;"><span style="color:#95a5a6;">使用VSCODE,微信开发者工具开发。</span></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;"><strong><span style="font-size:16px;"><span style="color:#95a5a6;">登录页面显示</span></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;"><strong><span style="font-size:16px;"><span style="color:#95a5a6;"><img src="//image.lceda.cn/pullimage/YYNkGEuCNYF45dhxZroc9UeKej4QzQetZ8Ao8xXZ.png" alt="" width="146" height="293"></span></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> <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/9lZ2t4HLswDeUuoreTv5jHfwQnqjhg9aSyFBIRpG.png" alt="" width="147" height="263"></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;"><span style="color:#95a5a6;font-size:14px;">代码上传至附件</span></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> <p></p><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;"> </span></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;"><img src="//image.lceda.cn/pullimage/LrQh45AdccVgW5u4FVfWPTVnNMAxvCLspGh5oXnq.png" alt="" width="641" height="279"></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;"><span style="color:#95a5a6;font-size:14px;"> </span></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;">*7、大赛LOGO验证</h3> <p></p><hr class="horizontal-splitline normal-bold-2"><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;"><span style="color:#95a5a6;font-size:14px;"><span style="text-decoration:underline;"><a href="https://lceda.oss-cn-shenzhen.aliyuncs.com/diy/uploads/file/2019/05/29/0e4d93a463d7ceb5e7dc77d774b7a4ae.zip" target="_blank">(大赛标识).zip</a></span></span><img src="//image.lceda.cn/pullimage/SjrzGJlPDeR3nKGfcEv9SvX1NcGg2IaH0FtXWIBm.png" alt="" width="548" height="464">* 8、演示您的项目并录制成视频上传</p> <p></p><hr class="horizontal-splitline normal-bold-2"><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;">请移步至B站</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;"><a href="https://www.bilibili.com/video/BV1iQ4y1279L/" target="_blank">https://www.bilibili.com/video/BV1iQ4y1279L/</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" style="line-height:1.8;"><a title="B站视频链接" href="https://www.bilibili.com/video/BV1iQ4y1279L/" target="_blank">https://www.bilibili.com/video/BV1iQ4y1279L/</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" style="line-height:1.8;"> </p>

文档

Sheet_1

语音

PCB_#第六届立创电赛#离线语音智能鱼缸

BOM

ID Name Designator Footprint Quantity
1 30pF C1,C2 C0603 2
2 15pF C3,C4 C0603 2
3 10uF C5,C6,C12,C15 C0805 4
4 100nF C7,C8,C10,C11,C17 C0603 5
5 220uF C13 CAP-TH_BD6.3-P2.50-D1.0-FD 1
6 MBR0530 D1,D2,D3 SOD-123_L2.8-W1.8-LS3.7-RD 3
7 Header-Male-2.54_1x4 H1 HDR-TH_4P-P2.54-V 1
8 HDR-F-2.54_1x3 H2 HDR-F-2.54_1X3 1
9 HDR-F-2.54_2x6 H3,H4,H5,H6 HDR-M-2.54_2X6 4
10 灯光 J1 HDR-M-2.54_1X3 1
11 HDR-M-2.54_1x8 J2 HDR-M-2.54_1X8 1
12 水位接口 J3 HDR-M-2.54_1X3 1
13 HDR-M-2.54_1x6 J4 HDR-M-2.54_1X6 1
14 HDR-M-2.54_1x1 J10 HDR-M-2.54_1X1 1
15 加热 K1 RELAY-TH_SRD-XXVDC-XL-C 1
16 过滤 K2 RELAY-TH_SRD-XXVDC-XL-C 1
17 FC-D1608UGK-520D10 LED1,LED2,LED3,LED4,LED5,LED6 LED0603-RD 6
18 0.96OLED_4P OLED1 0.96OLED_4P 1
19 RGB5050 P1 LED8050 1
20 22 R1,R2 R0603 2
21 0 R4 R0603 1
22 4.7K R5,R6,R9,R10,R11,R12,R16,R20,R48,R49,R50 R0603 11
23 AC0805FR-7W1KL R13,R14,R15,R17,R18,R19 R0805 6
24 1TS002E-2500-2500 SW2,SW3,SW4,SW5 KEY-SMD_L6.1-W3.7-LS8.0 4
25 M3铜柱 TP1,TP2,TP3,TP4 M3铜柱 4
26 HK32F103CBT6 U1 LQFP-48_L7.0-W7.0-P0.50-LS9.0-BL 1
27 XY301V-A-5.0-3P U2,U5 CONN-TH_XY301V-A-5.0-3P 2
28 WT-01S U4 WIFIM-TH_8P-L24.7-W14.4-P2.54 1
29 AMS1117-3.3V U6 SOT-223-4_L6.5-W3.5-P2.30-LS7.0-BR 1
30 ULN2003 U7 SOP-16_L9.9-W3.9-P1.27-LS6.1-BL 1
31 TYPE-C 16P(073) USB1 USB-C-SMD_TYPE-C16PIN_C668624 1
32 32.768KHz X1 OSC-TH_BD3.1-P0.8-D0.3 1
33 8MHz X2 HC-49US_L11.5-W4.5-P4.88 1
34 100uF C16 CAP-SMD_BD5.0-L5.3-W5.3-FD 1
35 喇叭 CN1 CONN-TH_1.25T-2AW 1
36 ESD5Z3.3C D7,D8 SOD-523_L1.2-W0.8-LS1.6-BI 2
37 ESD5Z7.0T1G_C406243 D9,D10 SOD-523_L1.2-W0.8-LS1.6-RD 2
38 SMAJ6.0CA_C693488 D11 SMA_L4.4-W2.6-LS5.0-BI 1
39 HDR-M-2.54_2x2 J5 HDR-M-2.54_2X2 1
40 HDR-M-2.54_1x2 J6,J8 HDR-M-2.54_1X2 2
41 HDR-M-2.54_1x4 J7 HDR-M-2.54_1X4 1
42 HDR-M-2.54_2x4 J9 HDR-M-2.54_2X4 1
43 4.7K R21 R0805 1
44 CI-C22GS02S U3 SMD-17_L20.0-W1.80-CI-C22GS02S 1

附件

附件名 下载
微信程序.zip
hk32f103.zip
播报词列表_中文模板.xlsx
命令词列表_中文模板.xlsx
BOM_#第六届立创电赛#离线语音智能鱼缸_2021-08-11.csv

成员

评论(38)

  • 表情
    emoji
    小嘉工作篇
    小嘉日常篇
  • 图片
成功
工程所有者当前已关闭评论
shouji6406 回复
<p>这么好的作品,我坐前排</p>
立创电赛 回复
<p> 咱们可以把大赛视频上传到官网呀~</p>
shang.h 回复
<p>不好意思,第一次上传没上传成功 就发到B站了</p>
立创电赛 回复
<p> 咱们可以重新上传一下呀~</p>
JCMOFO 回复
<p><span class="colour" style="color:rgb(0,0,0);">关于语音模块为什么升级了固件之后,只能识别到唤醒词,命令词识别不了,SDK的代码是否需要修改呢,还有就是语音模块串口发送字节给单片机来判断,进而做相对应的操作吗?</span></p>
shang.h 回复
<p>1.识别的功能和SDK代码无关 唤醒词如果没问题的话,可能是你Excel文件配置的问题。你看着视频配置一下:<a href="https://www.bilibili.com/video/BV1Vy4y1T7u8?spm_id_from=333.999.0.0" target="_blank">https://www.bilibili.com/video/BV1Vy4y1T7u8?spm_id_from=333.999.0.0</a><br/>2.在路径下CI112X_SDK_V1.2.5\sample\internal\sample_1122\src的user_msg_deal.c文件中 对deal_asr_msg_by_cmd_id函数配置。<br/><img src="//image.lceda.cn/pullimage/Gncz9ppEw8zBXrpSrVD6QAfaVRW3ql2ZnKMVNRqz.png" alt="图片.png"></p><br/><pre><code>uint32_t deal_asr_msg_by_cmd_id(sys_msg_asr_data_t *asr_msg, cmd_handle_t cmd_handle, uint16_t cmd_id)<br/>{<br/> char send_data[10]={0,1,2,3,4,5,6,7,8};<br/> uint32_t ret = 1;<br/> int select_index = -1;<br/> switch(cmd_id)///cmd_id为命令词id<br/> { ///tag-asr-msg-deal-by-cmd-id-start<br/> case 2://打开彩灯<br/> {<br/> UartPollingSenddata(UART1,'a');//通过串口1,发送a字符,单片机看接收到的是那个字符判断是哪个命令词id触发。<br/> break;<br/> }<br/> case 3://关闭彩灯<br/> {<br/> UartPollingSenddata(UART1,'b');<br/> break;<br/> }</code></pre>
JCMOFO 回复
<p>收到,非常感谢作者大大的及时回复,我这两天找了好多网站和官方资料去尝试也没能成功</p>
shang.h 回复
<p>你试试哈 有问题再讨论哈</p>
JCMOFO 回复
<p>好的好的</p>
JCMOFO 回复
<p>关于第一个问题,我看了视频,还是只能识别唤醒词,我用模板的demo是可以识别唤醒词和命令词,所以模块是没有问题的。但是<span class="colour" style="color:rgb(51,51,51);">Excel文件配置我也是按照视频的来做,不知道问题出现在哪里</span></p>
JCMOFO 回复
<p>第一个问题已经解决,SDK版本问题,我换成1.2.9那个就可以识别唤醒词和命令词了</p>
JCMOFO 回复
<p>语音模块的串口1是直接与HK的串口2接线吗,有点搞不懂这里面的逻辑</p>
shang.h 回复
<p>语音模块通过识别到的语音命令发送相应的字符,HK串口2当接收到语音模块发送的字符来判断是哪条语音指令,然后执行相应的函数,不难的。</p>
JCMOFO 回复
<p>这两个模块之间的串口通信是用线来连接吗,还没玩过单片机,这个我还是不太懂</p>
shang.h 回复
<p>是的,单片机的TX2接语音模块的串口RX,单片机的RX2接语音模块的串口TX</p>
JCMOFO 回复
<p>已经解决,多谢作者大大。不过现在又出现新问题,哈哈哈。就是我给打开加热的命令时,ULN2003发烫很严重,想问一下,继电器用的线圈电压是5V还是3V啊,或者是其他什么问题吗,作者大大之前有遇到过吗</p>
shang.h 回复
<p>ULN2003发烫我没遇到过,你看下是不是短接了,我也不太清楚。我第一次继电器买成12V的了,哈哈,5V的就可以了。</p>
JCMOFO 回复
<p>线之间我检查过了,鹅鹅鹅鹅鹅鹅,我买的3V继电器,我换一下5V的试试,哈哈哈哈</p>
JCMOFO 回复
<p>离线语音那一块的控制都弄好了,接入微信那一块是怎么弄啊</p>
JCMOFO 回复
<p>接入微信的esp8266,应该进行什么操作呀</p>
shang.h 回复
<p><a href="https://www.bilibili.com/video/BV1ae411W7yD" target="_blank">https://www.bilibili.com/video/BV1ae411W7yD</a><br/>你可以从头到尾看一下这个视频<br/>用的是ESP32<br/>是MQTT平台的数据上发与下行</p>
591129G 回复
<p> 这个项目很棒啊又实用,感谢楼主!</p><br/><p><br><br/><br></p>
shang.h 回复
<p>过一段时间会更新第二代鱼缸</p>
御坂0x1BF52号 回复
<p>排水电机……不会堵吗</p>
shang.h 回复
<p>会的,这个只是模型,可以换成鱼缸专用的电机</p>
shang.h 回复
<p>缺少资金 是个大问题hh</p>
JCMOFO 回复
<p>哈喽,我又来啦。这次的问题是那个用域名登录,他这个提示我需要备案啥的,您之前有遇到过吗,之前给的b站视频他也没有遇到这个问题</p>
shang.h 回复
<p>之前好像不用备案 这个没有遇见过</p>
立创电赛 回复
<p><span class="colour" style="color: rgb(83, 139, 215);">恭喜您在“航顺HK32MCU杯”第六届立创电子设计开源大赛获得优胜奖,更多详情见:</span><a href="https://diy.szlcsc.com/posts/2745c50726da4cbca856be6e52dd7383" target="_blank">https://diy.szlcsc.com/posts/2745c50726da4cbca856be6e52dd7383</a></p>
JCMOFO 回复
<p><span style="color:rgb(0,0,0);">博主啊,鱼缸那个关于创建mqtt服务器的,B站up主已经删了那个视频,我不知道怎么去设置了,之前弄过一次,发现是不一样的,您能大致讲一下或者发个教程啥的吗,难倒我了hh</span></p>
shang.h 回复
<p>具体是什么,我没太懂你的意思</p>
JCMOFO 回复
<p>已经解决了,哈哈,现在在备案阶段了</p>
ncfws 回复
<p>你好,能移植到stm32f103c8t6么?</p>
shang.h 回复
<p>可以的</p>
glamb 回复
<p>你好,我想问一下排水功能是怎么实现的,视频里没看明白</p>
glamb 回复
<p>能看一下私信吗</p>
刘蛋儿 回复
<p>兄弟移植成功了吗?</p>
刘蛋儿 回复
<p>你好,这个能移植到stm32f103c8t6吧?看了一下两个芯片,感觉非常契合</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