描述
<h1><span style="font-size:24pt"><strong>一、温湿度仪电路结构</strong></span></h1>
<p><img style="max-width:100%" src="//image.lceda.cn/oshwhub/3d3262baab0349b086e96041156f9fc4.jpg"></p>
<p> </p>
<h1><span style="font-size:24pt"><strong>二、电路设计简述</strong></span></h1>
<p><span style="font-size:18pt"> 该温湿度仪采用STM32G030K6T6作为主控芯片,SHT40温湿度传感器将采集到的数据通过IIC通信传输给主控,主控将处理后的温湿度信息传输给三个CH595并由它们控制数码管将数值显示出来,其中显示功能通过程序实现仅当唤醒按键按下时才交替显示两次。电池供电部分经过WST3401Mos管才给内部电路供电,使其在因错误反接电池时截至,防止因反接导致内部电路烧毁。</span></p>
<p> </p>
<h1><span style="font-size:24pt"><strong>三、各部分介绍</strong></span></h1>
<p style="padding-left:40px"><strong><span style="font-size:18pt">1.主控STM32G030K6T6</span></strong></p>
<p><img style="max-width:100%" src="//image.lceda.cn/oshwhub/4a8266e7d4774ba781b14ba196a71fcc.png"></p>
<p><span style="font-size:14pt">相关代码来源于嘉立创上传资料,链接:</span></p>
<p><span style="font-size:14pt"><a href="https://www.yuque.com/wldz/jlceda/ul1wcz7n5dgt6s60" target="_blank">https://www.yuque.com/wldz/jlceda/ul1wcz7n5dgt6s60</a></span></p>
<p style="padding-left:40px"> </p>
<h2 style="padding-left:40px"><span style="font-size:18pt">2.电源输入</span></h2>
<p><img style="max-width:100%" src="//image.lceda.cn/oshwhub/63879f6c586b4e889487a1793398d3e0.png"></p>
<p><span style="font-size:14pt">两节5号电池串联提供3V电压,电池电源于内部电路之间串接一个WST3401mos管作为防反接保护,反接时截至。</span></p>
<p> </p>
<h2 style="padding-left:40px"><span style="font-size:18pt">3.晶振电路</span></h2>
<p><img style="max-width:100%" src="//image.lceda.cn/oshwhub/99a5a9b925a14803a958915af1f03e4f.png"></p>
<p><span style="font-size:14pt">原工程中的18pF电容可以使用22pF代替。</span></p>
<p> </p>
<h2 style="padding-left:40px"><span style="font-size:18pt">4.温湿度传感器接口</span></h2>
<p><img style="max-width:100%" src="//image.lceda.cn/oshwhub/56fa1e8570444ed08d962c1418e1c029.png"></p>
<p><span style="font-size:14pt">注意两信号线需要加4.7k上拉电阻。</span></p>
<p> </p>
<h2 style="padding-left:40px"><span style="font-size:18pt">5.三态输出8位移位寄存器</span></h2>
<p><img src="//image.lceda.cn/oshwhub/1954d373388046cbb6748dc9ef94f481.png" alt="" width="1446" height="300"></p>
<p><span style="font-size:14pt">第一和第二个CH595分别控制两个数码管的段选,第三个CH595控制两个数码管的位选;三个1uF电容作滤波,PCB时应使其靠近芯片供电引脚。</span></p>
<p> </p>
<h2 style="padding-left:40px"><span style="font-size:18pt">6.三位共阴极数码管</span></h2>
<p><img style="max-width:100%" src="//image.lceda.cn/oshwhub/633bae3e78de4b92ae96a04ab5a679ee.png"></p>
<p> </p>
<h1><span style="font-size:24pt">四、实物展示</span></h1>
<h2 style="padding-left:40px"><span style="font-size:18pt">1.焊接好并验证成功</span></h2>
<p style="padding-left:40px"><span style="font-size:18pt"><img src="//image.lceda.cn/oshwhub/ebdad660be2446c49d3c0277c3c9531b.jpg" alt="" width="800" height="600"><img src="//image.lceda.cn/oshwhub/a466b5810dd74cb7a662f91045a5295f.jpg" alt="" width="800" height="600"></span></p>
<p style="padding-left:40px"> </p>
<h2 style="padding-left:40px"><span style="font-size:18pt">2.PCB空板</span></h2>
<p style="padding-left:40px"><span style="font-size:18pt"><img src="//image.lceda.cn/oshwhub/30f0e5270791454abab9204a9e619481.jpg" alt="" width="600" height="450"><img src="//image.lceda.cn/oshwhub/a36b56842ba248e68109e0ef21268f4b.jpg" alt="" width="600" height="450"></span></p>
<p style="padding-left:40px"> </p>
<p> </p>
评论(0)