个人资料整理 仅限学习使用
4.6将生成的HEX文件添加到CPU中,点击运行按钮,进行仿真,观察实验结果如下图所示:
6 / 9
个人资料整理 仅限学习使用
五、设计总结。
通过对本次设计,我深刻理解了点阵LED点阵显示的原理,及其实现方法和流程,增强了动手操作的能力,提高单片机知识技术的运用能力,为以后的继续学习打下了良好的基础,达到了实验的目的。LDAYtRyKfE 六、参考文献
[1] 林志琦.基于Proteus的单片机可视化软硬件仿真[M].北京:北京航空航天大学出版
7 / 9
个人资料整理 仅限学习使用
社,2006.9Zzz6ZB2Ltk [2] 周润景,张丽娜.基于PROTEUS的电路及单片机系统设计与仿真[M].北京:北京航空航天大学出版社,2006.5dvzfvkwMI1 [3] 张靖武,周灵彬.单片机系统的PROTEUS设计与仿真[M].北京:电子工业出版社,2007.4rqyn14ZNXI [4] 周润景,张丽娜.PROTEUS入门实用教程[M].北京:机械工业出版社,2007.9
[5] 戴俊峰.嵌入式系统大屏幕LED点阵显示器[J].现代电子技术,2004,27(19>:68-89,72.EmxvxOtOco [6] 冯寿鹏.基于嵌入式系统的LED信息显示技术研究[J].现代电子技术,2005(1>:15-47.SixE2yXPq5 [7] 楼然苗,李光飞.51系列单片机设计实例[M].北京:北京航空航天大学出版社,2003.3 [8] 楼然苗,李光飞.单片机课程设计指导[M].北京:北京航空航天大学出版社,2007.7 [9].贾东耀,汪仁煌. 数字温度传感器在仓库温度检测系统的应用[J]. 传感器世界,2001<12).6ewMyirQFL [10] DALLAS DS18B20数据手册[Z].http://www.maximic.com
七、附录:实验源程序
ORG 0000H AJMP MAIN ORG 0030H
MAIN: MOV DPTR,#TAB MOV R1,#00H MOV R4,#96 CM: MOV R5,#5 MOV R3,#16 C1: MOV R2,#0 C16: MOV P0,#00H MOV P2,#00H CLR P3.0 MOV A,R2 MOVC A,@A+DPTR MOV P0,A INC R2 MOV A,R2 MOVC A,@A+DPTR MOV P2,A INC R2 MOV P1,R1 INC R1 ACALL D1MS
8 / 9
个人资料整理 仅限学习使用
ACALL D1MS DJNZ R3,C16 MOV R3,#16 DJNZ R5,C1 INC DPTR INC DPTR DJNZ R4,CM AJMP MAIN D1MS: MOV R6,#2 MOV R7,#248 DJNZ R7,$ DJNZ R6,$-4 RET TAB: DB
000H ,000H ,000H ,000H ,000H ,000H ,000H ,000H ,000H ,000H ,000H ,000H ,000H ,000H ,000H ,000H 。kavU42VRUs DB
000H ,000H ,000H ,000H ,000H ,000H ,000H ,000H ,000H ,000H ,000H ,000H ,000H ,000H ,000H ,000H 。\y6v3ALoS89 DB000H ,000H ,000H ,008H ,000H ,008H ,0E0H ,008H ,
0F4H ,00DH ,054H ,005H ,0F4H ,07FH ,0F8H ,07FH 。
DB 01EH ,005H ,0FEH ,005H ,0FAH ,006H ,010H ,002H ,M2ub6vSTnP 000H ,006H ,000H ,004H ,000H ,000H ,000H ,000H 。\单\0YujCfmUCw DB 000H ,000H ,000H ,000H ,000H ,010H ,000H ,01CH ,eUts8ZQVRd 0FCH ,00FH ,0FCH ,003H ,040H ,002H ,040H ,002H 。
DB 07EH ,07FH ,03EH ,07FH ,020H ,000H ,020H ,000H ,sQsAEJkW5T 000H ,000H ,000H ,000H ,000H ,000H ,000H ,000H 。\片\GMsIasNXkA DB 000H ,008H ,040H ,00CH ,040H ,006H ,0DCH ,03FH ,TIrRGchYzg 0FEH ,03FH ,022H ,011H ,020H ,01DH ,0F0H ,00FH 。 DB 0F0H ,003H ,0F0H ,00FH ,0F0H ,01FH ,010H ,010H ,7EqZcWLZNX 000H ,01CH ,000H ,01CH ,000H ,010H ,000H ,000H 。\机\lzq7IGf02E DB000H ,001H ,080H ,001H ,0C0H ,000H ,0F0H ,03FH ,
0FCH ,03FH ,04CH ,018H ,040H ,00CH ,040H ,027H 。
DB 0CCH ,063H ,0ECH ,079H ,028H ,01FH ,020H ,007H ,zvpgeqJ1hk 020H ,000H ,020H ,000H ,000H ,000H ,000H ,000H 。\仿\NrpoJac3v1 DB 000H ,000H ,000H ,010H ,000H ,098H ,000H ,0C8H ,1nowfTG4KI 0E8H ,06FH ,0E8H ,03FH ,07CH ,01BH ,07EH ,00AH 。
DB 0E6H ,03FH ,0E4H ,07FH ,004H ,06CH ,000H ,004H ,fjnFLDa5Zo 000H ,004H ,000H ,000H ,000H ,000H ,000H ,000H 。\真\tfnNhnE6e5 END
9 / 9