描述
<p><div class="document">
<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;"><span style="font-size: 14px;"><em> 1、项目功能介绍</span></h3>
<div class="lake-content">
<p id="u56996930" class="ne-p"><span class="ne-text">桌面温湿度仪项目使用</span><strong><span class="ne-text">STM32G030K6T6</span></strong><span class="ne-text">芯片作为主控芯片,该芯片使用Arm Cortex-M0+内核;最大主频64Mhz;</span></p>
<p id="u3e5f431e" class="ne-p"><span class="ne-text">具有32KB的Flash以及8K的SRAM,供电电压在2.0V~3.6V之间,用来检测温湿度。</span></p>
</div>
<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;"><span style="font-size: 14px;"></em>2、项目属性</span></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: 16px;"> 该项目首次公开,为原创,未在其他比赛获奖,没在学校参加过答辩。</span></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;"><em> 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;">GPL 3.0</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;"></em>4、硬件部分</h3>
<hr class="horizontal-splitline normal-bold-2" />
<div class="lake-content">
<div class="lake-content">
<p id="u2b86ba7e" class="ne-p"><span class="ne-text">1,在桌面温湿度仪上,有两个测试LED,一个接入单片机-PB7引脚用于测试GPIO输出功能;,</span><span class="ne-text">另外一个接入74HC595用于测试移位寄存器输出功能;</span></p>
</div>
<p id="ud93e9aae" class="ne-p"><span class="ne-text">2,在桌面温湿度仪上,有一个功能按键,通过这个按键可以用于执行各类操作,比如控制LED灯、读取温湿度或显示电池电量等信息;</span></p>
<p class="ne-p">3,桌面温湿度仪中通过两个共阴极3位数码管来显示数据,考虑到引脚数量,这里加入3个移位寄存器来驱动共阴极数码管;数码管内部其实就是多个LED灯组合在一起,共阴极的意思一位数码管中的LED灯阴极全部连接在一个引脚上,这里通过对LED灯两侧施加电压,从而达到控制数码管显示不同数据的效果;</p>
<p class="ne-p">4,桌面温湿度仪上使用一个SHT40温湿度传感器模块用于检测温湿度,SHT40采用IIC进行通信,模块上R8、R9是IIC通信的上拉电阻,起到“线与”的作用,支持挂载多个设备。</p>
<p class="ne-p"><img src="//image.lceda.cn/oshwhub/0f7a0757a3ce47548bef3c7031ca3645.png" width="673" height="486" /> </p>
<p class="ne-p"><img src="//image.lceda.cn/oshwhub/19acb6b71b964396b2aab974a236c1e3.png" width="679" height="393" /></p>
</div>
<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;"><em>5、软件部分</h3>
<hr class="horizontal-splitline normal-bold-2" />
<div class="lake-content">
<p id="u9f239b82" class="ne-p"><span class="ne-text">该项目采用两节7号电池进行供电,考虑到功耗问题,默认不开机,进入睡眠模式;</span><span class="ne-text">当有按键按下时,触发中断,此时结束睡眠模式,执行按键判断,获取温湿度并启动数码管进行显示;同时启动定时器中断,循环显示两次数据后再次进入睡眠,等待下次唤醒。</span></p>
</div>
<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;"></em>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/oshwhub/6328cb1cc6774db690a8e39233d5ca40.png" width="1150" height="287" /></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;"><em>7、大赛LOGO验证</h3>
<hr class="horizontal-splitline normal-bold-2" />
<p style="line-height: 1.8;"><img src="//image.lceda.cn/oshwhub/74149c7ea4ce4e75996eee038167333a.png" width="140" height="113" /></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;"></em> 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>
</div></p>
评论(0)