项目简介
项目编号:mcuclub-dz-283
单片机类型:STC89C52
具体功能:
1、通过DS1302同步时间,并能通过按键修正时间
2、通过按键设置多组闹钟时间(最多3个),时间存放在AT24C02中,当时间到时,通过MP3模块播放不同音乐
3、通过按键可设置开关灯时间,并可播放开关灯音乐
4、通过LCD1602显示屏显示时间
总字数:16352
摘 要
闹钟作为一个常见的生活用品,其单一的显示定时功能显然不能满足当代人们更高的需求,传统的闹钟已经在这个智能生活大环境中显得格格不入。为了使闹钟符合当代科技生活节奏,本文设计了一种新型多功能闹钟。
本设计采用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
第一章 设计概述
第二章 系统设计方案
第三章 硬件设计
第四章 系统程序设计
5 系统仿真测试
第六章 实物测试