单片机课程设计-99秒倒计时.pdf

上传人:H****o 文档编号:56628331 上传时间:2022-11-02 格式:PDF 页数:5 大小:103.87KB
返回 下载 相关 举报
单片机课程设计-99秒倒计时.pdf_第1页
第1页 / 共5页
单片机课程设计-99秒倒计时.pdf_第2页
第2页 / 共5页
点击查看更多>>
资源描述

《单片机课程设计-99秒倒计时.pdf》由会员分享,可在线阅读,更多相关《单片机课程设计-99秒倒计时.pdf(5页珍藏版)》请在taowenge.com淘文阁网|工程机械CAD图纸|机械工程制图|CAD装配图下载|SolidWorks_CaTia_CAD_UG_PROE_设计图分享下载上搜索。

1、学习文档仅供参考单片机应用技术课程设计指导书合肥通用职业技术学院电气与电脑系二 OO 九年 11 月学习文档仅供参考单片机应用是一门很重要的专业课,它涉及到的理论及技术在工业过程控制、智能仪器仪表及家用电器中有非常广泛的应用,本课程设计的意义和目的在于:通过具体的应用实例,进一步将课本知识与实际应用融会、贯穿,以到达理论与实践相结合的教学目的。一 设计题目99 秒倒计时的设计二 总体要求1仔细阅读设计任务,根据设计的任务画出硬件电路原理图2用汇编语言编写出相应的程序,并上机编译,纠错。3将程序写入单片机,在学习板中试运行。4写出本课程设计的实际体会。5完成本课程设计报告 在报告中要有设计题目、

2、设计任务、设计要求、硬件电路图、软件程序和实际体会三 设计任务用两位共阳极数码管显示一99 秒倒计时时钟,要求计时时间准确,能实现动态显示。文档编码:CF7Z4G5K1J7 HK10U7S3P10S6 ZA4G1U7Y1X2文档编码:CF7Z4G5K1J7 HK10U7S3P10S6 ZA4G1U7Y1X2文档编码:CF7Z4G5K1J7 HK10U7S3P10S6 ZA4G1U7Y1X2文档编码:CF7Z4G5K1J7 HK10U7S3P10S6 ZA4G1U7Y1X2文档编码:CF7Z4G5K1J7 HK10U7S3P10S6 ZA4G1U7Y1X2文档编码:CF7Z4G5K1J7 HK1

3、0U7S3P10S6 ZA4G1U7Y1X2文档编码:CF7Z4G5K1J7 HK10U7S3P10S6 ZA4G1U7Y1X2文档编码:CF7Z4G5K1J7 HK10U7S3P10S6 ZA4G1U7Y1X2文档编码:CF7Z4G5K1J7 HK10U7S3P10S6 ZA4G1U7Y1X2文档编码:CF7Z4G5K1J7 HK10U7S3P10S6 ZA4G1U7Y1X2文档编码:CF7Z4G5K1J7 HK10U7S3P10S6 ZA4G1U7Y1X2文档编码:CF7Z4G5K1J7 HK10U7S3P10S6 ZA4G1U7Y1X2文档编码:CF7Z4G5K1J7 HK10U7S3P

4、10S6 ZA4G1U7Y1X2文档编码:CF7Z4G5K1J7 HK10U7S3P10S6 ZA4G1U7Y1X2文档编码:CF7Z4G5K1J7 HK10U7S3P10S6 ZA4G1U7Y1X2文档编码:CF7Z4G5K1J7 HK10U7S3P10S6 ZA4G1U7Y1X2文档编码:CF7Z4G5K1J7 HK10U7S3P10S6 ZA4G1U7Y1X2文档编码:CF7Z4G5K1J7 HK10U7S3P10S6 ZA4G1U7Y1X2文档编码:CF7Z4G5K1J7 HK10U7S3P10S6 ZA4G1U7Y1X2文档编码:CF7Z4G5K1J7 HK10U7S3P10S6 Z

