下载后可任意编辑单片机课程设计说明书 作 者: 郭老大 学 号: 1651635313学 院: 工学院 系(专业): 机械设计制造及其自动化 题 目: 基于单片机设计 LED 显示电子钟 指导者: 李老师 2024 年 11 月 11 日下载后可任意编辑课程 设计中文摘要基于单片机设计 LED 显示电子钟摘要:本设计使用 12MHZ 晶振与单片机 AT89C51 相连接,以 AT89C51 芯片为核心,采纳动态扫描方式显示,通过使用该单片机,加之在显示电路部分使用 7407 驱动电路,实现在 6 个 LED 数码管上显示日期、时间、定时、闹铃,通过 6 个按键实现设置日期、进行调时、设定闹铃、倒计时等功能,在实现各功能时数码管进行相应显示,闹铃或定时时间到时蜂鸣器响,按下闹铃键或定时键时,声音停止。软件部分用汇编实现,分为显示、延迟、调时、闹铃、定时、调整日期等部分。通过软硬件结合达到最终目的。关键词: 电子钟 单片机 动态扫描 汇编语言下载后可任意编辑课程设计外文摘要Title Design of LED Show Electric Clock Based on Microprocessor AbstractThis design uses a 12 MHZ crystal to connect with the machine AT89C51, takes AT89C51 chips as core. It adopts the dynamic state of the scanning method to show. Using this MCU and 7407 drive electric circuit, we are able to show date, time, fix the time, make bell on 6 LED figures tubes. We can use 6 key to constitute date, adjust time, enact the bell and set the countdown timer. When the electric carrying out each function, the figures tube show the tight function .When the alarm clock and the countdown timer were reached, the voice begins. While 3 or 4 is pressed, the voice stops. The software part is realized by assembler language. It was divided into to show, delay, adjust, make bell, in fixed time, adjust date etc. part. We get the end purpose combining the software and the hardware.Keywords : Electric clock MCU Dynamic state scaning assembler language下载后可任意编辑目 次1 引言........................................