专业版
#第十届立创电赛#洛雪音乐伴侣-小智AI6469528A

创建时间:3周前

210 2

描述

<div> <h3 style="line-height:1.8">* 1、项目功能介绍</h3> <hr> <p style="line-height:1.8">AI 小智是一个基于语音识别和自然语言处理技术的智能助手,通过 MCP(模型上下文协议)实现对电脑上洛雪音乐的控制,为用户提供了一种便捷、高效的音乐播放体验。</p> <ul> <li><strong>语音交互功能</strong>:AI 小智能够识别用户的语音指令,例如 “播放音乐”“暂停音乐”“下一首”“上一首”“播放某某歌手的歌曲”“播放某首具体的歌曲” 等。</li> <li><strong>洛雪音乐控制功能</strong>:通过 MCP 协议,AI 小智可以与电脑上的洛雪音乐软件进行交互,实现对音乐播放的全面控制。比如,当用户发出 “播放音乐” 的指令时,AI 小智会通过 MCP 向洛雪音乐发送播放命令,洛雪音乐接收到命令后开始播放音乐;当用户说 “暂停音乐”,AI 小智则会发送暂停指令,使音乐暂停播放。此外,AI 小智还可以根据用户的指令搜索特定的音乐资源并进行播放,充分利用洛雪音乐整合多个平台音乐资源的优势。</li> </ul> <p>该项目的主要目的是解决用户在使用电脑播放音乐时需要手动操作鼠标和键盘的不便。通过 AI 小智和 MCP 控制洛雪音乐,用户可以无需离开当前的工作或娱乐场景,直接通过语音指令完成音乐播放的相关操作,大大提高了使用效率,让用户能够更加专注于自己正在做的事情,同时也为用户带来了更加智能、便捷的生活和工作体验。</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:#000000"><strong><span style="font-size:14px">项目首次公开,原创制作,没有参加任何比赛或学校答辩。</span></strong></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:#000000"><strong><span style="font-size:14px">GPL3.0</span></strong></span></p> <h3 style="line-height:1.8">*4、硬件部分</h3> <hr> <p style="line-height:1.8">为了大家都方便完成硬件的设计,这次按照视频教程画的板子,没有太大的改动,都是插件,新手很容易上手完成焊接。</p> <p style="line-height:1.8">焊接有一下几点建议:</p> <p style="line-height:1.8">1.使用导出的交互式BOM辅助焊接。</p> <p style="line-height:1.8">入口:PCB - 顶部菜单 - 导出 - 交互式BOM-下载html文件-打开出现下图页面</p> <p style="line-height:1.8"><img src="https://image.lceda.cn/oshwhub/pullImage/dcad54ec247a40a8973251e0d48ddd3d.png"></p> <p style="line-height:1.8">2.屏幕焊接建议使用8P的母座,间距2.54,焊接好之后,屏幕可以拔插。</p> <p style="line-height:1.8"><img src="https://image.lceda.cn/oshwhub/pullImage/712df290a025477abd0f12ea0bae3e0d.png"></p> <p style="line-height:1.8">3.主控芯片建议使用锡膏+热风枪完成焊接</p> <p style="line-height:1.8"><img src="https://image.lceda.cn/oshwhub/pullImage/da572ead596d474f848433b5a9d7ebdb.png"></p> <p style="line-height:1.8">4.喇叭端子可以不焊接或更换小的端子</p> <p style="line-height:1.8"><img src="https://image.lceda.cn/oshwhub/pullImage/ac0929ceab374f8c8092d8f2f667bd05.png"></p> <p style="line-height:1.8">5.建议使用3P的排针代替这个,烧录只需要GND,TX,RX<img src="https://image.lceda.cn/oshwhub/pullImage/8fcef785d1cf4c1fa6ce234385c97824.png"></p> <p style="line-height:1.8">6.注意开关要焊接在板子的背面</p> <p style="line-height:1.8"><img src="https://image.lceda.cn/oshwhub/pullImage/d8815974661b4a008abe4a5dfeb9c93b.png"></p> <h3 style="line-height:1.8">*5、软件部分</h3> <h2>※固件烧录教程:</h2> <p>1.下载附件中的烧录固件sf32lb52-xty-ai-tht.zip,下载之后解压。</p> <p><img src="https://image.lceda.cn/oshwhub/pullImage/f7b61163ef0c47d1883610bbcff7764f.png"></p> <p>2.下载sftool软件+命令.zip,将其解压在第一个文件解压之后的文件中,结构如下图所示。</p> <p><img src="https://image.lceda.cn/oshwhub/pullImage/d979ae2ea842423ca09b7ccfac9c972e.png"></p> <p>3.在地址栏输入cmd,打开命令符窗口。</p> <p><img src="https://image.lceda.cn/oshwhub/pullImage/e46fd1a52e6840998a9a9dfd0a9fdcc4.png"></p> <p>4.使用TTL将板子连接到电脑,注意是三根线:GND(MCU)--GND(CH340)    TX(MCU)--RX(CH340)    RX(MCU)--TX(CH340) </p> <p><img src="https://image.lceda.cn/oshwhub/pullImage/bdfddc7f9cd14b65b826a0a02033cfdc.png" alt="" width="708" height="728"></p> <p>5.在cmd命令窗口粘贴从命令.txt文件中复制的命令。</p> <p><img src="https://image.lceda.cn/oshwhub/pullImage/82d9baf4d52f49619c8c7dd3d9d7a919.png"></p> <p><span style="color:#e03e2d;font-size:36pt">注意:要确保安装好了电池,电池电量充足!!!!!</span></p> <p> </p> <p> </p> <p> </p> <h2><span style="color:#e03e2d">前期准备:</span></h2> <strong>洛雪音乐下载与配置(必须配置,不然mcp无法调用)</strong></div> <div><strong>打开洛雪音乐(软件自行百度下载)</strong></div> <div><span style="color:#e03e2d"><strong>确保开放API已经勾选开启!!!!!</strong></span></div> <div> <p><img src="https://image.lceda.cn/oshwhub/pullImage/034395e66436405a94b8f856aa4b592d.png" width="985" height="635"></p> <hr> <p style="line-height:1.8"><strong><span style="color:#000000">1.下载MCP控制洛雪音乐的源码(见附件)</span></strong></p> <p style="line-height:1.8"> <img src="https://image.lceda.cn/oshwhub/pullImage/0f156e91a36f46f5ac0ebefd6a5611f0.png"></p> <p style="line-height:1.8"><strong><span style="color:#000000">2.进入小智控制台获取智能体的MCP接入点地址。</span></strong></p> <p style="line-height:1.8"><strong><span style="color:#000000"><img src="https://image.lceda.cn/oshwhub/pullImage/0e0f5a85cab24e1983313a05defe62c0.png"></span></strong></p> <p style="line-height:1.8"><strong><span style="color:#000000">3.运行GUI版本的MCP启动器</span></strong></p> <p style="line-height:1.8"><strong><span style="color:#000000">①在项目的文件夹中输入cmd,打开命令提示符窗口。</span></strong><img src="https://image.lceda.cn/oshwhub/pullImage/11e33256cad740b29426252d01110b44.png"></p> <p style="line-height:1.8"><strong><span style="color:#000000">②输入命令:python .\gui_launcher.py 打开软件界面。</span></strong></p> <p style="line-height:1.8"><img src="https://image.lceda.cn/oshwhub/pullImage/1408323553f8460a9adf8468d54c59fa.png"></p> <p style="line-height:1.8">③输入框中粘贴在官网复制的MCP地址,并点击保存按钮。</p> <p style="line-height:1.8"><img src="https://image.lceda.cn/oshwhub/pullImage/ecd9a4c00ea143fb9c132c36abf6726f.png"></p> <p style="line-height:1.8">4.点击“检查/安装依赖”的按钮</p> <p style="line-height:1.8"><img src="https://image.lceda.cn/oshwhub/pullImage/70b42ebe6abf49ec9f47cf3f4fe6ac72.png"></p> <p style="line-height:1.8">5.点击“启动”的按钮,启动mcp服务</p> <p style="line-height:1.8"><img src="https://image.lceda.cn/oshwhub/pullImage/91f1e089e4a24037bed81509f4906da6.png"></p> <p style="line-height:1.8">6.启动之后进入小智官网,查看工具是否在线。</p> <p style="line-height:1.8"><img src="https://image.lceda.cn/oshwhub/pullImage/abce24a96ba14257a09ac1d8e33d9ff4.png"></p> <p style="line-height:1.8">7.使用小智调用mcp命令执行。</p> <ol> <li style="line-height:1.8">播放张杰的《天下》。</li> <li style="line-height:1.8">播放周杰伦的《稻香》</li> <li style="line-height:1.8">暂停播放</li> <li style="line-height:1.8">播放上一首/下一首</li> <li style="line-height:1.8">加入收藏/取消收藏</li> <li style="line-height:1.8">设置播放器音量为20/50/60</li> <li style="line-height:1.8">调整播放进度到1:00</li> <li style="line-height:1.8">不喜欢这首歌</li> </ol> <h3 style="line-height:1.8">*6、BOM清单</h3> <hr> <div> <div> <table> <tr> <th colspan="1" rowspan="1"> <div>序号</div> </th> <th colspan="1" rowspan="1"> <div>器件类型</div> </th> <th colspan="1" rowspan="1"> <div>器件参数</div> </th> <th colspan="1" rowspan="1"> <div>数量</div> </th> <th colspan="1" rowspan="1"> <div>器件编号</div> </th> </tr> <tr> <td colspan="1" rowspan="1"> <div>1</div> </td> <td colspan="1" rowspan="1"> <div>电阻</div> </td> <td colspan="1" rowspan="1"> <div>10kΩ</div> </td> <td colspan="1" rowspan="1"> <div>9</div> </td> <td colspan="1" rowspan="1"> <div>C2903232</div> </td> </tr> <tr> <td colspan="1" rowspan="1"> <div>2</div> </td> <td colspan="1" rowspan="1"> <div>电容</div> </td> <td colspan="1" rowspan="1"> <div>10nF</div> </td> <td colspan="1" rowspan="1"> <div>1</div> </td> <td colspan="1" rowspan="1"> <div>C2832505</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>100nF</div> </td> <td colspan="1" rowspan="1"> <div>2</div> </td> <td colspan="1" rowspan="1"> <div>C254085</div> </td> </tr> <tr> <td colspan="1" rowspan="1"> <div>4</div> </td> <td colspan="1" rowspan="1"> <div>电容</div> </td> <td colspan="1" rowspan="1"> <div>1uF</div> </td> <td colspan="1" rowspan="1"> <div>2</div> </td> <td colspan="1" rowspan="1"> <div>C62934</div> </td> </tr> <tr> <td colspan="1" rowspan="1"> <div>5</div> </td> <td colspan="1" rowspan="1"> <div>电容</div> </td> <td colspan="1" rowspan="1"> <div>22uF</div> </td> <td colspan="1" rowspan="1"> <div>1</div> </td> <td colspan="1" rowspan="1"> <div>C43346</div> </td> </tr> <tr> <td colspan="1" rowspan="1"> <div>6</div> </td> <td colspan="1" rowspan="1"> <div>主控</div> </td> <td colspan="1" rowspan="1"> <div>LC-OPEN-SF32LB52-MOD-N16R8</div> </td> <td colspan="1" rowspan="1"> <div>1</div> </td> <td colspan="1" rowspan="1"> <div>C42924267</div> </td> </tr> <tr> <td colspan="1" rowspan="1"> <div>7</div> </td> <td colspan="1" rowspan="1"> <div>弯插排母</div> </td> <td colspan="1" rowspan="1"> <div>2x5P 2.54mm 排母</div> </td> <td colspan="1" rowspan="1"> <div>1</div> </td> <td colspan="1" rowspan="1"> <div>C2897425</div> </td> </tr> <tr> <td colspan="1" rowspan="1"> <div>8</div> </td> <td colspan="1" rowspan="1"> <div>麦克风</div> </td> <td colspan="1" rowspan="1"> <div>6x5mm-36db MIC麦克风</div> </td> <td colspan="1" rowspan="1"> <div>1</div> </td> <td colspan="1" rowspan="1"> <div>C233939</div> </td> </tr> <tr> <td colspan="1" rowspan="1"> <div>9</div> </td> <td colspan="1" rowspan="1"> <div>喇叭接口</div> </td> <td colspan="1" rowspan="1"> <div>2P 3.81mm</div> </td> <td colspan="1" rowspan="1"> <div>1</div> </td> <td colspan="1" rowspan="1"> <div>C2826458</div> </td> </tr> <tr> <td colspan="1" rowspan="1"> <div>10</div> </td> <td colspan="1" rowspan="1"> <div>滑动开关</div> </td> <td colspan="1" rowspan="1"> <div>SK12D07VG5</div> </td> <td colspan="1" rowspan="1"> <div>1</div> </td> <td colspan="1" rowspan="1"> <div>C431548</div> </td> </tr> <tr> <td colspan="1" rowspan="1"> <div>11</div> </td> <td colspan="1" rowspan="1"> <div>按键</div> </td> <td colspan="1" rowspan="1"> <div>ZX-QC66-8.5CJ</div> </td> <td colspan="1" rowspan="1"> <div>2</div> </td> <td colspan="1" rowspan="1"> <div>C7470133</div> </td> </tr> <tr> <td colspan="1" rowspan="1"> <div>12</div> </td> <td colspan="1" rowspan="1"> <div>LED灯</div> </td> <td colspan="1" rowspan="1"> <div>5mm圆形灯头 绿色</div> </td> <td colspan="1" rowspan="1"> <div>1</div> </td> <td colspan="1" rowspan="1"> <div>C2895548</div> </td> </tr> <tr> <td colspan="1" rowspan="1"> <div>13</div> </td> <td colspan="1" rowspan="1"> <div>音频功放芯片</div> </td> <td colspan="1" rowspan="1"> <div>LM4871N</div> </td> <td colspan="1" rowspan="1"> <div>1</div> </td> <td colspan="1" rowspan="1"> <div>C47089163</div> </td> </tr> <tr> <td colspan="1" rowspan="1"> <div>14</div> </td> <td colspan="1" rowspan="1"> <div>电池盒</div> </td> <td colspan="1" rowspan="1"> <div>BH-123A-A1CJ002</div> </td> <td colspan="1" rowspan="1"> <div>1</div> </td> <td colspan="1" rowspan="1"> <div>C5290177</div> </td> </tr> <tr> <td colspan="1" rowspan="1"> <div>15</div> </td> <td colspan="1" rowspan="1"> <div>1.69寸TFT屏幕</div> </td> <td colspan="1" rowspan="1"> <div>1.69寸300 * 240 TFT LCD</div> </td> <td colspan="1" rowspan="1"> <div>1</div> </td> <td colspan="1" rowspan="1"> <div>使用用户贡献的器件封装,见下方说明</div> </td> </tr> <tr> <td colspan="1" rowspan="1"> <div>16</div> </td> <td colspan="1" rowspan="1"> <div>M3定位孔</div> </td> <td colspan="1" rowspan="1"> <div>M3定位孔</div> </td> <td colspan="1" rowspan="1"> <div>1</div> </td> <td colspan="1" rowspan="1"> <div>常用库中使用M3螺丝,见下方说明</div> </td> </tr> </table> </div> </div> <h3 style="line-height:1.8">*7、大赛LOGO验证</h3> <hr> <p style="line-height:1.8"><img src="https://image.lceda.cn/oshwhub/pullImage/bb6f041f130e443e99ef094aa0dac7e3.jpg"></p> <h3 style="line-height:1.8"><img src="https://image.lceda.cn/oshwhub/pullImage/308e2b13a30b47078263d0d303d33373.jpg"></h3> <h3 style="line-height:1.8">* 8、演示您的项目并录制成视频上传</h3> <hr> <p style="line-height:1.8">音乐播放测试演示视频:  <a title="播放音乐测试" href="https://b23.tv/ZfriwNp" target="_blank"> https://b23.tv/ZfriwNp</a></p> <p style="line-height:1.8">完整功能演示视频链接:<a href="https://b23.tv/Neyy0BY" target="_blank">https://b23.tv/Neyy0BY</a></p> </div>

文档

BOM

暂无

附件

附件名 下载
音乐播放测试.mp4
luoxue-xiaozhi-mcp.zip
sf32lb52-xty-ai-tht.zip
sftool软件+命令.zip

评论(0)

  • 表情
    emoji
    小嘉工作篇
    小嘉日常篇
  • 图片
成功
工程所有者当前已关闭评论
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