5、A4G1U7Y1X2文档编码:CF7Z4G5K1J7 HK10U7S3P10S6 ZA4G1U7Y1X2文档编码:CF7Z4G5K1J7 HK10U7S3P10S6 ZA4G1U7Y1X2文档编码:CF7Z4G5K1J7 HK10U7S3P10S6 ZA4G1U7Y1X2文档编码:CF7Z4G5K1J7 HK10U7S3P10S6 ZA4G1U7Y1X2文档编码:CF7Z4G5K1J7 HK10U7S3P10S6 ZA4G1U7Y1X2文档编码:CF7Z4G5K1J7 HK10U7S3P10S6 ZA4G1U7Y1X2文档编码:CF7Z4G5K1J7 HK10U7S3P10S6 ZA4G1U7

6、Y1X2文档编码:CF7Z4G5K1J7 HK10U7S3P10S6 ZA4G1U7Y1X2文档编码:CF7Z4G5K1J7 HK10U7S3P10S6 ZA4G1U7Y1X2文档编码:CF7Z4G5K1J7 HK10U7S3P10S6 ZA4G1U7Y1X2文档编码:CF7Z4G5K1J7 HK10U7S3P10S6 ZA4G1U7Y1X2文档编码:CF7Z4G5K1J7 HK10U7S3P10S6 ZA4G1U7Y1X2文档编码:CF7Z4G5K1J7 HK10U7S3P10S6 ZA4G1U7Y1X2文档编码:CF7Z4G5K1J7 HK10U7S3P10S6 ZA4G1U7Y1X2文档

7、编码:CF7Z4G5K1J7 HK10U7S3P10S6 ZA4G1U7Y1X2文档编码:CF7Z4G5K1J7 HK10U7S3P10S6 ZA4G1U7Y1X2文档编码:CF7Z4G5K1J7 HK10U7S3P10S6 ZA4G1U7Y1X2文档编码:CF7Z4G5K1J7 HK10U7S3P10S6 ZA4G1U7Y1X2文档编码:CF7Z4G5K1J7 HK10U7S3P10S6 ZA4G1U7Y1X2文档编码:CF7Z4G5K1J7 HK10U7S3P10S6 ZA4G1U7Y1X2文档编码:CF7Z4G5K1J7 HK10U7S3P10S6 ZA4G1U7Y1X2文档编码:CF7

8、Z4G5K1J7 HK10U7S3P10S6 ZA4G1U7Y1X2文档编码:CF7Z4G5K1J7 HK10U7S3P10S6 ZA4G1U7Y1X2文档编码:CF7Z4G5K1J7 HK10U7S3P10S6 ZA4G1U7Y1X2文档编码:CF7Z4G5K1J7 HK10U7S3P10S6 ZA4G1U7Y1X2文档编码:CF7Z4G5K1J7 HK10U7S3P10S6 ZA4G1U7Y1X2文档编码:CF7Z4G5K1J7 HK10U7S3P10S6 ZA4G1U7Y1X2文档编码:CF7Z4G5K1J7 HK10U7S3P10S6 ZA4G1U7Y1X2学习文档仅供参考四 系统的硬

9、件电路原理图如下:文档编码:CF7Z4G5K1J7 HK10U7S3P10S6 ZA4G1U7Y1X2文档编码:CF7Z4G5K1J7 HK10U7S3P10S6 ZA4G1U7Y1X2文档编码:CF7Z4G5K1J7 HK10U7S3P10S6 ZA4G1U7Y1X2文档编码:CF7Z4G5K1J7 HK10U7S3P10S6 ZA4G1U7Y1X2文档编码:CF7Z4G5K1J7 HK10U7S3P10S6 ZA4G1U7Y1X2文档编码:CF7Z4G5K1J7 HK10U7S3P10S6 ZA4G1U7Y1X2文档编码:CF7Z4G5K1J7 HK10U7S3P10S6 ZA4G1U7Y

10、1X2文档编码:CF7Z4G5K1J7 HK10U7S3P10S6 ZA4G1U7Y1X2文档编码:CF7Z4G5K1J7 HK10U7S3P10S6 ZA4G1U7Y1X2文档编码:CF7Z4G5K1J7 HK10U7S3P10S6 ZA4G1U7Y1X2文档编码:CF7Z4G5K1J7 HK10U7S3P10S6 ZA4G1U7Y1X2文档编码:CF7Z4G5K1J7 HK10U7S3P10S6 ZA4G1U7Y1X2文档编码:CF7Z4G5K1J7 HK10U7S3P10S6 ZA4G1U7Y1X2文档编码:CF7Z4G5K1J7 HK10U7S3P10S6 ZA4G1U7Y1X2文档编

