描述
<div>
<h3 style="line-height:1.8;">* 1、项目功能介绍</h3>
<hr>
<p style="line-height:1.8;">基于 立创·开源SF32LB52模组,一款蓝牙低功耗芯片制作的简易AI对话机器人,实现AI实时语音对话。它能够听懂你的情绪,解答你的疑惑,也能分享你的快乐。该芯片频率 <strong>240MHz</strong>,集成 8MB PSRAM 和 16MB Flash,支持锂电池直接供电。BLE 连接功耗(1S间隔)仅需 7μA,BT连接功耗(1S间隔)仅需 10μA,BLE + BT 双连接功耗比同行单BT连接功耗还能降低 60%。模组支持 BT PAN 功能可以直接连接手机上网,相比 WIFI 功耗更低,更加适合电池场景,带屏连接功耗仅 <strong>30mA</strong>。</p>
<p style="line-height:1.8;">在小智AI训练营的基础上,将电源部分更改为使用3.7V的聚合物锂电降低DIY的成本,采用TP4056作为聚合物锂电池的充电芯片,TP4056是一款性能优异的单节锂离子电池恒流/恒压线性充电器。TP4056采用ESOP8封装配合较少的外围原件使其非常适用于便携式产品,并且适合给USB电源以及适配器电源供电,同时外围电路简单,成本较低,可谓性价比拉满。</p>
<p style="line-height:1.8;"><img style="margin-left:auto;margin-right:auto;" src="https://image.lceda.cn/oshwhub/pullImage/ed7d973d87ed4879b8b4e11b53c97b45.jpg" alt="" width="650" height="650"></p>
<p style="line-height:1.8;">由于屏幕和按键有部分重叠,需要用钳子将屏幕4角的固定孔位的PCB板修建一部分,不影响屏幕的使用,左下角3个空对应的灯分别是烧录程序前第一次上电核心板是否正常运行的指示灯,中间为锂电池充电指示灯,右边为充电完成指示灯</p>
<h3 style="line-height:1.8;">*2、项目属性</h3>
<hr>
<p style="line-height:1.8;"><span style="color:#95a5a6;font-size:14px;">该项目基于立创开发板-小智AI训练营为基础</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;">关于AI小智的详细硬件设计可以参考立创开发板-小智AI训练营官方链接:https://lceda002.feishu.cn/wiki/B2LLwyC7binHuJkkHGMce03wnWf?fromScene=spaceOverview</span></p>
<p style="line-height:1.8;"><span style="color:#95a5a6;font-size:14px;">下面是关于使用TP4056的电源硬件部分:</span></p>
<p style="line-height:1.8;"><span style="color:#95a5a6;font-size:14px;"><img style="margin-left:auto;margin-right:auto;" src="https://image.lceda.cn/oshwhub/pullImage/9e4d50cf71a64522aae50920ba68c27a.png" width="698" height="310" alt="9e4d50cf71a64522aae50920ba68c27a.png"></span></p>
<p style="line-height:1.8;"><span style="color:#95a5a6;font-size:14px;">这是TP4056参考手册中的典型应用电路,其中,虚线框出R1/R2/NTC电阻部份为电池温度监测,可选。也可TEMP脚直接接地,不监测电池温度。在本项目中将电磁温度监测的部分舍弃。</span></p>
<p style="line-height:1.8;"><span style="color:#95a5a6;font-size:14px;">下面是本项目中的锂电池充电电路:</span></p>
<p style="line-height:1.8;"><span style="color:#95a5a6;font-size:14px;"><img style="margin-left:auto;margin-right:auto;" src="https://image.lceda.cn/oshwhub/pullImage/15828ddd7d1c4845abc3dcde12753095.png" width="674" height="282" alt="15828ddd7d1c4845abc3dcde12753095.png"></span></p>
<p style="line-height:1.8;"><img style="margin-left:auto;margin-right:auto;" src="https://image.lceda.cn/oshwhub/pullImage/58dc126b08b74ebdbac6f02feff6d381.png" alt="58dc126b08b74ebdbac6f02feff6d381.png"></p>
<p style="line-height:1.8;">电池采用了一枚容量为2500mh的聚合锂电池,SW1 是整个项目的电源开关,通过拨动 SW1 开关,进行断电和通电。</p>
<p style="line-height:1.8;"> 主控部分:</p>
<p style="line-height:1.8;"><img style="margin-left:auto;margin-right:auto;" src="https://image.lceda.cn/oshwhub/pullImage/d7c64b15e7574a2a9a57c7c91e19ecdc.png" alt="d7c64b15e7574a2a9a57c7c91e19ecdc.png"></p>
<div>
<div>主控用的是 [立创·开源SF32LB52模组](<u>https://item.szlcsc.com/45024582.html</u>),一款蓝牙低功耗芯片,频率 <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。这里需要注意<span style="color:#d83931;"><code>该模组电压范围要求 3.7V~4.7V</code></span>。3.3V 和 5V 供电都不行。</div>
<div> </div>
<div>模组的 VDD33_VOUT2 是由软件控制输出的,需要芯片正常启动后才有输出3V3。</div>
<div>主控个引脚的功能图:</div>
<div><img style="margin-left:auto;margin-right:auto;" src="https://image.lceda.cn/oshwhub/pullImage/b6e00663ec9d4de6a4211dbab9e226aa.png" alt="b6e00663ec9d4de6a4211dbab9e226aa.png"></div>
</div>
<p style="line-height:1.8;">音频功放电路:</p>
<p style="line-height:1.8;"><img style="margin-left:auto;margin-right:auto;" src="https://image.lceda.cn/oshwhub/pullImage/e936ecf7a2e84484b6eaca0dfc7d395d.png" alt="e936ecf7a2e84484b6eaca0dfc7d395d.png"></p>
<p style="line-height:1.8;">该部分电路通过参考手册中的典型差分电路设计</p>
<p style="line-height:1.8;"><img style="margin-left:auto;margin-right:auto;" src="https://image.lceda.cn/oshwhub/pullImage/fdd69dd6a89941619c583c5e28a7f4a9.png" alt="fdd69dd6a89941619c583c5e28a7f4a9.png"></p>
<p style="line-height:1.8;">麦克风部分电路:</p>
<p style="line-height:1.8;"><img style="margin-left:auto;margin-right:auto;" src="https://image.lceda.cn/oshwhub/pullImage/8056dc9d2d9d4e2a9e70a2f473dee4a2.png" alt="8056dc9d2d9d4e2a9e70a2f473dee4a2.png"></p>
<div>
<div>在原理图中,R1 电阻的作用就是给麦克风的正极输入一个基准电压MIC_BIAS,这个电压是由模组控制输出的,由模组控制则可以在要用时才输出,不用时关闭,实现低功耗。</div>
<div> </div>
<div>程序下载部分:</div>
<div><img style="margin-left:auto;margin-right:auto;" src="https://image.lceda.cn/oshwhub/pullImage/cfd729473eca478f86ccfc8bb34a1bce.png" alt="cfd729473eca478f86ccfc8bb34a1bce.png"></div>
<div>采用CH340烧录,只要是C还40都能使用</div>
</div>
<p style="line-height:1.8;"> </p>
</div>
评论(1)