版本协议

Public Domain

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

创建时间:3个月前

196 0

描述

<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;"><em> 1、项目功能介绍</h3> <hr class="horizontal-splitline normal-bold-2" /> <ul> <li>温湿度测量仪项目使用STM32G030K6T6芯片作为主控芯片,Arm Cortex-M0+内核,最大主频64Mhz,具有32KB的Flash、8K的SRAM,供电电压在2.0V~3.6V。</li> <li>使用IIC通信,采集来自盛思锐品牌的SHT40传感器的温湿度数据,通过数码管显示温湿度数据。</li> <li>空闲时间进入低功耗睡眠模式,按键进入正常运行模式,运行结束自动进入低功耗睡眠模式,等待按键唤醒。</li> <li>依次显示湿度,温度的数值,显示两次。</li> </ul> <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;"><span style="color: #95a5a6; font-size: 14px;">项目是由嘉立创举办的活动,本人复刻学习相关知识,参考立创官方的资料进行创作,添加AT24C128存储数据,与大家交流分享,共同进步。</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;">*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 pap-left-indent-1.6em" style="line-height: 1.8;"><strong>铁板烧(加热台)真香,还好完工后芯片有点虚焊,代码烧录不进去,重新焊接后,就成功了。</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 pap-left-indent-1.6em" style="line-height: 1.8;"><strong>以后想把5号电池换成了锂电池,同时增加了锂电池充电电路和USB切换电路,学习其他人的项目。</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 pap-left-indent-1.6em" style="line-height: 1.8;"><strong>显示由HC595驱动两组3位7段带点的数码管</strong></p> <p><strong>2-4温湿度传感器电路:</strong></p> <p><img src="<a href="https://image.lceda.cn/oshwhub/11190961ea4640809e256dc5956f8370.png" target="_blank">https://image.lceda.cn/oshwhub/11190961ea4640809e256dc5956f8370.png</a>" /></p> <p>温湿度传感器模块电路</p> <p>本次项目的核心部件,使用SHT40温湿度传感器模块,SHT40是盛思锐生产的第四代,高精度,超低功耗的16位相对湿度和温度传感器,主要特性参数:相对湿度精度可以达到:&plusmn;1.5%RH,温度精度可以达到:&plusmn;0.1℃,平均的工作电流:0.4&mu;A,空闲电流:80nA,工作范围:0-100%RH,-40-125℃,可以满足日常的温湿度测量需求。</p> <p><img src="<a href="https://image.lceda.cn/oshwhub/6a1d642cf1824e7382f33e66e4ce4037.jpg" target="_blank">https://image.lceda.cn/oshwhub/6a1d642cf1824e7382f33e66e4ce4037.jpg</a>" width="517" height="453" /></p> <p>SHT40温湿度模块</p> <p>因为SHT40非常小,焊接难度很高,所以这里直接使用的本次大赛专供的SHT40模块,方便使用,这里需要特别注意的一点就是,SHT40温湿度模块的引脚和插座是要对应插上的,如果插反了的话,轻则影响温湿度模块的测量,重则烧毁模块!</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><strong>2-6唤醒按键电路:</strong></p> <p><img src="<a href="https://image.lceda.cn/oshwhub/f6063f5555ad4e6ba3993687fc34a9b9.png" target="_blank">https://image.lceda.cn/oshwhub/f6063f5555ad4e6ba3993687fc34a9b9.png</a>" /></p> <p>唤醒按键电路</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;SWD我使用排针,不稳,我直接焊接上去。</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> <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;">按照官方文档及视频学习,软件视频教程:<a href="https://www.bilibili.com/video/BV1Ay411B7MF?vd_source=fcc6e4ce4c6927d6f1874a6d1f1138d7%E3%80%82%E4%BD%BF%E7%94%A8%E8%BF%99%E6%AC%BE%E8%8A%AF%E7%89%87%E5%8F%AF%E4%BB%A5%E9%80%9A%E8%BF%87STM32CubeMX%E8%BD%AF%E4%BB%B6%E8%BF%9B%E8%A1%8C%E5%9F%BA%E7%A1%80%E4%BB%A3%E7%A0%81%E7%94%9F%E6%88%90%E4%B8%8E%E9%85%8D%E7%BD%AE%EF%BC%8C%E5%9B%BE%E5%BD%A2%E5%8C%96%E7%9A%84%E6%96%B9%E5%BC%8F%E5%8F%AF%E4%BB%A5%E5%BF%AB%E9%80%9F%E4%B8%8A%E6%89%8B%E4%BD%BF%E7%94%A8%E8%8A%AF%E7%89%87%EF%BC%8C%E5%AF%B9%E6%88%91%E4%BB%AC%E9%9D%9E%E5%B8%B8%E5%8F%8B%E5%A5%BD%E3%80%82&lt;/h3" target="_blank">https://www.bilibili.com/video/BV1Ay411B7MF?vd_source=fcc6e4ce4c6927d6f1874a6d1f1138d7。使用这款芯片可以通过STM32CubeMX软件进行基础代码生成与配置,图形化的方式可以快速上手使用芯片,对我们非常友好。&lt;/h3</a>> </div></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