标准版
#第六届立创电赛#智能鱼缸管理器

创建时间:3年前

4143 7

视频

  • WeChat_20210920232742.mp4

  • WeChat_20210920234123.mp4

  • WeChat_20210920234304.mp4

描述

<div class="document"> <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;"><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;">* 1、项目功能介绍</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;">我好喜欢的一个缸,B站 up主的。不是我的。</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 style="display: block; margin-left: auto; margin-right: auto;" src="//image.lceda.cn/pullimage/3SkUVZVySHm7IAehasaEgXPzfydPInoFA26mBk7M.png" alt="" width="499" height="447"></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>•    <span style="font-size: 18px;">  <strong>当今打工人的生活节奏快,压力大,相比需要花费更多精力照顾的猫狗等伴侣动物,不少人会选择饲养鱼儿作为一种消遣活动。虽然鱼儿的互动性没有猫狗这么好,但是下班后对着属于自己的鱼缸发呆观察,却另有一番圈养了一整个小世界的成就感。然而,这个美丽的小世界也是脆弱的,它需要外界的能量输入,一个健康的鱼缸系统离不开日常的维护管理,一旦</strong><strong>疏于管理,比如放假离校,或者出差(甚至是被送去隔离.......手动狗头),这个小世界便会遭受灭顶之灾。为此,我们想到了制作一个简单低成本的维护系统,可以远程对鱼缸的水质温度进行反馈,远程换水喂食,即便在平时也可以作为一种精细化管理的补充。同时,我们希望这个系统具备较小的体积,较高的集成度,能适用于大多数体积的鱼缸。</strong></span></div> <div> </div> <div> </div> <div><span style="color: #e03e2d; font-size: 24px;"><strong>功能介绍</strong></span></div> <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: 18px;">    主要的功能包含 水温测量,TDS(电导率)测量,空气温度,湿度测量,</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: 18px;">鱼缸水位测量,光照强度测量,水位调零校正,温度报警阈值设置,自动配网,两路USB电源控制,远程换水,远程喂食,板载RGB灯控制,代码自动烧录电路,云端自动定时等。这些数据都通过wifi上传至云端,可以远程查看,同时作品设置了图形菜单,也可以在硬件的屏幕上查看相关数据。</span></strong><span style="font-size: 18px;"><strong>示意框图如下。</strong></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;"><span style="color: #e03e2d;"><strong>远程APP界面(基于Blinker)</strong></span></p> <p> </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: #e03e2d;"><strong><img style="display: block; margin-left: auto; margin-right: auto;" src="//image.lceda.cn/pullimage/JOnCugARYZijmjqDRfDMyeodFONlK90YFf35u88L.png" alt="" width="975" height="646">整体组装示意图     <span style="color: #000000;">壳子是亚克力自己割的</span></strong></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;"><strong><img style="display: block; margin-left: auto; margin-right: auto;" src="//image.lceda.cn/pullimage/lOYln1oHHhXoPvCeZy5UW12MpKXg5W7A1UYVG34q.jpeg" alt="" width="741" height="1011"></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> </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;"><span style="color: #e03e2d;"><strong>硬件特写</strong></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;"><span style="color: #000000;"><strong>分为功率板和控制板,通过长排针结合在一起,控制板搭载了主控以及各种传感器和屏幕按钮等外设,功率板负责响应各种事件。</strong></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;"><span style="color: #000000;"><strong>两块板子的体积都很小,外形轮廓参考了著名的arduino板,面积为68mmX58mm</strong></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;"><strong><img style="display: block; margin-left: auto; margin-right: auto;" src="//image.lceda.cn/pullimage/zBIPD0mzU9mkaDjq3gPjycoPDpxeLwz4jjBoM0zi.jpeg" alt="" width="728" height="569"></strong><img style="display: block; margin-left: auto; margin-right: auto;" src="//image.lceda.cn/pullimage/whoGbQMjkoeAeHYfZyOy1JPiKDVSzIBsbRw0pxbC.png" alt="" width="727" height="545"></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><img style="display: block; margin-left: auto; margin-right: auto;" src="//image.lceda.cn/pullimage/dzdVLHXxX1FzPeEGgTVqYUMQ09fCuGA75zKewFSP.png" alt="" width="1033" height="561"><br></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;"> </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: #e03e2d; font-size: 24px;">方案介绍</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;"><span style="color: #3598db;">硬件 :wifi MCU +传感器     主控芯片: ESP32 WROOM _32D 模块</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;"><span style="color: #3598db;">软件开发环境:arduino IDE.</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;">采用WIFI MCU 的原因,就是ESP32很香,大家都知道。15元左右的价格,双核性能如此强大,还带4MB的FLASH,还要啥自行车。</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;">(STM32太贵了用不起,哭唧唧,还要搭上一个wifi模组)</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: #e03e2d;">硬件方案的优点在于,成本低,集成度高,国产芯片不用担心货源。</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;">软件用的是arduino,主要因为配置环境简单,上手快,有很多前人造好的轮子(很多好用的库)</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;">APP采用了国产开源的Blinker.</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: #e03e2d;">软件方案的优点在于开发简单快速,复现性强。</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;"><span style="color: #000000;"><span style="color: #e03e2d;"><span style="color: #000000;">电路板实现采样了控制板+功率板策略。</span></span></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;"><span style="color: #000000;"><span style="color: #e03e2d;"><span style="color: #000000;">控制板GPIO全部引出,本身相当于一个开发板,功率板根据任务可以灵活配置。</span></span></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;"><span style="color: #e03e2d;"><span style="color: #e03e2d;">电路实现方案优点:使用灵活,多用途。</span></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> <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;">*2、项目属性</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;">原创</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;">请输入内容…</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;"><span style="color: #95a5a6; font-size: 14px;">注:利他即利己,请认真阅读下述内容。</span></p> <ol style="line-height: 1.8;"> <li class="paragraph text-align-type-left pap-line-1.3 pap-line-rule-auto pap-spacing-before-3pt pap-spacing-after-3pt pap-hanging-indent-1.6em" style="line-height: 1.8;"><span style="color: #95a5a6; font-size: 14px;">拥抱开源,赋予项目无限价值。建议项目核心功能开源80%以上;</span></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-hanging-indent-1.6em" style="line-height: 1.8;"><span style="color: #95a5a6; font-size: 14px;">若某一部分功能不可替代且删掉之后项目无法解决对应的问题,则这一部分实现的功能就是项目的核心功能;比如设计了一台电子负载且设计了一款上位机软件监控功率变化,则电子负载为核心功能,上位机软件为辅助功能;比如电子负载中使用了一款隔离485模块与上位机通信,则此485模块实现的通讯功能为辅助功能;</span></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-hanging-indent-1.6em" style="line-height: 1.8;"><span style="color: #95a5a6; font-size: 14px;">项目应选择适合自己的<span style="text-decoration: underline;"><a href="/posts/98fdb2accd754af7b51990790db3b47a" target="_blank">开源协议</a></span>,若项目引用其他开源项目,应注明来源并遵循原作者的开源协议规定;原创项目推荐使用GPL3.0开源协议;</span></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-hanging-indent-1.6em" style="line-height: 1.8;"><span style="color: #95a5a6; font-size: 14px;">直接引用开源项目的原电路或原代码实现的功能不可作为自己项目的核心功能、使用市场上通用模块直接实现的功能不可作为自己项目的核心功能。</span></li> </ol> <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"> <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;"><span style="font-size: 18px;">控制板上包含了主控芯片ESP32模组,DHT11传感器,BA01水质芯片,自动下载电路,四路按键,光敏电阻,OLED屏幕等。</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;"><span style="font-size: 18px;">GPIO口全部引出,控制板还有自动下载电路可以单独作为一个有屏幕的开发板使用。同时若后期追加别的功能,可以只改功率板。</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;"><span style="font-size: 18px;">按键通过中断检测进行消抖,详见代码。</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;"><span style="font-size: 18px;">水位测量依靠超声波探头SR04,需要事先校准,测得鱼缸的高度,保存在FLASH中,再以高度减去水面至超声波探头的距离,可以得到水位高度。</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;"><span style="font-size: 18px;">TDS采用专用芯片BA01配合探头测得。与买来的TDS笔相差不大。</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;"><span style="font-size: 18px;">电机采用L9110芯片驱动,继电器也是。</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;"><span style="font-size: 18px;">自动换水需要配合测距,一个水泵排水,可以在APP端指定换到多高为止。然后另一个水泵进水。</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> <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> <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;">调试中遇到的困难主要是,ESP32模组焊接比较麻烦,第一次用吹风机吹吹坏了一块。</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;">根据实验,复位电路里的电容C8需要取大点,10u左右才能自动下载。</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: #e03e2d;">按键上连接的消抖电容C4-C7无需焊接,(尤其是C7不要焊!!!,会导致下载不了程序)。</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;">水质检测芯片用的是BA01(淘宝比特原子旗舰店,单通道款,4.6元一片,探头想省钱可以不在他家买,用一个普通的TDS探头加NTC探头代替可以省15元。至于买现成的传感器体积大,而且要40块钱),最近客服说单通道的没货了,可以在功率板上加上双通道的电路,或者舍弃检测TDS功能,在NTC端口接热敏电阻探头(10K,B值3950),并引线至GPIO39。</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> <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;">根据硬件设计指南,ESP32天线下面要净空。注意别放金属物体在附近。</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: #e03e2d;">供电问题:功率板和控制板上分别有一个MICROUSB口,可以接入5V电源,带功率器件(舵机,马达)时,应用功率板上的电源口供电,否则控制板可能会欠压复位。</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;"><span style="color: #e03e2d;">功率板上面的USB口,可以接5V供电的电器,比如氧泵或者补光灯。</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> <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 style="display: block; margin-left: auto; margin-right: auto;" src="//image.lceda.cn/pullimage/nEJlyuIHWS3nxwsIwuu5hM09GMN8fFtuTNf5lA0g.png" alt=""></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> <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 style="display: block; margin-left: auto; margin-right: auto;" src="//image.lceda.cn/pullimage/mPRH7wYyMNR5YUX3iUST0rZ3NrnSEG5QhL1zHggu.png" alt="" width="740" height="562"></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;">*5、软件部分</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="font-size: 24px; color: #e03e2d;">Arduino</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;">1.开发环境是Arduino。环境安装教程如下,可以直接下载。</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.arduino.cn/thread-5838-1-1.html" target="_blank">https://www.arduino.cn/thread-5838-1-1.html</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;">2.安装好之后,打开软件,点击,文件--首选项,输入https://dl.espressif.com/dl/package_esp32_index.json</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 style="display: block; margin-left: auto; margin-right: auto;" src="//image.lceda.cn/pullimage/5VBq3WQZZtXfPUbYlCEB8Lr11riZ97yxYqm9QTUp.png" alt="" width="485" height="353">3.工具--管理库--搜索ESP32---安装最新的支持库。</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;">4.继续安装 最新Blinker库,ESP32Servo库,Freenove_WS2812_Lib_for_ESP32库,DHT库,U8g2lib库。</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;">其中ESP32Servo装好后缺少头文件,补回去就可以用,网上可以找到。</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;"><span style="font-size: 24px; color: #e03e2d;">Blinker APP</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;"><span style="font-size: 16px; color: #000000;">点灯科技网站</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;"><span style="font-size: 24px; color: #e03e2d;"><a href="https://diandeng.tech/home" target="_blank">   https://diandeng.tech/home</a></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;"><span style="font-size: 24px; color: #e03e2d;">装好APP之后,点右上角“+”添加设备</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;"><span style="font-size: 24px; color: #e03e2d;"><img style="display: block; margin-left: auto; margin-right: auto;" src="//image.lceda.cn/pullimage/K8PthZHSPXnEYQP5zRci3AMemVGdVJT7JqRJl5YG.jpeg" alt="" width="250" height="556"></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;"><span style="font-size: 24px; color: #e03e2d;">选择独立设备</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;"><span style="font-size: 24px; color: #e03e2d;"><img style="display: block; margin-left: auto; margin-right: auto;" src="//image.lceda.cn/pullimage/UBZraV9q31KMr6WYzuOAGBXwzpqyDfojdg7UPy06.jpeg" alt="" width="252" height="560">选择网络接入</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;"><span style="font-size: 24px; color: #e03e2d;"><img style="display: block; margin-left: auto; margin-right: auto;" src="//image.lceda.cn/pullimage/isbMcQBmmEefNxhHcReki4Fk09phxjEC3X0DaLch.jpeg" alt="" width="258" height="573">选择阿里云,一定要记下这个设备码!<img style="display: block; margin-left: auto; margin-right: auto;" src="//image.lceda.cn/pullimage/2pwlW8LfwUOh4gBwNHVmG04xdTJgeUb8mY5CWnjy.jpeg" alt="" width="229" height="509"></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;"><span style="font-size: 24px; color: #e03e2d;">自动配网    开发者--ESPTOUNCH---输入wifi密码----搜索设备等待连接</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;"><span style="font-size: 24px; color: #e03e2d;"><img style="display: block; margin-left: auto; margin-right: auto;" src="//image.lceda.cn/pullimage/guLACIlSAkL7jHLO8sA0ZHYgV9qAqyDtUVctolZY.jpeg" alt="" width="247" height="549"></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;"><span style="font-size: 24px; color: #e03e2d;"><img style="display: block; margin-left: auto; margin-right: auto;" src="//image.lceda.cn/pullimage/qGyk24Z0pYROGp6ESe2PDLw7yZhZNpHSBERPsdGG.jpeg" alt="" width="256" height="569">界面配置</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;"><span style="font-size: 24px; color: #e03e2d;">点进去右上角三个点  。。。</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;"><span style="font-size: 24px; color: #e03e2d;"><img style="display: block; margin-left: auto; margin-right: auto;" src="//image.lceda.cn/pullimage/B6Y1PCSAzJR35yb9pCtwNYvRx9I6dCyVgr2o3rb1.jpeg" alt="" width="257" height="571">界面配置</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;"><span style="font-size: 24px; color: #e03e2d;"><img style="display: block; margin-left: auto; margin-right: auto;" src="//image.lceda.cn/pullimage/PrOap6dAQaU1Ppv0rVG4HP75vdsirUwxFGGFGvOd.jpeg" alt="" width="271" height="600">复制附件里的配置文件进去</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;"><span style="font-size: 24px; color: #e03e2d;"><img style="display: block; margin-left: auto; margin-right: auto;" src="//image.lceda.cn/pullimage/oXgkFUP9OX5YajNEPDQdc6sPvNjze4hUnPuc0Lyn.jpeg" alt="" width="336" height="747"></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> <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 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;"><span style="color: #95a5a6; font-size: 14px;"><span style="color: #e03e2d; font-size: 24px;">控制板</span><br><img style="display: block; margin-left: auto; margin-right: auto;" src="//image.lceda.cn/pullimage/nt6Ramuvavo0Jr4L1R1vvNvN7PToads2xEt0r3Us.png" alt="" width="913" height="475"><br><img style="display: block; margin-left: auto; margin-right: auto;" src="//image.lceda.cn/pullimage/akTltfJrdvHEOBozDe0emawsDYYj1z8CpUr6vdTY.png" alt="" width="933" height="473"><img style="display: block; margin-left: auto; margin-right: auto;" src="//image.lceda.cn/pullimage/3Nct8AEsSGYW6mzSfcfcOKhZHU7IFyTbOKt1CkWp.png" alt="" width="936" height="196">  </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;"><span style="color: #e03e2d; font-size: 24px;">功率板</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 style="display: block; margin-left: auto; margin-right: auto;" src="//image.lceda.cn/pullimage/znv20QFUQiGzAsfErQP8DoaLk7MXtFdCTwIpZqDf.png" alt="" width="925" height="463"></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;">注:项目涉及的BOM清单。这个位置请上传BOM的截图。清单详情请以PDF的格式上传到附件中。建议包括型号、品牌、名称、封装、采购渠道、用途等内容。具体内容和形式应以表达清楚项目构成为准。</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;">其中有一些器件立创上没有,是在淘宝买的,BOM表就没列。</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;">超声波传感器 SR-04</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;">舵机SG90</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;">TDS芯片:BA01(比特原子)</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;">淘宝+立创+打板,总成本=屏幕<span style="color: #e03e2d;">12元</span>+ESP32 <span style="color: #e03e2d;">15元</span>+CP2102  <span style="color: #e03e2d;">8元</span> +舵机超声波 <span style="color: #e03e2d;">5元</span>+电阻电容连接件继电器驱动芯片等<span style="color: #e03e2d;"> 30元  <span style="color: #000000;">+打板</span> 0元+<span style="color: #000000;">TDS芯片探头 </span>30元 <span style="color: #000000;"> </span></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> <hr class="horizontal-splitline normal-bold-2"> <p style="line-height: 1.8;"><img style="display: block; margin-left: auto; margin-right: auto;" src="//image.lceda.cn/pullimage/CiXp4nDj6uGMjR6rO9r599MgQjWMdJ8iobLjJX7T.jpeg" alt="" width="810" height="1080"></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;">请上传包含大赛logo的项目图片,logo以丝印形式印刷在PCB上面。</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;"><span style="color: #95a5a6; font-size: 14px;">点击zip下载大赛logo标识! <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></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;">* 8、演示您的项目并录制成视频上传</h3> <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;">视频要求:请横屏拍摄,分辨率不低于1280×720,格式Mp4/Mov,单个视频大小限100M内;</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;"><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;"><span style="font-size: 14px;">更多详情:<a href="/posts/06c94d90c2c447dfbd9ed7339ff4a5b1" target="_blank">https://diy.szlcsc.com/posts/06c94d90c2c447dfbd9ed7339ff4a5b1</a></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> </div>

