描述
<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="font-size:18px;">1、采用瑞萨的R7FA2E1A72DFL作为电子时钟的主控芯片;</span></p>
<p><span style="font-size:18px;">2、采用一个四位0.56寸共阴极数码管用来显示时间;</span></p>
<p><span style="font-size:18px;">3、通过DHT11温湿度传感器进行环境温度采集;</span></p>
<p><span style="font-size:18px;">4、采用四个按键进行时钟设置;</span></p>
<p><span style="font-size:18px;">5、引出一路复位按键、串口电路、SWD下载电路,方便下载调试;</span></p>
<p><span style="font-size:18px;">6、瑞萨芯片集成了触摸引脚,引出一路触摸引脚出来用来作为触摸按钮使用(本是用来做为温度和湿度的切换按键的,但由于没有最新版的J-LINK调试器,所以这个功能暂时缺省了);</span></p>
<p><span style="font-size:18px;">7、通过无源蜂鸣器作为时间到达提示;</span></p>
<p><span style="font-size:18px;">8、通过AO3401A+1N5819二极管组成双电源自动切换电路;</span></p>
<p><span style="font-size:18px;">9、使用TP4056电池充电管理芯片,设置600mA的充电电流来给锂电池充电</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="font-size:18px;"><strong>项目为2023年嘉立创暑期训练营项目</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;"> </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;"><strong> <span style="font-size:18px;"> </span></strong><span style="font-size:18px;">1、复刻2023年嘉立创暑期训练营项目作品;</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;"> 2、原理图和PCB完全开源,跟训练营的作品不完全相同,在硬件和软件上修改了部分内容,感兴趣的朋友可以在此基础上扩展更多功能。</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;"> </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:#000000;font-size:18px;">1、原理图和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:#000000;font-size:18px;"><img src="//image.lceda.cn/pullimage/Di9XyrO01t5kxqHP71RJ4SXPh5esCqKVRRK1gsmY.png" alt="" width="900" height="457"></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:#000000;font-size:18px;"><img src="//image.lceda.cn/pullimage/PIKu40Yvx3b4aYZlMEiMgUORzseBVaeHOUWIrV5N.png" alt="" width="900" height="456"><br></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:#000000;font-size:18px;">2、3D外壳同样使用嘉立创EDA专业版设计,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;"><img src="//image.lceda.cn/pullimage/WDgISG5IQAbdy8WLv6o7quoVEHsTX1MFR03VgmC5.png" alt="" width="723" height="396"></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 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;"><img src="//image.lceda.cn/pullimage/UfYtcZ6pSLZc2eR3CNHJ0fGzLEjW52VV98BUAfXP.png" alt="" width="554" height="350"> </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/fE8768axGMbz3oDiVYMHGOsGS9ghahSx6BdbK3Oe.png" alt="" width="568" height="352"></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:18px;">3、面板还是使用嘉立创EDA专业版设计,效果如下图</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/u7b13ZDApuJFp9Ez7iMi3739c2pXaP65J0CYlGwj.png" alt="" width="900" height="436"></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;color:#e03e2d;">4、注意事项</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;color:#e03e2d;">4.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;"><span style="font-size:18px;color:#e03e2d;">4.2 程序烧录口的连接方式是:USB转TTL线的RXD端接板子的TXD端,TXD端接板子的RXD端(简单来说就是发送和接收两边要交叉接线,不然会下载失败)。</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 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="document"><span style="color:#000000;font-size:18px;">1、程序的开发以及编译调试使用瑞萨官方提供的e2studio,</span><span style="font-size:18px;">由于瑞萨芯⽚是最近才出的芯⽚,所以旧版的J-Link软件不⼀定⽀持,</span><span style="color:#000000;font-size:18px;">在线仿真调试请使用J-LINK V9以上的仿真器,我手头上就有个V8的试过了确实连接不上,所以没法调试触摸按键部分内容,因此触摸按键的功能并没有用上;</span></p>
<p class="document"><span style="color:#000000;font-size:18px;">2、程序烧录使用官方提供的Renesas Flash Programmer,如果没有J-LINK仿真器,可选使用串口烧录方式(常用的CH340)。</span></p>
<p class="document"><span style="font-size:18px;">3、由于本人是初次使用这款MCU,加之不是搞软件的,所以对软件相关的库函数不是太清楚用法,只能把部分我能理解的都做了注释,适合初学者参照并共同提高。以下是部分软件的截图,仅供参考</span></p>
<p class="document"><img src="//image.lceda.cn/pullimage/kMeuqasB7hTlaoOUuku5iRcoCmgIXvsRz8oR0HDj.png" alt="" width="900" height="556"></p>
<p class="document"><img src="//image.lceda.cn/pullimage/rnag9QHPfSwO6mFEhG2PrqX0x0sbVQOrGajefTVG.png" alt="" width="900" height="556"></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;font-size:18px;">PS:详细的使用方法可参考B站的视频教程,奉上视频链接:<strong><a href="https://www.bilibili.com/video/BV1PV4y187PC/" target="_blank">https://www.bilibili.com/video/BV1PV4y187PC/</a></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 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;"><img src="//image.lceda.cn/pullimage/vHA4VSHekHLQkE4mXiEzJEiO0A62q9p0KJFcK0Un.png" alt="" width="1200" height="758"></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;"> </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><img src="//image.lceda.cn/pullimage/ci33rTwXiWLLDCUDjXVVrk361tl3IKBXuz3TrB5P.png" alt="" width="1200" height="454"></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 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>
评论(2)