11、码:CF7Z4G5K1J7 HK10U7S3P10S6 ZA4G1U7Y1X2文档编码:CF7Z4G5K1J7 HK10U7S3P10S6 ZA4G1U7Y1X2文档编码:CF7Z4G5K1J7 HK10U7S3P10S6 ZA4G1U7Y1X2文档编码:CF7Z4G5K1J7 HK10U7S3P10S6 ZA4G1U7Y1X2文档编码:CF7Z4G5K1J7 HK10U7S3P10S6 ZA4G1U7Y1X2文档编码:CF7Z4G5K1J7 HK10U7S3P10S6 ZA4G1U7Y1X2文档编码:CF7Z4G5K1J7 HK10U7S3P10S6 ZA4G1U7Y1X2文档编码:CF7Z

12、4G5K1J7 HK10U7S3P10S6 ZA4G1U7Y1X2文档编码:CF7Z4G5K1J7 HK10U7S3P10S6 ZA4G1U7Y1X2文档编码:CF7Z4G5K1J7 HK10U7S3P10S6 ZA4G1U7Y1X2文档编码:CF7Z4G5K1J7 HK10U7S3P10S6 ZA4G1U7Y1X2文档编码:CF7Z4G5K1J7 HK10U7S3P10S6 ZA4G1U7Y1X2文档编码:CF7Z4G5K1J7 HK10U7S3P10S6 ZA4G1U7Y1X2文档编码:CF7Z4G5K1J7 HK10U7S3P10S6 ZA4G1U7Y1X2文档编码:CF7Z4G5K1J

13、7 HK10U7S3P10S6 ZA4G1U7Y1X2文档编码:CF7Z4G5K1J7 HK10U7S3P10S6 ZA4G1U7Y1X2文档编码:CF7Z4G5K1J7 HK10U7S3P10S6 ZA4G1U7Y1X2文档编码:CF7Z4G5K1J7 HK10U7S3P10S6 ZA4G1U7Y1X2文档编码:CF7Z4G5K1J7 HK10U7S3P10S6 ZA4G1U7Y1X2文档编码:CF7Z4G5K1J7 HK10U7S3P10S6 ZA4G1U7Y1X2文档编码:CF7Z4G5K1J7 HK10U7S3P10S6 ZA4G1U7Y1X2文档编码:CF7Z4G5K1J7 HK10

14、U7S3P10S6 ZA4G1U7Y1X2文档编码:CF7Z4G5K1J7 HK10U7S3P10S6 ZA4G1U7Y1X2文档编码:CF7Z4G5K1J7 HK10U7S3P10S6 ZA4G1U7Y1X2文档编码:CF7Z4G5K1J7 HK10U7S3P10S6 ZA4G1U7Y1X2文档编码:CF7Z4G5K1J7 HK10U7S3P10S6 ZA4G1U7Y1X2文档编码:CF7Z4G5K1J7 HK10U7S3P10S6 ZA4G1U7Y1X2文档编码:CF7Z4G5K1J7 HK10U7S3P10S6 ZA4G1U7Y1X2文档编码:CF7Z4G5K1J7 HK10U7S3P1

15、0S6 ZA4G1U7Y1X2文档编码:CF7Z4G5K1J7 HK10U7S3P10S6 ZA4G1U7Y1X2文档编码:CF7Z4G5K1J7 HK10U7S3P10S6 ZA4G1U7Y1X2文档编码:CF7Z4G5K1J7 HK10U7S3P10S6 ZA4G1U7Y1X2文档编码:CF7Z4G5K1J7 HK10U7S3P10S6 ZA4G1U7Y1X2文档编码:CF7Z4G5K1J7 HK10U7S3P10S6 ZA4G1U7Y1X2学习文档仅供参考五 程序框图如下:程序:MIAO EQU 30H GEWEI EQU 31H SHIWEI EQU 32H SCANLED EQU 2

