版本协议

Public Domain

专业版
#第九届立创电赛#温湿度检测仪

创建时间:4个月前

67 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> 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;">在日常生活和工作中,实时监测温湿度对保持舒适的环境至关重要。然而,市面上的温湿度检测设备往往价格昂贵、体积庞大,无法满足便携性的需求。为了解决这一问题,我制作了一款温湿度检测仪。本检测仪具有高精度、小巧便携、应用范围多样等等特点。可以放在办公桌、床头、客厅茶几等等多种场景,实时显示温湿度数据,提高生活的舒适度。</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;">&nbsp;</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;">&nbsp;</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;">&nbsp;</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>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> <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;">&nbsp;</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;">&nbsp;</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;">&nbsp;</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;"><span style="color: #000000;">引用立创温湿度检测仪开源项目,<span style="font-size: 14px;">遵循原作者的开源协议规定</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;">&nbsp;</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;">&nbsp;</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;">&nbsp;</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" /> <p><strong>&nbsp; &nbsp; &nbsp; 1.主控芯片:STM32G030K6T6</strong></p> <p>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;主频:最高可达64 MHz,能够处理复杂的计算任务;内存:32KB闪存和8KB SRAM,足够满足温湿度检测和数据处理的需求;低功耗模式:支持多种低功耗模式,适合电池供电的便携设备。</p> <p>&nbsp;</p> <p>&nbsp; &nbsp; &nbsp; <strong>2. 温湿度传感器:SHT40&nbsp;</strong></p> <p>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;SHT40是Sensirion公司推出的新一代温湿度传感器,具有高精度、低功耗和小体积的特点。其主要特点包括:</p> <ol style="list-style-type: lower-alpha;"> <li>高精度:温度精度为&plusmn;0.2&deg;C,湿度精度为&plusmn;1.8%RH,能够提供准确的环境数据。</li> <li>快速响应:传感器响应时间短,能够实时反映环境的温湿度变化。</li> <li>低功耗:在测量模式下功耗极低,适合长期监测应用。</li> <li>小体积:紧凑的设计使其易于集成到各种便携设备中。</li> </ol> <p>&nbsp;</p> <p>&nbsp; &nbsp; &nbsp; <strong>3. 显示部分:数码管</strong></p> <p>&nbsp; &nbsp; &nbsp; &nbsp; 数码管用于实时显示温湿度数据,其优点在于:</p> <ol style="list-style-type: lower-alpha;"> <li>清晰易读:数码管显示亮度高,适应各种光线环境,用户可以清楚地读取数据。</li> <li>低成本:相比LCD显示屏,数码管成本更低,适合DIY项目。</li> <li>简单驱动:通过GPIO口和简单的驱动电路即可实现显示功能,便于硬件设计和软件编程。</li> </ol> <p>&nbsp;</p> <p>&nbsp; &nbsp; &nbsp;<strong>4.其他接口</strong></p> <p>&nbsp; &nbsp; &nbsp; &nbsp; 为了扩展功能,设备还设计了若干接口,包括:</p> <ol style="list-style-type: lower-alpha;"> <li>调试接口:用于软件开发和调试,方便进行固件更新和问题排查。</li> </ol> <p>&nbsp;</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 pap-left-indent-1.6em" style="line-height: 1.8;">&nbsp;</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;">&nbsp;</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;">&nbsp;</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>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;">软件部分使用stm32cubemx与keil5进行代码编写,配置快捷且操作简单。代码内容主要分为四个部分:系统初始化模块、数据处理与显示模块、传感器数据采集模块,以及通信模块。使用硬件I2C与传感器进行通信,减少了编写代码的工作量;将每个模块封装成函数,提高了代码的易用性与可读性。</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;">程序源码见本文底部。如果编译时出现五个报错,请检查是否缺少AC5编译器。如果缺少,可自行前往csdn或官网查找资料并下载。</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;">&nbsp;</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;">&nbsp;</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;">&nbsp;</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>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;">见本文底部。</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;">&nbsp;</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;">&nbsp;</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;">&nbsp;</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 class="paragraph text-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/594314dd101046b18ac1512b27e55270.png" alt="" width="306" height="245" /></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;">&nbsp;</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;">&nbsp;</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;">&nbsp;</p></p>

文档

BOM

暂无

附件

附件名 下载
立创电赛:{温湿度检测仪}-{成品效果演示}.mp4

评论(0)

  • 表情
    emoji
    小嘉工作篇
    小嘉日常篇
  • 图片
成功
工程所有者当前已关闭评论
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