资源描述:
《单片机应用技术与实训项目任务单》由会员上传分享,免费在线阅读,更多相关内容在工程资料-天天文库。
1、国家级骨干教师培训课程单片机应用技术实训项目广东技术师范学院师培中心电子与信息学院韩克编写otherstaffoftheCentre.Duringthewar,ZhuwastransferredbacktoJiangxi,andDirectorofthenewOfficeinJingdezhen,JiangxiCommitteeSecretary.Startingin1939servedasrecorderoftheWestNorthOrganization,SecretaryoftheSpecialCommitteeAfterthevictoryofthelongMarch,hehas
2、beentheNorthwestOfficeoftheFederationofStateenterprisesMinister,ShenmufuguSARmissions,DirectorofNingxiaCountypartyCommitteeSecretaryandrecorderoftheCountypartyCommitteeSecretary,Ministersand29实训项目一1.实训目的⑴掌握汇编语言程序的基本结构。⑵了解汇编语言程序设计的基本方法和思路。⑶实现8个发光二极管闪动点亮状态,并不断循环。2.实训设备与器件微机、LTE-3000TB单片机开发系统箱、烧录器、M
3、CS-51芯片等。3.实训步骤⑴在keilC51uVision2软件开发平台上建立工程项目、建立asm汇编程序文件、导入目标源组、生成十六进制代码。⑵软件调试与仿真,观察程序运行情况等。⑶硬件调试与仿真,观察8个发光二极管的点亮状态是否与设计要求相符。⑷烧录(固化)芯片,实际运行电路。比较及观察是否与硬件仿真结果相同。4.实训电路实验平台上有8只发光二极管,由74HC245驱动器,以显示电平状态。高电平“1”点亮发光二极管。实训一电路图otherstaffoftheCentre.Duringthewar,ZhuwastransferredbacktoJiangxi,andDirector
4、ofthenewOfficeinJingdezhen,JiangxiCommitteeSecretary.Startingin1939servedasrecorderoftheWestNorthOrganization,SecretaryoftheSpecialCommitteeAfterthevictoryofthelongMarch,hehasbeentheNorthwestOfficeoftheFederationofStateenterprisesMinister,ShenmufuguSARmissions,DirectorofNingxiaCountypartyCommitte
5、eSecretaryandrecorderoftheCountypartyCommitteeSecretary,Ministersand295.程序流程图开始点亮8个发光二极管延时8个发光二极管结束延时6.程序清单ORG0000HSTART:MOVP1,#00HACALLDELAYMOVP1,#0FFHACALLDELAYAJMPSTARTDELAY:MOVR3,#7FHDEL2:MOVR4,#0FFHDEL1:NOPDJNZR4,DEL1DJNZR3,DEL2RETENDotherstaffoftheCentre.Duringthewar,Zhuwastransferredbackto
6、Jiangxi,andDirectorofthenewOfficeinJingdezhen,JiangxiCommitteeSecretary.Startingin1939servedasrecorderoftheWestNorthOrganization,SecretaryoftheSpecialCommitteeAfterthevictoryofthelongMarch,hehasbeentheNorthwestOfficeoftheFederationofStateenterprisesMinister,ShenmufuguSARmissions,DirectorofNingxia
7、CountypartyCommitteeSecretaryandrecorderoftheCountypartyCommitteeSecretary,Ministersand29实训项目二1.实训目的⑴掌握汇编语言程序的基本结构。⑵了解汇编语言程序设计的基本方法和思路。⑶编程实现P1口连接的8个LED显示方式如下:从P1.0到P1.7的顺序,依次点亮其连接的LED,并不断循环。2.实训设备与器件微机、LTE-3000TB单片机开发系