- 6
- 0
- 约4.09千字
- 约 6页
- 2021-10-12 发布于湖南
- 举报
基于单片机的多功能数字时钟的设计
学院名称论文提交日期
本科毕业设计
基于单片机的多功能数字时钟
负西弱 202130580405
指导教师 XXX 讲师
工程学院 专业名称 电子信息工程 2021年4月30日
论文答辩日期 2021年5月10日
摘 要
随着数字集成电路的发展和石英晶体与振荡器的广泛应用,数字时钟的精度远远超过了老式钟表,而且能够方便地扩展钟表原先的报时功能,满足人们日常应用的各种需求,数字时钟不管在性能还是功能上都远远超过了传统的钟表。
本设计中的多功能数字时钟采用基于ARM Cortex-M3核心的32 位微控制器STM32F103RCT6作为控制系统的核心,采用内置晶振、具有标准I2C接口的实时时钟芯片SD2403API计算当前的秒、分、时、日、月、年,可保证时钟精度为+5ppm(在25℃±1℃下),通过编程配合芯片内置的数字化时间精度调整电路还可以进一步提高时钟精度,通过2.2寸TFT液晶屏的友好人机界面将结果直观地呈现给用户。为具有更高的实用价值,利用数字温湿度传感器DHT11获取温湿度,增加了温湿度显示功能;移植Fatfs文件系统读取SD卡的文件,增加了数码相框功能;通过阳历转阴历算法,实现了阴历显示;此外,还增加了红外遥控、闹钟、电子挂历、节日提醒、备忘录等功能。 关键词:Cortex-M3 STM32F103RCT6 数字时钟
The Multifunctional Digital Clock Based On Single Chip Microcomputer
Fu Dongqiang
(College of Engineering, South China Agricultural University, Guangzhou 510642, China) Abstract: With the development and wide application of digital integrated circuits and quartz crystal oscillators , precision digital clock is far more than the old-fashioned clocks, watches and clocks, and can easily extend the original timekeeping features to meet the diverse needs of everyday applications , digital clock regardless of performance or features are far more than the traditional watches .
The design of the multi-function digital clock based on ARM Cortex-M3 core, 32-bit microcontrollers STM32F103RCT6 as the core of the control system, with built-in crystal oscillator , with a standard I2C interface, real-time clock chip SD2403API calculate the current seconds , minutes, hours, day, month , year, can guarantee that the clock accuracy of +5 ppm ( at 25 ℃ ± 1 ℃), adjustment circuit programmed with chip built-in digital time accuracy can be further improved clock accuracy , by 2.2 -inch TFT LCD screen and friendly people machine interface will result visually presented to the user . To have a higher practical value , the use of digital temperature an
原创力文档

文档评论(0)