您好,欢迎访问三七文档
当前位置:首页 > 行业资料 > 其它行业文档 > 基于proteus的单片机虚拟实验平台的开发
:1671-5977(2008)03-0107-03Proteus:2008205218:(19792),,,,(,030009):,,,,,,,,,:;;;Proteus:TP368.2:A1,,,,,,Proteus[1],SPICE,Proteus,,Proteus,,,2ProteusProteusISISLabcenterWindows,(SPICE),:(1)SPICERS232I2CSPILCD;,(2):680008051AVRPIC12PIC16PIC18Z80HC11(3),,,;,KeilC51[2]Vision2(4),SPICE,,Proteus3,,,,Proteus,:3.1KeilCProteusKeilCProteusC:\ProgramFiles,C:\ProgramFiles\LabcenterElectronics\Proteus6Professional\MODELS\VDM51.dllC:\ProgramFiles\keilC\C51\BIN3.2C:\ProgramFiles\keilC\C51\TOOLS.INI,[C51]701200899335JournalofTaiyuanUniversityVol.9No.3SumNo.35:TDRV5=BIN\VDM51.DLL(ProteusVSMMonitor251Driver)TDRV55,(12)3.3KeilCLEDKeilCVision2,(Project),CPU(:AtmelAT89C51)KeilC:#defineLEDS6#includereg51.h//ledunsignedcharcodeSelect[]={0x01,0x02,0x04,0x08,0x10,0x20};unsignedcharcodeLED-CODES[]={0xc0,0xF9,0xA4,0xB0,0x99,//0-40x92,0x82,0xF8,0x80,0x90,//5-90x88,0x83,0xC6,0xA1,0x86,//A,b,C,d,E0x8E,0xFF,0x0C,0x89,0x7F,0xBF//F,,P,H,.,-};voidmain(){chari=0;longintj;while(1){P2=0;P1=LED-CODES[i];P2=Select[i];for(j=3000;j0;j--);//LED,i,//,,i++;if(i5)i=0;}}3.4KeilCProject/OptionsforTargetoptionfortarget,,Debug,1KeilCProteusVSMMonitor51DriverUse,Setting,,Host127.0.0.1,,IP(Proteus)Port80002,OK,,3.5ProteusProteusISIS,Debug,useremotedebuggermonitor,,KeilCProteus3.6ProteusProteusISIS,33,AT89C51P1LED(abcdefgdp),P2LED(123456),,3.7KeilCProteus,,,801LED,0123454,,:Proteus,,,,,,:[1].8051[M].:,2004:1052133.[2].8051C[M].:,2002:2382277.[:]DevelopmentoftheVirtualExperimentalPlatformofMCUBasedonProteusYANGLi2bo(ComputerEngineeringDepartment,TaiyuanUniversity,Taiyuan030009,China)Abstract:ItisnecessarytoimplementreformonHigherVocationalEducationPracticeTeaching.ThecoredutyofMCUonpracticeisthedesignofsystembasedonexperimentboxinlab,thenwritedesignreport.However,theformerexperimentalequipmentshavealargelimitation,whichisdifficulttodevelopcreativityandlearninginitiativeofstudents.Hence,wecarryoutaninnovationoftheexperimentsystemofMCU,fullymakeuseofmoderntechnology,andconstructapracticeplatformbasedonsimulation.Bythisway,studentscanrealizeanydesignofMCUaccordingtotheirthoughts.Sotheycanlearntoapplyandapplytopromotelearning,atthesametime,savedisposablematerials.Keywords:MCU;reform;experimentalplatform;Proteus901
本文标题:基于proteus的单片机虚拟实验平台的开发
链接地址:https://www.777doc.com/doc-28679 .html