16、0H BUFF_164 equ 34h ORG 000H JMP START ORG 0BH JMP TIMER0 ORG 100H START:MOV SP,#40H MOV R0,#20H MOV R5,#20 CLR0:MOV R0,#00H INC R0 DJNZ R5,CLR0 MOV TMOD,#01H MOV TH0,#HIGH(65536-5000)MOV TL0,#LOW(65536-5000)SETB TR0 MOV IE,#10000010B MOV R7,#200 MOV P0,#0FFH MOV P1,#0FFH MOV P2,#0FFH MOV P3,#0FFH M

17、OV MIAO,#63H AJMP$TIMER0:PUSH ACC PUSH PSW MOV TH0,#HIGH(65536-5000)MOV TL0,#LOW(65536-5000)DJNZ R7,A2 MOV R7,#200 MOV A,MIAO 文档编码:CF7Z4G5K1J7 HK10U7S3P10S6 ZA4G1U7Y1X2文档编码:CF7Z4G5K1J7 HK10U7S3P10S6 ZA4G1U7Y1X2文档编码:CF7Z4G5K1J7 HK10U7S3P10S6 ZA4G1U7Y1X2文档编码:CF7Z4G5K1J7 HK10U7S3P10S6 ZA4G1U7Y1X2文档编码:C

18、F7Z4G5K1J7 HK10U7S3P10S6 ZA4G1U7Y1X2文档编码:CF7Z4G5K1J7 HK10U7S3P10S6 ZA4G1U7Y1X2文档编码:CF7Z4G5K1J7 HK10U7S3P10S6 ZA4G1U7Y1X2文档编码:CF7Z4G5K1J7 HK10U7S3P10S6 ZA4G1U7Y1X2文档编码:CF7Z4G5K1J7 HK10U7S3P10S6 ZA4G1U7Y1X2文档编码:CF7Z4G5K1J7 HK10U7S3P10S6 ZA4G1U7Y1X2文档编码:CF7Z4G5K1J7 HK10U7S3P10S6 ZA4G1U7Y1X2文档编码:CF7Z4G5

19、K1J7 HK10U7S3P10S6 ZA4G1U7Y1X2文档编码:CF7Z4G5K1J7 HK10U7S3P10S6 ZA4G1U7Y1X2文档编码:CF7Z4G5K1J7 HK10U7S3P10S6 ZA4G1U7Y1X2文档编码:CF7Z4G5K1J7 HK10U7S3P10S6 ZA4G1U7Y1X2文档编码:CF7Z4G5K1J7 HK10U7S3P10S6 ZA4G1U7Y1X2文档编码:CF7Z4G5K1J7 HK10U7S3P10S6 ZA4G1U7Y1X2文档编码:CF7Z4G5K1J7 HK10U7S3P10S6 ZA4G1U7Y1X2文档编码:CF7Z4G5K1J7 H

20、K10U7S3P10S6 ZA4G1U7Y1X2文档编码:CF7Z4G5K1J7 HK10U7S3P10S6 ZA4G1U7Y1X2文档编码:CF7Z4G5K1J7 HK10U7S3P10S6 ZA4G1U7Y1X2文档编码:CF7Z4G5K1J7 HK10U7S3P10S6 ZA4G1U7Y1X2文档编码:CF7Z4G5K1J7 HK10U7S3P10S6 ZA4G1U7Y1X2文档编码:CF7Z4G5K1J7 HK10U7S3P10S6 ZA4G1U7Y1X2文档编码:CF7Z4G5K1J7 HK10U7S3P10S6 ZA4G1U7Y1X2文档编码:CF7Z4G5K1J7 HK10U7S

21、3P10S6 ZA4G1U7Y1X2文档编码:CF7Z4G5K1J7 HK10U7S3P10S6 ZA4G1U7Y1X2文档编码:CF7Z4G5K1J7 HK10U7S3P10S6 ZA4G1U7Y1X2文档编码:CF7Z4G5K1J7 HK10U7S3P10S6 ZA4G1U7Y1X2文档编码:CF7Z4G5K1J7 HK10U7S3P10S6 ZA4G1U7Y1X2文档编码:CF7Z4G5K1J7 HK10U7S3P10S6 ZA4G1U7Y1X2文档编码:CF7Z4G5K1J7 HK10U7S3P10S6 ZA4G1U7Y1X2文档编码:CF7Z4G5K1J7 HK10U7S3P10S6

