版本协议

Public Domain

标签
专业版
#第八届立创电赛#训练营时钟

创建时间:1年前

112 0

描述

<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;">* 1、项目功能介绍</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;">该电子时钟采用R7FA2E1A72DFL作为主控芯片,通过一个四位0.56寸共阴极数码管来显示时间。同时,通过DHT11温湿度传感器进行环境温湿度采集,并能够显示环境温度和湿度。通过四个按键进行时钟设置,引出一路复位按键、串口电路、SWD下载电路,方便下载调试。瑞萨芯片集成了触摸引脚,引出一路触摸引脚出来用来作为触摸按钮使用。通过无源蜂鸣器作为时间达到等提示。通过AO3401A+1N5819二极管组成电源切换电路,能够自动切换电源。通过TP4056来给电池充电,能够自动切换电源和自动充电。</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;">*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;">该电子时钟的硬件部分主要由主控芯片R7FA2E1A72DFL、DHT11温湿度传感器、四位0.56寸共阴极数码管、四个按键、触摸引脚、无源蜂鸣器、AO3401A+1N5819二极管、TP4056组成。其中,R7FA2E1A72DFL作为主控芯片,通过GPIO控制四位0.56寸共阴极数码管的显示,通过DHT11温湿度传感器采集环境温湿度数据,并通过串口将数据发送至主机。通过四个按键进行时钟设置,引出一路复位按键、串口电路、SWD下载电路,方便下载调试。瑞萨芯片集成了触摸引脚,引出一路触摸引脚出来用来作为触摸按钮使用。通过无源蜂鸣器作为时间达到等提示,可实现时间到达时发出提示音。通过AO3401A+1N5819二极管组成电源切换电路,能够自动切换电源。通过TP4056来给电池充电,能够自动切换电源和自动充电,非常方便实用。</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;">*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" style="line-height: 1.8;">该电子时钟的软件部分主要由嵌入式c语言编写。主要实现了显示时间、显示环境温湿度、时钟设置、触摸按键检测、无源蜂鸣器控制、电源切换、充电控制等功能。通过定时器控制数码管的动态扫描,实现数码管的显示。通过串口输出环境温湿度数据,与上位机进行通讯。通过中断检测按键的按下,实现时钟设置和触摸按键检测。通过PWM控制无源蜂鸣器的发声,实现时间到达时发出提示音。通过GPIO控制电源切换和充电控制。</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> <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> <p><img src="//image.lceda.cn/pullimage/chIlFusroCwRH5w6u31JIF92kr6GQzlSAmcxVTZu.jpeg" alt="" width="1200" height="1200"></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;"><img src="//image.lceda.cn/pullimage/uSibWjroRgcF4lJGAE4k886rEyYUzVjY3qqaM0tG.jpeg" alt="" width="1200" height="1200"></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> </div>

文档

BOM

暂无

附件

暂无

成员

评论(1)

  • 表情
    emoji
    小嘉工作篇
    小嘉日常篇
  • 图片
成功
工程所有者当前已关闭评论
立创电赛 回复
<p>还没有上传视频验证功能哦~</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