基于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

1 / 3
下载文档,编辑使用

©2015-2020 m.777doc.com 三七文档.

备案号:鲁ICP备2024069028号-1 客服联系 QQ:2149211541

×
保存成功