描述
<div>
<h3 style="line-height:1.8"> 1、项目考虑</h3>
<hr>
<p style="line-height:1.8"><span style="color:#95a5a6">某宝上便宜的墨水屏,2.13寸三色屏,外壳很新,按照原尺寸设计PCB。</span></p>
<p style="line-height:1.8"><span style="color:#95a5a6">实现功能定时刷新当前温度、湿度,预留在线获取显示信息能力。</span></p>
<p style="line-height:1.8"><span style="color:#95a5a6">墨水屏的优点是省电,准备电池供电。</span></p>
<p style="line-height:1.8"><span style="color:#95a5a6">Wifi太耗电不能常用,后期考虑蓝牙连接,因此选型ESP32-C3。</span></p>
<p style="line-height:1.8"><span style="color:#95a5a6">编程采用Arduino,快速上手。</span></p>
<h3 style="line-height:1.8">2、电路及PCB设计</h3>
<hr>
<p style="line-height:1.8"><span style="color:#95a5a6">电路参考官方及开源大神们的设计,难度不大</span></p>
<p style="line-height:1.8"><span style="color:#95a5a6">某宝买了sht40,商城买了sht30,板子有空间就都摆上。</span></p>
<p style="line-height:1.8"><span style="color:#95a5a6">小看了射频电路,第一版设计Wifi难连接,用手摸一下班子才能连接上。第二版认真学习官方布局指南,天线、晶振仔细布局,再打板毫无问题。</span></p>
<p style="line-height:1.8"><img src="//image.lceda.cn/oshwhub/7a6c606a3e854e348fa34a12afe85ffb.png" width="665" height="318"></p>
<p style="line-height:1.8"><span style="color:#95a5a6">据ESP32-C3文档供电要500ma,1117压差和静态电流太大,用662K先顶上,实测无问题。</span></p>
<p style="line-height:1.8"><span style="color:#95a5a6">根据审核意见,传感器下方净空不铺铜</span></p>
<p style="line-height:1.8"><span style="color:#95a5a6"><img src="//image.lceda.cn/oshwhub/17bf24cd41ea4fca9ef043a4f442d8bb.png" width="327" height="85"></span></p>
<h3 style="line-height:1.8">3、焊接</h3>
<hr>
<p style="line-height:1.8"><span style="color:#95a5a6">ESP32-C3的焊接,先把芯片反过来引脚刷焊油,用微量的锡拖一下,然后在焊盘上一点锡膏,不要多,中间的接地焊盘用牙签点一下就够了,风枪吹一下一次成功</span></p>
<p style="line-height:1.8"><span style="color:#95a5a6">传感器SHT30还好,SHT40尺寸太小,带上老花镜才能看清,操作类似,就是引脚先上锡,少用锡膏。</span></p>
<p style="line-height:1.8"><span style="color:#95a5a6">第一版TTL调试是用焊盘接线的,不太方便,飞线到电池座,第二版直接画到板子上,实际用起来方便(需要diy一个转接杜邦头的转接线)。</span></p>
<h3 style="line-height:1.8">5、软件部分</h3>
<hr>
<p style="line-height:1.8">Arduino用得不多,试用一下还是很方便的,SHT40走I2C,用自带的库几行就够了。SHT是ADC版本,根据手册的公式也很方便。</p>
<p style="line-height:1.8">拆出的屏排线上型号是HINK-E0213A22-A0,用佳显的GDEY0213Z98程序可以驱动,微雪epd2in13b_V4不能直接驱动。因佳显的程序没有图形库,对照程序进行修改后成功。</p>
<p style="line-height:1.8"><img src="//image.lceda.cn/oshwhub/ad4a1f20d35044d0ac5c9feaecc76c59.png"></p>
<p style="line-height:1.8"><img src="//image.lceda.cn/oshwhub/2f9bf560e0ef4d2eae37fd8081cb4cae.png" width="734" height="210"></p>
<h3 style="line-height:1.8">6、后续改进</h3>
<hr>
<p style="line-height:1.8">初步完成。ESP32-C3功能较多,后续再学习Wifi和蓝牙BLE。</p>
</div>
评论(0)