文档

PCB_New Project 功率部分

PCB_New Project 12

Sheet_2

Sheet_22

BOM

ID Name Designator Footprint Quantity Manufacturer Part Manufacturer Supplier Supplier Part
1 0.1u C1,C3,C4,C5,C6,C7,C9 C0805 7
2 10u C2,C12 C0805 2
3 1u C8 C0805 1
4 47uF C10,C11 CAP-SMD_BD6.3-L6.6-W6.6-FD 2
5 TDS CN1 CONN-TH_2P-P2.50_XH-2AW 1
6 NTC CN2 CONN-TH_2P-P2.50_XH-2AW 1
7 BAT760-7 D1 SOD-323_L1.8-W1.3-LS2.5-RD 1
8 ESD D2,D3,D4 SOD-523_L1.2-W0.8-LS1.6-BI 3
9 Header-Female-2.54_1x9 H1,H2 HDR-TH_9P-P2.54-V-F-1 2
10 Header-Female-2.54_1x15 H3 HDR-TH_15P-P2.54-V-F 1
11 0603 LED1 LED0603-R-RD 1
12 0.96OLED_4P OLED1 0.96OLED_4P 1
13 S8050_C908252 Q1,Q2 SOT-23-3_L2.9-W1.3-P1.90-LS2.4-BR 2
14 10k R1,R2,R3,R6,R9,R13,R14 R0805 7
15 20R R4,R5 R0805 2
16 1k R7 R0805 1
17 499R R8 R0805 1
18 5k R10,R11 R0805 2
19 GL7549 R12 RES-TH_L7.0-W5.9-P5.00-D0.5 1
20 TS-1101-C-W RESET SW-SMD_L6.0-W3.3-LS8.0 1
21 C13828 SW1,SW2,SW3,SW4 SW-TH_4P-L6.0-W6.0-P4.50-LS6.5 4
22 ESP32-WROOM-32D U1 WIFIM-SMD_39P-L25.5-W18.0-P1.27-BL 1
23 CP2102N-A02-GQFN28 U2 QFN-28_L5.0-W5.0-P0.50-TL-EP3.3 1
24 DHT11 U3 SENSOR-TH_DHT11 1
25 AMS1117-3.3 U4 SOT-223-3_L6.5-W3.4-P2.30-LS7.0-BR 1
26 BA01 U5 SOP8 1
27 MICROXNJ USB1 MICRO-USB-SMD_MICROXNJ 1
28 0.1u C1,C2,C6,C7,C8 C0805 5
29 47uF C3,C4,C5,C9 CAP-SMD_BD6.3-L6.6-W6.6-FD 4
30 water pump1 CN1 CONN-TH_2P-P2.50_XH-2AW 1
31 water pump2 CN2 CONN-TH_2P-P2.50_XH-2AW 1
32 Header-Female-2.54_1x9 H1,H2 HDR-TH_9P-P2.54-V-F-1 2
33 A2541HWR-4P H3 HDR-TH_4P-P2.54-H-W8.6_A2541HWR-4P 1
34 A2541HWR-3P H4 HDR-TH_3P-P2.54-H-F-W8.6 1
35 WS2812E LED1,LED2 LED-SMD_4P-L5.0-W5.0-BR 2
36 JZC-32F/005-HS3(555) RLY1,RLY2 RELAY-TH_JZC-32F-XXXHXX 2
37 L9110S_C725793 U1,U3 SOP-8_L6.1-W3.9-P1.27-LS6.0-BL-1 2
38 MICROXNJ USB1 MICRO-USB-SMD_MICROXNJ 1
39 USB-DIP-04F-S1-B1-Y2 USB2,USB3 USB-A-TH_USB-DIP-04F-S1-B1-Y2 2

附件

附件名 下载
CP210x_Win10_Driver.zip
TDS检测专用芯片BAT1U-V1.0.pdf
esp32_hardware_design_guidelines_cn.pdf
sketch_sep12a_test.zip
界面配置.txt

评论(7)

  • 表情
    emoji
    小嘉工作篇
    小嘉日常篇
  • 图片
成功
工程所有者当前已关闭评论
立创电赛 回复
<p> logo验证请上传实物图哟~</p>
Flflflflflflfl 回复
<p>已经组装好了不好拆,放没焊的板子的logo可以么</p>
Flflflflflflfl 回复
<p>@LCDS @LCDS <span class="colour" style="color: rgb(85, 85, 85);">已经组装好了不好拆,放没焊的板子的logo可以么</span></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>
teslatony 回复
<p>你好 开发者,界面配置是不是没有复制全啊,导进去界面是空白的。</p>
wangzhenbo 回复
<p>@teslatony 你最后怎么搞得</p>
teslatony 回复
<p>@wangzhenbo 没办法 只能请求作者发个完整的</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