设计说明书
总字数:16000+
闹钟作为一个常见的生活用品,其单一的显示定时功能显然不能满足当代人们更高的需求,传统的闹钟已经在这个智能生活大环境中显得格格不入。为了使闹钟符合当代科技生活节奏,本文设计了一种新型多功能闹钟。本设计采用STC89C52单片机作为主控芯片,开发一款新型多功能闹钟,通过DS1302时钟芯片进行同步时间;通过按键可以设置多组闹钟时间,还可以设置开关灯时间并对时间进行修正;设置好的时间存放在AT24C02中,当时间到时,通过MP3模块播放不同音乐,并将时间在LCD1602显示屏显示。实物测试表明,该闹钟的实现效果良好,能为使用之提供准时呼叫的作用,有效促进人们的作息规律。
关键词: 闹钟;时间控制器;单片机;按键;显示屏
Abstract
Alarm clock as a common daily necessities, its single display timing function obviously can not meet the higher needs of contemporary people, the traditional alarm clock has been in this intelligent life environment seems out of place. In order to make the alarm clock conform to the rhythm of modern science and technology life, this paper designs a new multi-functional alarm clock.This design uses STC89C52 single chip microcomputer as the main control chip, develops a new multifunctional alarm clock, synchronizes time through DS1302 clock chip; You can set multiple sets of alarm clock time by pressing the button, and you can also set the time of turning on and off the light and correct the time; The set time is stored in the AT24C02. When the time arrives, different music is played through the MP3 module, and the time is displayed on the LCD1602 display screen.The actual test shows that the realization effect of the alarm clock is good, and it can provide the function of on-time call and effectively promote people’s regular work and rest.
Keywords: alarm clock; Time controller; Single-chip computer; Key; Display screen
目 录
摘 要
Abstract
第一章 设计概述
1.1 研究背景及其意义
1.2 国内外研究现状
1.3 此次设计实现的功能
第二章 系统设计方案
2.1 系统设计方案
2.2 主要元器件选择
2.2.1 主控芯片方案
2.2.2 显示模块方案选择
2.2.3 按键模块方案选择
第三章 硬件设计
3.1 单片机最小系统
3.1.1主控模块电路
3.1.2 晶振电路
3.1.3 复位电路
3.1.4 电源电路
3.1.5下载电路
3.2音乐播报模块
3.3 AT24C02存储模块
3.4时钟芯片(DS1302)
3.5按键电路模块
3.6 LCD1602显示模块电路
3.7照明灯模块电路
第四章 系统程序设计
4.1 编程软件介绍
4.2 系统主流程设计
4.3 独立按键
4.4 时钟模块子流程
4.5 存储模块子流程
5 系统仿真测试
5.1 仿真总体设计
5.2 闹钟提醒模块仿真设计
5.3 开灯模拟仿真测试
第六章 实物测试
6.1实物焊接
6.2 闹钟提醒模块实物设计
6.3 开灯模拟实物测试
总结
致谢
参考文献
附录
附录一:原理图
附录二:PCB
附录三:主程序
购买后可查看具体内容!