描述
<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>
<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;">在本项目中,利用SHT40温湿度传感器模块和stm32g030测量环境温度和湿度。</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>
<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>
<p>GPI 3.0</p>
<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><img src="//image.lceda.cn/oshwhub/de19479b23874863ac5bcbcfe1349b4f.png" alt="" width="494" height="219"><img src="//image.lceda.cn/oshwhub/786ac03fd77248e98fbe263018e8f919.png" alt="" width="314" height="285"></p>
<h4>4.2 数码管驱动</h4>
<p>简介:本项目采用SN74HC595对数码管进行驱动显示。外围电路对SN74HC595的输入电源进行滤波</p>
<p><img src="//image.lceda.cn/oshwhub/8d88df2db9a248f3b1556378b4ad3438.png" alt="" width="1060" height="251"></p>
<h4>4.3 数码管显示</h4>
<p>简介:本项目采用三位共阴数码管对采集到的温湿度进行显示</p>
<h4><img src="//image.lceda.cn/oshwhub/13fac8464f8c49bbaad1ae90aef4ce48.png" alt="" width="1015" height="263"></h4>
<h4>4.4 主控mcu</h4>
<p>简介:本项目采用stm32g030k6t6为主控。stm32g030k6t6拥有的外设gpio、i2c以及晶振等比较适配小型的项目需求。其外围电路为上电复位和主电源滤波</p>
<p><img src="//image.lceda.cn/oshwhub/0c29009e8a264d9d9065ce229a142a12.png" alt="" width="519" height="267"><img src="//image.lceda.cn/oshwhub/9297f55629f64d47b7ea407578dd473e.png" alt="" width="379" height="262"><img src="//image.lceda.cn/oshwhub/fbc388d5b28e4d94921e113a1d91765a.png" alt="" width="283" height="277"></p>
<h4>4.5 板上外设</h4>
<p>简介:为了配合项目主要的功能,设计了SWD调试下载接口、测试LED灯、系统唤醒按键、外部晶振以及可以较长时间使用的电池盒。</p>
<p><img src="//image.lceda.cn/oshwhub/d90d53b27ad9426aad9fb67e8f70905f.png" alt="" width="367" height="261"><img src="//image.lceda.cn/oshwhub/0ba25085a0034e0f88e740fc35601d6f.png" alt="" width="410" height="157"></p>
<p><img src="//image.lceda.cn/oshwhub/ad6f42c3cdb447578cae4542b95896bc.png" alt="" width="436" height="188"><img src="//image.lceda.cn/oshwhub/6dc706473b924be084d6a64a98ca4016.png" alt="" width="354" height="240"></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>
<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;">简介:本项目采用stm32cube进行框架搭建并采用keil对实际运行代码进行编写调试</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;">5.1 框架搭建</h4>
<p>简介:运用stm32cube对gpio、i2c、tim、adc、exti 等进行初始化框架搭建</p>
<p>PS:相关框架搭建参数在附件zip文件中用stm32cube打开查看即可</p>
<h4>5.2 gpio配置</h4>
<p>简介:mcu通过gpio输出控制sn74hc595对数码管进行驱动显示和对led测试灯进行控制</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;">5.3 i2c协议</h4>
<p>简介:本项目采用hal库的i2c相关函数进行开发,但是考虑到移植性和硬件i2c的条件限制性问题,本项目中附带了用软件写时序模仿i2c。采用软件模仿i2c时序的方式有效的避免了部分主控i2c硬件资源缺失的问题。</p>
<h4>5.4 tim定时器</h4>
<p>简介:因为动态显示数码管的硬件问题。采用定时器循环扫描数码管进行显示。</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;">5.5 adc模数转换</h4>
<p>简介:因为需要采用外部电源供电,而本项目并没用设计电源电压相关电路。为了解决这个问题,采用了主控的adc通道对供电电源进行模数采集进行分析取样。</p>
<h4>5.6 exti外部中断</h4>
<p>简介:本项目采用外部按键对整体系统进行唤醒操作,因此在软件中采用外部中断的方式对按键的按下与否进行采集判断并反馈给mcu进行进一步判断</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>
<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/5a2ac22db5234b65bc03e13496844d62.png" alt="" width="1391" height="365"></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/oshwhub/2f1ccf8a2cb74a6ca973a01ed4ba59b9.png" alt="" width="1135" height="223"></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;"> </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/de460543d4cf4dacb5f0326612455578" target="_blank">前往查看更多详情 ></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>
评论(1)