描述
<div>
<h3 style="line-height:1.8;">1、项目功能介绍</h3>
<hr>
<h3>一、项目背景</h3>
<p>在智能家居和环境监测日益普及的今天,温湿度作为最基础也是最关键的环境参数之一,广泛应用于家庭、办公、仓储、农业等场景。为了实现对室内环境的直观监测,我们设计并制作了一款桌面式温湿度检测仪。本项目选用瑞萨 RA4L1 微控制器,结合数字温湿度传感器与OLED显示屏,构建一个低功耗、高可靠性的监测设备。</p>
<hr>
<h3>二、项目目标</h3>
<ul>
<li>实现室内温度与湿度的实时采集与显示</li>
<li>提供良好的用户界面与稳定的测量精度</li>
<li>掌握瑞萨 RA 系列 MCU 的开发流程,包括硬件设计与软件开发</li>
</ul>
<h3 style="line-height:1.8;">*2、项目属性</h3>
<hr>
<p style="line-height:1.8;"><span style="color:#000000;font-size:14px;">首次公开;原创。</span></p>
<h3 style="line-height:1.8;">* 3、开源协议</h3>
<hr>
<p style="line-height:1.8;"><span style="color:#000000;font-size:14px;">使用GPL3.0开源协议</span></p>
<h3 style="line-height:1.8;">*4、硬件部分</h3>
<div>
<div>
<table>
<tr>
<th>元器件</th>
<th>型号</th>
<th>功能说明</th>
</tr>
<tr>
<td>主控芯片</td>
<td>Renesas RA4L1</td>
<td>基于 ARM内核,具备丰富外设资源</td>
</tr>
<tr>
<td>温湿度传感器</td>
<td>SHT40</td>
<td>I2C 接口,数字输出,精度高,响应快</td>
</tr>
<tr>
<td>显示屏</td>
<td>0.96" OLED</td>
<td>通过 IIC 接口与 MCU 通信,实时显示温湿度信息</td>
</tr>
<tr>
<td>外壳</td>
<td>亚克力激光切割</td>
<td>美观、便携,适合桌面使用</td>
</tr>
</table>
<div>
<div> </div>
</div>
</div>
</div>
<h3>五、软件开发</h3>
<hr>
<ul>
<li>开发环境:Renesas e² studio + FSP (Flexible Software Package)</li>
<li>使用 FSP 配置 I2C、、GPT 等外设驱动</li>
<li>实现 <code>millis()</code> 风格的时间管理函数,配合非阻塞刷新逻辑</li>
<li>图形界面基于自绘函数,显示数字及图标</li>
</ul>
<p><img src="https://image.lceda.cn/oshwhub/pullImage/e82de1718e534dfc99231c81c5ac105b.png" alt="e82de1718e534dfc99231c81c5ac105b.png"></p>
<p><img src="https://image.lceda.cn/oshwhub/pullImage/829ad3af79f648988fa4cd69b97cf89d.png" alt="829ad3af79f648988fa4cd69b97cf89d.png"></p>
<h3>功能实现</h3>
<ul>
<li><strong>数据采集</strong>:通过 I2C 总线读取 SHT40 数据,采用 CRC 校验确保通信可靠。</li>
<li><strong>数据显示</strong>:SPI 驱动 LCD 屏幕,图形化显示当前温度、湿度数值及简单图标。</li>
<li><strong>定时更新</strong>:利用 GPT 定时器定期采样,每秒更新一次数据。</li>
<li><strong>供电设计</strong>:支持 USB Type-C 供电,便于接入移动电源或电脑使用。</li>
<li><strong>系统可靠性</strong>:设置错误检测机制,如传感器断开提示,增强稳定性。</li>
</ul>
<h3 style="line-height:1.8;">*6、BOM清单</h3>
<hr>
<p style="line-height:1.8;"><span style="color:#000000;"><strong>R7FA4L1系列主控 开发板</strong></span></p>
<h3 style="line-height:1.8;">*7、大赛LOGO验证</h3>
<hr>
<p style="line-height:1.8;"><img src="https://image.lceda.cn/oshwhub/pullImage/32526f1badd24eaab682bbccca092ce4.jpg" alt="" width="300" height="225"></p>
<h3 style="line-height:1.8;">* 8、演示您的项目并录制成视频上传</h3>
<hr>
<p style="line-height:1.8;"> </p>
<p style="line-height:1.8;"> </p>
</div>
-
立创电赛:《桌面温湿度检测仪》.mp4
-
立创电赛:《桌面温湿度检测仪》~1.mp4
评论(1)