22、 ZA4G1U7Y1X2文档编码:CF7Z4G5K1J7 HK10U7S3P10S6 ZA4G1U7Y1X2文档编码:CF7Z4G5K1J7 HK10U7S3P10S6 ZA4G1U7Y1X2文档编码:CF7Z4G5K1J7 HK10U7S3P10S6 ZA4G1U7Y1X2文档编码:CF7Z4G5K1J7 HK10U7S3P10S6 ZA4G1U7Y1X2文档编码:CF7Z4G5K1J7 HK10U7S3P10S6 ZA4G1U7Y1X2文档编码:CF7Z4G5K1J7 HK10U7S3P10S6 ZA4G1U7Y1X2文档编码:CF7Z4G5K1J7 HK10U7S3P10S6 ZA4G1

23、U7Y1X2文档编码:CF7Z4G5K1J7 HK10U7S3P10S6 ZA4G1U7Y1X2文档编码:CF7Z4G5K1J7 HK10U7S3P10S6 ZA4G1U7Y1X2文档编码:CF7Z4G5K1J7 HK10U7S3P10S6 ZA4G1U7Y1X2文档编码:CF7Z4G5K1J7 HK10U7S3P10S6 ZA4G1U7Y1X2文档编码:CF7Z4G5K1J7 HK10U7S3P10S6 ZA4G1U7Y1X2文档编码:CF7Z4G5K1J7 HK10U7S3P10S6 ZA4G1U7Y1X2文档编码:CF7Z4G5K1J7 HK10U7S3P10S6 ZA4G1U7Y1X2

24、文档编码:CF7Z4G5K1J7 HK10U7S3P10S6 ZA4G1U7Y1X2学习文档仅供参考DEC A MOV MIAO,A CJNE A,#0FFH,A2 MOV MIAO,#63H A2:MOV A,MIAO LCALL BIN_BCD MOV SHIWEI,A MOV GEWEI,B inc SCANLED JB SCANLED.0,SCAN_L1 SCAN_L2:mov p0,#11011111B MOV A,GEWEI JMP END_SCAN SCAN_L1:mov p0,#11101111B MOV A,SHIWEI END_SCAN:MOV DPTR,#TABLE MO

25、VC A,A+DPTR lcall send164 POP PSW POP ACC RETI SEND164:MOV BUFF_164,#08;发送数据到74164 PUSH ACC SND164_LP:CLR CLK164 RLC A MOV DAT164,C SETB CLK164 DJNZ BUFF_164,SND164_LP POP ACC RET BIN_BCD:MOV B,#10 DIV AB RET TABLE:DB 0C0H,0F9H,0A4H,0B0H,99H,92H,82H,0F8H,80H,90H END 文档编码:CF7Z4G5K1J7 HK10U7S3P10S6 ZA

26、4G1U7Y1X2文档编码:CF7Z4G5K1J7 HK10U7S3P10S6 ZA4G1U7Y1X2文档编码:CF7Z4G5K1J7 HK10U7S3P10S6 ZA4G1U7Y1X2文档编码:CF7Z4G5K1J7 HK10U7S3P10S6 ZA4G1U7Y1X2文档编码:CF7Z4G5K1J7 HK10U7S3P10S6 ZA4G1U7Y1X2文档编码:CF7Z4G5K1J7 HK10U7S3P10S6 ZA4G1U7Y1X2文档编码:CF7Z4G5K1J7 HK10U7S3P10S6 ZA4G1U7Y1X2文档编码:CF7Z4G5K1J7 HK10U7S3P10S6 ZA4G1U7Y

27、1X2文档编码:CF7Z4G5K1J7 HK10U7S3P10S6 ZA4G1U7Y1X2文档编码:CF7Z4G5K1J7 HK10U7S3P10S6 ZA4G1U7Y1X2文档编码:CF7Z4G5K1J7 HK10U7S3P10S6 ZA4G1U7Y1X2文档编码:CF7Z4G5K1J7 HK10U7S3P10S6 ZA4G1U7Y1X2文档编码:CF7Z4G5K1J7 HK10U7S3P10S6 ZA4G1U7Y1X2文档编码:CF7Z4G5K1J7 HK10U7S3P10S6 ZA4G1U7Y1X2文档编码:CF7Z4G5K1J7 HK10U7S3P10S6 ZA4G1U7Y1X2文档编

