描述
<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;"><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> 当仰望摩天轮的时候,就是在仰望幸福,幸福有多高,摩天轮就有多高。当渴望得到幸福但幸福又迟迟没有到来的时候,试着坐上摩天轮等待它慢慢升高,直到最顶端,俯视所看到的一切,其实所要的幸福很简单。</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>2022</span>年<span>5</span>月<span>3</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; text-align: center;"><img style="display: block; margin-left: auto; margin-right: auto;" src="//image.lceda.cn/pullimage/9IidZd7IYdMDgcfq7GKwBomnQGNZUSScZO48dkiK.png" alt="" width="360" height="352">图 <span>1</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; text-align: center;"><img style="display: block; margin-left: auto; margin-right: auto;" src="//image.lceda.cn/pullimage/J8KRxplVGLws9wnUxM5aRrvBr57uOWK7bO5XaFrD.png" alt="" width="367" height="454">图 <span>2</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; text-align: left;"> 接下来就是我自己设计的山顶之光摩天轮,通过<span>SolidWorks</span>画图,机械设计,然后三维猴<span>3D</span>打印,再到电路图画图,<span>pcb</span>打板,硬件电路焊接,<span>stm32</span>底层开发,<span>Android</span>程序开发,耗费<span>3</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; text-align: left;"> </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; text-align: center;"><img src="//image.lceda.cn/pullimage/VyQvZZGXWcayLPyjItbNmWTjAWKIfsIgQc2wasAg.jpeg" alt="1.时间显示(白天)" width="2736" height="3648">时间显示(白天)</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; text-align: left;"> </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; text-align: center;"><img src="//image.lceda.cn/pullimage/3rkxqb5dPQtQwn36krPYtpYM9eUoohZTgEqfqoJG.jpeg" 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; text-align: left;"> </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; text-align: center;"><img src="//image.lceda.cn/pullimage/v45YrXTc256OkaA4DUyI5juQv8ouXh3rfu7onaPm.jpeg" alt="" width="2736" height="3648">表白模式(白天)</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; text-align: center;"> </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; text-align: center;"><img src="//image.lceda.cn/pullimage/dPneKAeWx54xCno4sOHOvKWoo15kGoiLxWYu4OtJ.jpeg" alt="" width="2736" height="3648">表白模式(夜晚)</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; text-align: center;"> </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; text-align: center;"><img src="//image.lceda.cn/pullimage/DQzAqno1nOgv5rnEVJzPmGlGt4LaEeJ00dJAUzFU.jpeg" alt="" width="2736" height="3648">音乐律动模式</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; text-align: left;"> </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; text-align: center;"><img src="//image.lceda.cn/pullimage/Y5FQlcHRo1fMdEjhVL1SqmrZUbGbs9Dcd166OE96.jpeg" alt="" width="2736" height="3648">彩虹灯</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; text-align: left;"> </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; text-align: left;"> 山顶之光摩天轮功能,通过单片机、<span>3D</span>打印和手机移动端控制,实现摩天轮的动力控制系统,灯光控制系统,包括但不限于文字、动画、图片和实时时间等显示。</p>
<p> 可以用于室内、夜晚的户外以及商场,增加家庭和生活中的幸福感,可以用于恋人之间爱情的表达和传送。同时该项目采用模块化设计,小学生也可以进行轻松组装,配合移动端软件一起来实现魔幻又吸引人的摩天轮功能,所以也适合用于现在小学生的科创课内容,也可以作为大学生实训套件<span>,</span>比如单片机实训课,用于现代化教学。全部功能见思维导图,如下图所示。</p>
<p><img src="//image.lceda.cn/pullimage/p0rrkC9UDfqIWLow9RtREkVKG2e3lwurZamqvCfW.png" alt="" width="1041" height="1057"></p>
<p align="center">图 <span>5</span> 山顶之光摩天轮功能思维导图</p>
<p style="text-align: left;" align="center"> </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;">注:主题不限,可以是解决生活/工作中的某个问题、为某个人群/场景设计的方案、毕业设计/课程设计/DIY项目/纯属炫酷项目等。主要讲一下自己通过什么手段解决了什么问题。</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;">*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;"><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>
<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;"><span style="color: #95a5a6; font-size: 14px;">请输入内容…</span></p>
<h4 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.1摩天轮核心板</h4>
<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/2oxfrywCqp1C5Ub1egMWFszvgU0GGaS20pJ7SKEL.png" alt="摩天轮核心板" width="1168" height="791"></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; text-align: center;">图 <span>6 </span>摩天轮核心板电路图</p>
<p><span>1.stm32f103c8t6</span></p>
<p> 整个摩天轮的核心控制板,包括电机驱动,<span>ws2812b</span>彩色灯驱动,数据通信等功能。</p>
<p><span>2.DRV8833PWPR</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> </span>驱动<span>5V</span>电机,支持<span>PWM</span>调速,电机正反转。摩天轮动力驱动使用的电机是<span>N20</span>减速电机,<span>6V10</span>转,<span>1</span>:<span>:1000</span>,扭矩<span>2.2kg</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/n7akizHboA1iQYq7YG2YwmUr477Xmxd5wHb4utZv.png"></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; text-align: center;">图 <span>7</span><span> N20</span>减速电机</p>
<p><span>3.ds3231</span>高精度时钟芯片</p>
<p> 用于实现该硬件设备获取当前实时时间的功能。该模块器件包含电池输入端,断开主电源时仍可保持精确计时。集成微机电系统<span>(MEMS)</span>提高了器件的长期精确度,并减少了生产线的元件数量。</p>
<p><span>4.</span>有人科技<span>USR-C216 WiFi</span>模块</p>
<p align="center"><img src="//image.lceda.cn/pullimage/VjqMoATG7Vr5DiY1TJKJmvey4pp3HRtYiER7BIje.png"></p>
<p align="center">图 <span>8</span> 有人<span>USR-C216WiFi</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; text-align: left;"><span> </span>用于移动端<span>APP</span>和底层硬件板子之间的数据通信功能,同时支持<span>NTP</span>时间功能,联网后可以自动获取网络时间。</p>
<p><span>5.</span>支持四路<span>ws2812b</span>彩色灯控制接口</p>
<p> 摩天轮<span>PCB</span>核心板电路图和<span>3d</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; text-align: left;"><img style="display: block; margin-left: auto; margin-right: auto;" src="//image.lceda.cn/pullimage/FhCnrMiEmC97Q5vyBzgqWvHgILy8mrI3CNeVDcU3.png"></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; text-align: center;">图 <span>9</span> 摩天轮核心板<span>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; text-align: left;"><img style="display: block; margin-left: auto; margin-right: auto;" src="//image.lceda.cn/pullimage/xD8aCtfh6epicdozZeVTYBov1TzFLzr4G4Lxa8M6.png"></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; text-align: center;">图 <span>10</span> 摩天轮核心板<span>3D</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; text-align: left;"> 摩天轮<span>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; text-align: left;"><img src="//image.lceda.cn/pullimage/tftoqZQwIcWTE1EuFMIizFKr9uJ03cOJC1WQK6f1.jpeg" alt="" width="3648" height="2736"></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; text-align: left;"> </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; text-align: left;"><img src="//image.lceda.cn/pullimage/Sq79MxS9wVE3W7Gj3rvWlAHh3SVeGkUZ5rIqwfwX.jpeg" alt="" width="3648" height="2736"></p>
<h4><span>4.2</span>摩天轮<span>RGB</span>四分之一图案圆盘</h4>
<p> 为什么要把<span>360</span>度的图案圆盘拆分成四分之一的小圆弧来做,这里是本项目设计的一个小技巧。<span style="color: #e03e2d;">这样去设计可以很好的节约成本,做成整体的话,会偏贵,采用拼凑的方式,<span>4</span>块同样的<span>PCB</span>就可以组成一个大圆环,既节约了成本,又能达到每个灯珠的控制功能,所有这是该项目<span>pcb</span>的设计特色,供其他设计者们参考。</span></p>
<p><span style="color: #000000;"><br><img style="display: block; margin-left: auto; margin-right: auto;" src="//image.lceda.cn/pullimage/vNdoirZSHX1M3aucXTsRETrDrbaXXUY5dStinvu8.png"></span></p>
<p style="text-align: center;"><span style="color: #000000;">图 <span>11</span><span> RGB</span>圆盘<span>8x8</span>灯珠连线</span></p>
<p> 一个<span>RGB</span>四分之一的圆盘,使用<span>8*8=64</span>颗<span>ws2812b</span>灯珠,把<span>360</span>度的圆盘,平均拆分为了<span>4</span>份,所以整个矩阵圆盘会用到<span>8*8*4=256</span>颗灯珠。</p>
<p><img style="display: block; margin-left: auto; margin-right: auto;" src="//image.lceda.cn/pullimage/gmyWuiGXfCL3mrngtsT8zRJRtNdIf8psD8OUi4sK.png"></p>
<p style="text-align: center;">图 <span>12</span><span> RGB</span>圆盘圆弧灯珠连线</p>
<p> 从图 <span>12</span>可以看出,这里的圆弧灯的控制信号线,和<span>8*8</span>的矩阵控制信号线是分开控制的,方便后续显示各种动画的使用。有<span>10</span>个<span>ws2812b</span>灯珠,总共会用<span>4*10=40</span>颗灯珠。</p>
<p><span> </span>所以整个上顶之光摩天轮的会用到<span>8*8*4+4*10=296</span>颗灯珠,并且都能够独立控制。</p>
<p style="text-align: left;"> 摩天轮圆盘<span>pcb</span>电路图和<span>3d</span>视图,如下图所示。</p>
<p style="text-align: left;"><img style="display: block; margin-left: auto; margin-right: auto;" src="//image.lceda.cn/pullimage/kbI844P32TyXvPCStzewz15YGHqlpbV4hJZXBIMf.png"></p>
<p style="text-align: center;">图 <span>13</span> 圆盘<span>pcb</span>电路图</p>
<p style="text-align: left;"><img style="display: block; margin-left: auto; margin-right: auto;" src="//image.lceda.cn/pullimage/ReRiLdnxKdSaVeOuOaq6vwZN2mdp3PLRPtz99h0D.png"></p>
<p style="text-align: center;">图 <span>14</span> 圆盘<span>pcb 3d</span>视图</p>
<h4 style="text-align: left;"><span>4.3</span>摩天轮<span>SolidWorks</span>机械设计</h4>
<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;"><img style="display: block; margin-left: auto; margin-right: auto;" src="//image.lceda.cn/pullimage/ofOY1nFFu9XrngJQzyXXtCH93uMPCVDF2YdIDjo8.png"></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; text-align: center;">图 <span>15</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; text-align: left;"><img style="display: block; margin-left: auto; margin-right: auto;" src="//image.lceda.cn/pullimage/XWYnw0SyHsvDmcOHh7VgnNIm4N427x9TKZYEfJmZ.png"></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; text-align: center;">图 <span>16</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; text-align: left;"><img style="display: block; margin-left: auto; margin-right: auto;" src="//image.lceda.cn/pullimage/6BqMPv2AUiRyu3lSPx4L1LNwAt8ynODdkeTQ3KaQ.png"></p>
<p style="text-align: center;" align="center">图 <span>17</span> 山顶之光正视图</p>
<p style="text-align: left;" align="center"><img style="display: block; margin-left: auto; margin-right: auto;" src="//image.lceda.cn/pullimage/5pNltQ3mfsuc7BLQKYdeG8DNHwKe67vpCMYy2bvD.png"></p>
<p style="text-align: center;" align="center">图 <span>18</span> 山顶之光左视图</p>
<p> <span style="color: #e03e2d;">机械设计结构也是该项目的难点之一,因为会涉及到绞线的问题,要解决绞线,需要很详细的去分析摩天轮的传动结构。</span>摩天轮圆盘灯珠和摩天轮座舱灯珠的电源线、以及控制信号线都需要接入到<span>stm32</span>核心控制板里面,但摩天轮圆盘又是时刻在转动的,如果没有处理好这个问题,摩天轮的图案显示以及灯光控制将不能实现。</p>
<p style="text-align: left;" align="center"><span> </span>简单的说就是在转轴上面增加导电环,深沟球轴承,以及导电环固定盖,三者配合起来才能不绞线。具体结构参考后面的视频演示。</p>
<p style="text-align: left;" align="center"><img style="display: block; margin-left: auto; margin-right: auto;" src="//image.lceda.cn/pullimage/QAYn2jZWv32uUsTUt62CYYbu1m2ZiKumIK2uUhrF.png"></p>
<p style="text-align: center;" align="center">图 <span>19</span> 转轴<span>+</span>深沟球轴承<span>+</span>导电环固定盖结构</p>
<p style="text-align: left;" align="center"> </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/mPjtUcZ9qdfBjO2m1kYgZnsMQFkCeSpmupDVGixr.png"></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; text-align: center;">图 <span>20</span> 导电环与深沟球轴承连接结构</p>
<h4><span>4.4</span>摩天轮<span>3D</span>打印文件图纸</h4>
<p><img style="display: block; margin-left: auto; margin-right: auto;" src="//image.lceda.cn/pullimage/dapmLU3B9kc14Nw719HhpbzYo9VtotcDNImAqNPL.png"></p>
<p style="text-align: center;">图 <span>21</span> 底座<span>1</span></p>
<p style="text-align: left;"><span><img style="display: block; margin-left: auto; margin-right: auto;" src="//image.lceda.cn/pullimage/FwaOIojDjGjNc5LFjEhQx6HhveIeWyz9UzMDtl8t.png"></span></p>
<p style="text-align: center;"><span>图 22 底座2</span></p>
<p style="text-align: left;"><span><img style="display: block; margin-left: auto; margin-right: auto;" src="//image.lceda.cn/pullimage/nIHzNdCmw7Em7SrIyiHTeNd2B1nd7BVEeliuGqEv.png"></span></p>
<p style="text-align: center;"><span>图 23 上层舱盒</span></p>
<p style="text-align: left;"><span><img style="display: block; margin-left: auto; margin-right: auto;" src="//image.lceda.cn/pullimage/W5xykG204lnnRqWZmRCpndhnN0YK0eqp1eX9KFTM.png"></span></p>
<p style="text-align: left;"> </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; text-align: center;">图 <span>24</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; text-align: left;"><img style="display: block; margin-left: auto; margin-right: auto;" src="//image.lceda.cn/pullimage/MVjn5ue7Njy896RN3sATdOXgKp4aJ8SJQ2ZynImz.png"></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; text-align: center;">图 <span>25</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; text-align: left;"><img style="display: block; margin-left: auto; margin-right: auto;" src="//image.lceda.cn/pullimage/Da7yJBJJQ4ycCth7NebFmZcfGrnUFcvfknS6I3HF.png"></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; text-align: center;">图 <span>26</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 style="text-decoration: underline;"><a href="https://lceda.cn/editor" target="_blank">嘉立创EDA</a></span>。若选择其他EDA工具,请在附件上传PDF格式的原理图,PDF格式的PCB图纸,Gerber格式的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 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="color: #95a5a6; font-size: 14px;">请输入内容…</span></p>
<h4 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>5.1</span>摩天轮核心板程序</h4>
<p><span>1.ws2812</span>控制原理</p>
<p><img style="display: block; margin-left: auto; margin-right: auto;" src="//image.lceda.cn/pullimage/Pieq1YnirPBuLLGtg1ebDk7g68dc9Ovbzd1J7PZd.png"></p>
<p style="text-align: center;">图 <span>27</span><span> ws2812b</span>灯珠时序波形图</p>
<p style="text-align: left;"><img style="display: block; margin-left: auto; margin-right: auto;" src="//image.lceda.cn/pullimage/u5AJLfr8BrB0cLvvyxx1BUg0YI2WNizbkXpFHLpU.png"></p>
<p style="text-align: center;">图 <span>28</span><span> ws2812b</span>数据传输方法</p>
<p> 以上这是数据手册中提到的,<span>WS2812</span>驱动用的是单线归零码的通讯方式。不同占空比的方波代表<span>1</span>码或者<span>0</span>码,这里不同的占空比就是<span> 0</span>码或<span>1</span>码高电平时间<span>/</span>方波周期时间 。对于本次例程,我们就是改变<span>PWM</span>的占空比实现<span>0</span>码或<span>1</span>码的传输。</p>
<p style="text-align: left;"> 这里使用<span>PWM+DMA</span>的方式进行<span>WS2812</span>灯珠驱动。它可以实现数量和占空比可控的脉冲,具体实现原理是在开启<span>DMA</span>的情况下,定时器在每次计数满后,会自动将<span>DMA</span>传输过来的数据作为新一轮的比较数值。如果<span>DMA</span>传输的数据每次不同,那么每次的方波占空比就不一样的。在本例程中,我们将数据存放在一个数组,通过<span>DMA</span>传输数组的内容,根据数组中数据的个数和每个数据的大小,就能实现数量和占空比可控的<span>PWM</span>。</p>
<h4><span>5.2</span>移动端程序设计</h4>
<p> 移动端程序使用<span>Android Studio</span>软件开发。手机与<span>WiFi</span>模块进行连接之后,再通过<span>APP</span>软件,可以对摩天轮进行本地或者远程的控制,让娱乐和生活结合在一起,功能包括调色控制、灯效控制、时钟控制、图形显示和情境模式等功能,由于时间较紧,目前移动端功能还在完善更新中。功能界面如下图所示。</p>
<p style="text-align: left;"><img style="display: block; margin-left: auto; margin-right: auto;" src="//image.lceda.cn/pullimage/69zZzDTW5bB8vORJ9ZNM1TMqzyLemh5WiKwLbCtk.png"></p>
<p style="text-align: center;">图29 软件用户中心</p>
<p> </p>
<p> </p>
<p><img style="display: block; margin-left: auto; margin-right: auto;" src="//image.lceda.cn/pullimage/b2Nh1W1qDq7PpKlbd6eV1FcON3cBF9Fzj0Z29gY5.png"></p>
<p style="text-align: center;">图 <span>30</span> 调色控制</p>
<p style="text-align: center;"> </p>
<p style="text-align: center;"> </p>
<p style="text-align: left;"><img style="display: block; margin-left: auto; margin-right: auto;" src="//image.lceda.cn/pullimage/lcuXsvylDlxqIYQcfJ3xhOFzKCHOnf7Pa8p5ABXf.png"></p>
<p style="text-align: center;">图 <span>31</span> 灯效控制</p>
<p style="text-align: center;"> </p>
<p style="text-align: center;"> </p>
<p style="text-align: left;"><img style="display: block; margin-left: auto; margin-right: auto;" src="//image.lceda.cn/pullimage/62ovWgYVqH0BrICP6Nsuc7lk1dO5noBANynGM7pU.png" width="269" height="597"></p>
<p style="text-align: center;">图 <span>32</span> 时钟控制</p>
<p style="text-align: center;"> </p>
<p style="text-align: center;"> </p>
<p style="text-align: left;"><img style="display: block; margin-left: auto; margin-right: auto;" src="//image.lceda.cn/pullimage/N95yGQNpiUB1XeXUYuriBdYSGC4uQO3z9E3pog3I.png"></p>
<p style="text-align: center;">图 <span>33</span> 图形显示</p>
<p style="text-align: center;"> </p>
<p style="text-align: center;"> </p>
<p style="text-align: left;"><img style="display: block; margin-left: auto; margin-right: auto;" src="//image.lceda.cn/pullimage/5MhLZhZPUo2k5uZOW1xgb6GcNh2c01d9NtUwXx6F.png"></p>
<p style="text-align: center;">图 <span>34</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 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></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/yxK7p5pehB04bovM1LqViLtrGxH7y4tPUsfFTQxf.png"></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; text-align: center;">摩天轮核心板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; text-align: left;"><img style="display: block; margin-left: auto; margin-right: auto;" src="//image.lceda.cn/pullimage/T4FtYh70JCpBrNN1yQHnQFCTEcfno7lkVq5iECRd.png"></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; text-align: center;">山顶之光摩天轮四分之一圆盘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;"><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;"> </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 src="//image.lceda.cn/pullimage/7V2Nd1QsiHvtSJjrvRKwJ0NTz44U30JEC3O4U5FO.jpeg" alt="" width="3484" height="2612"><img src="//image.lceda.cn/pullimage/HhlM0mqR39qYJ7VtblJBw7aai0aleuZPQH3tOvc4.jpeg" alt="" width="3648" height="2736"><img src="//image.lceda.cn/pullimage/dw7bQsim4PQFIzcn3mNznyARZbSzPKt008gkyQPh.jpeg" alt="" width="3648" height="2736"><img src="//image.lceda.cn/pullimage/uTBJXlCiEDPNHW1qlEXUoKacgV0rt27RWh1ae8ph.jpeg" alt="" width="1920" height="1440"><img src="//image.lceda.cn/pullimage/t8J1bQECXn8zjlAbt6MlJQMAOi9fun6wn4Kqjxio.jpeg" 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;"><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://image.lceda.cn/easyedaResource/images/%E7%AB%8B%E5%88%9B%E7%94%B5%E8%B5%9B%E6%A0%87%E8%AF%86.rar" 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/d76d9cb41705430e9a54e7a5feed07a5</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>
评论(6)