资源描述:
《试述学年论文正文》由会员上传分享,免费在线阅读,更多相关内容在学术论文-天天文库。
1、试述学年论文正文试述学年论文正文导读:ththechecksum,ifthesameislights.Keyicroputer;Assembleprogram;Interfacetechnology;Encapsulationandsimulation河北大学2014届本科生学年论文(课程设计)目录1引言................................................12总体设计..............................河北大学2015届本科生学年论文(课程设计)基于AT89C51
2、的双机串行通信设计摘要本文利用ATMEL公司的两片单片机AT89C51,采用RS232,通过KEIL软件汇编编程和PROTUES软件仿真,最终完成双机的串行通信。设计要求为:两片单片机之间进行串行通信,发送端通过串行口TXD将0~F循环发送到接收端,完成后在接收端的LED灯亮。软件部分设计:通过通信协议进行发送接收,主机收到从机的接收信号后,向从机发送16个数据与校验和,从机接收数据并与校验和比较,若相同则灯亮。关键词:AT89C51单片机;汇编程序;接口技术;仿真及封装河北大学2015届本科生学年论文(课程设计)Thedesig
3、noftheDualSerialmunicationssystembasedontheAT89C51ABSTRACTThispaperusesticrocontrollerAT89C51madebyATMELCorporation,usingRS232,programmingbyKEILsoftulattingbyPROTUESsoftunicationdoublemachine.Designrequirements:serialmunicationbeticrocontrollers,thesendersends0~Ftothe
4、receiverbyviaserialportTXD,atthereceivingendafterthepletionofLEDlights.Softittingandreceivingviathemunicationprotocol,thehostmachineafterreceivingasignalfromtheslavemachine,sends16datasandthechecksum,thentheslavemachinereceivesdatasandpares,ifthesameislights.Keyicropu
5、ter;Assembleprogram;Interfacetechnology;Encapsulationandsimulation河北大学2014届本科生学年论文(课程设计)目录1引言................................................总体设计...............................................23硬件系统设计...........................................33.1AT89C51简介............
6、............................33.2整体电路设计...........................................44软件系统设计........................................54.1串行通信软件实现.......................................54.2程序流程图.............................................64.3源程序...........................
7、......................74.4系统调试...............................................105设计总结...............................................11试述学年论文正文(2)导读:BBH;是1号机联络信号,发应答信号JNBTI,$CLRTIMOVR0,#40HMOVR7,#10HMOVR6,#00HLOOP2:JNBRI,$CLRRIMOVA,SBUFMOVR0,AINCR0ADDA,R6MOVR6,ADJNZR7,L
8、OOP2JNBRI,$CLRRIMOVA,SBUFXRLA,R6JZEND1MOVSBUF,#0FFHJNBTI,$CLRTIEND1:SETBP1.0MOVSBUF,#00HEND;设定数据块地址PSEN:外部程序存储器的选通信号。RST:复位输