28、码:CF7Z4G5K1J7 HK10U7S3P10S6 ZA4G1U7Y1X2文档编码:CF7Z4G5K1J7 HK10U7S3P10S6 ZA4G1U7Y1X2文档编码:CF7Z4G5K1J7 HK10U7S3P10S6 ZA4G1U7Y1X2文档编码:CF7Z4G5K1J7 HK10U7S3P10S6 ZA4G1U7Y1X2文档编码:CF7Z4G5K1J7 HK10U7S3P10S6 ZA4G1U7Y1X2文档编码:CF7Z4G5K1J7 HK10U7S3P10S6 ZA4G1U7Y1X2文档编码:CF7Z4G5K1J7 HK10U7S3P10S6 ZA4G1U7Y1X2文档编码:CF7Z

29、4G5K1J7 HK10U7S3P10S6 ZA4G1U7Y1X2文档编码:CF7Z4G5K1J7 HK10U7S3P10S6 ZA4G1U7Y1X2文档编码:CF7Z4G5K1J7 HK10U7S3P10S6 ZA4G1U7Y1X2文档编码:CF7Z4G5K1J7 HK10U7S3P10S6 ZA4G1U7Y1X2文档编码:CF7Z4G5K1J7 HK10U7S3P10S6 ZA4G1U7Y1X2文档编码:CF7Z4G5K1J7 HK10U7S3P10S6 ZA4G1U7Y1X2文档编码:CF7Z4G5K1J7 HK10U7S3P10S6 ZA4G1U7Y1X2文档编码:CF7Z4G5K1J

30、7 HK10U7S3P10S6 ZA4G1U7Y1X2文档编码:CF7Z4G5K1J7 HK10U7S3P10S6 ZA4G1U7Y1X2文档编码:CF7Z4G5K1J7 HK10U7S3P10S6 ZA4G1U7Y1X2文档编码:CF7Z4G5K1J7 HK10U7S3P10S6 ZA4G1U7Y1X2文档编码:CF7Z4G5K1J7 HK10U7S3P10S6 ZA4G1U7Y1X2文档编码:CF7Z4G5K1J7 HK10U7S3P10S6 ZA4G1U7Y1X2文档编码:CF7Z4G5K1J7 HK10U7S3P10S6 ZA4G1U7Y1X2文档编码:CF7Z4G5K1J7 HK10

31、U7S3P10S6 ZA4G1U7Y1X2文档编码:CF7Z4G5K1J7 HK10U7S3P10S6 ZA4G1U7Y1X2文档编码:CF7Z4G5K1J7 HK10U7S3P10S6 ZA4G1U7Y1X2文档编码:CF7Z4G5K1J7 HK10U7S3P10S6 ZA4G1U7Y1X2文档编码:CF7Z4G5K1J7 HK10U7S3P10S6 ZA4G1U7Y1X2文档编码:CF7Z4G5K1J7 HK10U7S3P10S6 ZA4G1U7Y1X2文档编码:CF7Z4G5K1J7 HK10U7S3P10S6 ZA4G1U7Y1X2文档编码:CF7Z4G5K1J7 HK10U7S3P10S6 ZA4G1U7Y1X2文档编码:CF7Z4G5K1J7 HK10U7S3P10S6 ZA4G1U7Y1X2文档编码:CF7Z4G5K1J7 HK10U7S3P10S6 ZA4G1U7Y1X2文档编码:CF7Z4G5K1J7 HK10U7S3P10S6 ZA4G1U7Y1X2文档编码:CF7Z4G5K1J7 HK10U7S3P10S6 ZA4G1U7Y1X2

展开阅读全文
相关资源
相关搜索

当前位置:首页 > 教育专区 > 高考资料

本站为文档C TO C交易模式,本站只提供存储空间、用户上传的文档直接被用户下载,本站只是中间服务平台,本站所有文档下载所得的收益归上传人(含作者)所有。本站仅对用户上传内容的表现方式做保护处理,对上载内容本身不做任何修改或编辑。若文档所含内容侵犯了您的版权或隐私,请立即通知淘文阁网,我们立即给予删除!客服QQ:136780468 微信:18945177775 电话:18904686070

工信部备案号:黑ICP备15003705号© 2020-2023 www.taowenge.com 淘文阁