专业版
#第九届立创电赛#墨水屏温湿检查仪

创建时间:4个月前

123 1

描述

<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> <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;本次训练营的桌面温湿度仪项目使用CH32V208为主控,该MCU带有低功耗蓝牙。该项目仅验证蓝牙可用性,其余功能(如OTA、传感器数据上传等功能)暂未开发。</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;"></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> <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 style="line-height: 1.8;"><strong>GPL 3.0&nbsp;</strong></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> <p>SHT40电路,将SAD,SCL上拉。上拉电阻按数据手册选用10K。(感谢群友指正)</p> <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><img src="//image.lceda.cn/oshwhub/6c2a216f30e14542a76a4ff1371bacea.png" /></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;">充电期间使用TYPE-C进行供电。电池推荐直接焊接到焊盘。</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><img src="//image.lceda.cn/oshwhub/6252e5ddb7404422af60bcc30f0dcab5.png" /></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;">充电反馈电阻R18参考TP4054数据手册,500mA电池选用2k电阻。换用其他容量电池将R18更换更换为对应阻值电阻。</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/oshwhub/3183cec2cd434e2b87afdf9af83a55f2.png" /></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;"><span style="color: #95a5a6; font-size: 14px;"><img src="//image.lceda.cn/oshwhub/16f1407e9ade46b98cdaae6e82e4d9e5.png" /></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;">焊接过程中注意电感缺口处为电感引脚。二极管为1N5819W 元件印有SL注意不要买错。</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: #95a5a6; font-size: 14px;"><img src="//image.lceda.cn/oshwhub/4ebaf604d7f947419780dd0fa7222167.png" /></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;">墨水屏为二手价签屏,需确保显示正常及使用的驱动版本。调试阶段使用树莓派PICO和墨水屏驱动板确认所购买墨水屏使用微雪2.13_V4驱动,再将其移植到CH32V208上。</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/oshwhub/314aa65324a84a9bb192d6f20ebc2523.png" /></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;">PCB预留调试接口,可飞线连接逻辑分析仪进行调试。</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/oshwhub/3f399810593a408b85b25608652ddf0c.png" /></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> <p>使用MounRiver Studio进行开发,环境搭建请到<a href="<a href="http://www.mounriver.com/%22>%E6%B2%81%E6%81%92%E5%AE%98%E7%BD%91&lt;/a>%E6%9F%A5%E7%9C%8B%E3%80%82&lt;/p" target="_blank">http://www.mounriver.com/">沁恒官网&lt;/a>查看。&lt;/p</a>> <p>墨水屏驱动代码移植<a href="<a href="https://www.waveshare.net/wiki/2.13inch_e-Paper_HAT%22>%E5%BE%AE%E9%9B%AA2.13_V4%E3%80%82&lt;/a>&lt;/p" target="_blank">https://www.waveshare.net/wiki/2.13inch_e-Paper_HAT">微雪2.13_V4。&lt;/a>&lt;/p</a>> <p>完整代码:<a href="<a href="https://gitee.com/meng121/meng-project/tree/master/CH32V208%22>CH32V208" target="_blank">https://gitee.com/meng121/meng-project/tree/master/CH32V208">CH32V208</a> &middot; 小梦/mengProject - 码云 - 开源中国 (gitee.com)</a></p> <p>修改底层接口在Config文件夹,对应IO映射在main.h</p> <p><img src="//image.lceda.cn/oshwhub/77b404ee0fc6491c81f116746b5ba1b1.png" /></p> <p>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" style="line-height: 1.8;"><img src="//image.lceda.cn/oshwhub/aa40a58e1a304c52aace98e344b3a786.png" /></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> <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;">1.使用MounRiver Studio创建CH32V208CBU6工程。</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;">2.将下列文件替换到User文件夹。</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;">3.编译,烧录后墨水屏将会刷新。</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: #95a5a6; font-size: 14px;"><img src="//image.lceda.cn/oshwhub/617927ede408490e90b656aaaf700f8e.png" /></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>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;">FPC为翻盖上接,担心买错推荐买上下接。</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;">墨水屏为2.13黑白双色。</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;">(推荐买整机BLOZI的二手价签,ses的拆下来后还要裁剪排线和加厚会比较麻烦。)</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> <p><img src="//image.lceda.cn/oshwhub/ad110333ceec4c4ca3ac4bf156bf647b.png" /></p> <hr class="horizontal-splitline normal-bold-2" /> <p style="line-height: 1.8;"><img src="//image.lceda.cn/oshwhub/a7bc0eb1fb1d41c897ed231ce43509d9.png" /></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> <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

评论(4)

  • 表情
    emoji
    小嘉工作篇
    小嘉日常篇
  • 图片
成功
工程所有者当前已关闭评论
abababbabab 回复
<p>墨水屏是 老五数码之家电子diy元件 ,2.13寸墨水屏整机,到手后需要自己拆。<br/>推荐用加热台100度加热前面板等前面板略微融化后用美工刀拆</p>
webfly 回复
<p>特地从群里跑过来支持一下,感谢分享</p>
abababbabab 回复
<p>大小随机的会便宜点,但不一定是2.13寸。有能力的可以自己移植。</p>
abababbabab 回复
<p>rtc时钟和定时都没写,后面有空应该会继续优化。3D外壳我画了两版效果都不太好就没发出来</p>
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