学生实验报告(参考样本)学院:软件与通信工程课程名称:单片机原理专业班级:通信101姓名:学号:学生实验报告学生姓名学号同组人实验项目指示灯、数码管的中断控制□必修□选修□演示性实验□验证性实验□操作性实验□综合性实验实验地点绘庐实验仪器台号指导教师实验日期及节次一、实验目的及要求:1、目的掌握外部中断原理,学习中断编程与程序调试方法。2、内容及要求熟悉uvision3的软件调试方法;完成c51语言编程练习uvision3与ISIS的联机仿真方法三、实验方法与步骤:#includereg51.hsbitP0_4=P0^4;unsignedcharcount=0;unsignedcharled_mod[]={0x3f,0x06,0x5b,0x4f,0x66,0x6d,0x7d,0x07,0x7f,0x6f,0x77,0x7c,0x58,0x5e,0x79,0x71};voidmain(){P2=0x00;P0_4=0;EA=1;EX1=EX0=1;IT1=IT0=1;while(1);}voidINT_0SVR()interrupt0{P0_4=!P0_4;}voidINT_1SVR()interrupt2{count++;if(count==16)count=1;P2=led_mod[count];}四、实验结果与数据处理:XTAL218XTAL119ALE30EA31PSEN29RST9P0.0/AD039P0.1/AD138P0.2/AD237P0.3/AD336P0.4/AD435P0.5/AD534P0.6/AD633P0.7/AD732P1.01P1.12P1.23P1.34P1.45P1.56P1.67P1.78P3.0/RXD10P3.1/TXD11P3.2/INT012P3.3/INT113P3.4/T014P3.7/RD17P3.6/WR16P3.5/T115P2.7/A1528P2.0/A821P2.1/A922P2.2/A1023P2.3/A1124P2.4/A1225P2.5/A1326P2.6/A1427U1AT89C51D1LED-REDR2100R1100XTAL218XTAL119ALE30EA31PSEN29RST9P0.0/AD039P0.1/AD138P0.2/AD237P0.3/AD336P0.4/AD435P0.5/AD534P0.6/AD633P0.7/AD732P1.01P1.12P1.23P1.34P1.45P1.56P1.67P1.78P3.0/RXD10P3.1/TXD11P3.2/INT012P3.3/INT113P3.4/T014P3.7/RD17P3.6/WR16P3.5/T115P2.7/A1528P2.0/A821P2.1/A922P2.2/A1023P2.3/A1124P2.4/A1225P2.5/A1326P2.6/A1427U1AT89C51D1LED-REDR2100R1100田桃花XTAL218XTAL119ALE30EA31PSEN29RST9P0.0/AD039P0.1/AD138P0.2/AD237P0.3/AD336P0.4/AD435P0.5/AD534P0.6/AD633P0.7/AD732P1.01P1.12P1.23P1.34P1.45P1.56P1.67P1.78P3.0/RXD10P3.1/TXD11P3.2/INT012P3.3/INT113P3.4/T014P3.7/RD17P3.6/WR16P3.5/T115P2.7/A1528P2.0/A821P2.1/A922P2.2/A1023P2.3/A1124P2.4/A1225P2.5/A1326P2.6/A1427U1AT89C51D1LED-REDR2100R1100XTAL218XTAL119ALE30EA31PSEN29RST9P0.0/AD039P0.1/AD138P0.2/AD237P0.3/AD336P0.4/AD435P0.5/AD534P0.6/AD633P0.7/AD732P1.01P1.12P1.23P1.34P1.45P1.56P1.67P1.78P3.0/RXD10P3.1/TXD11P3.2/INT012P3.3/INT113P3.4/T014P3.7/RD17P3.6/WR16P3.5/T115P2.7/A1528P2.0/A821P2.1/A922P2.2/A1023P2.3/A1124P2.4/A1225P2.5/A1326P2.6/A1427U1AT89C51D1LED-REDR2100R1100XTAL218XTAL119ALE30EA31PSEN29RST9P0.0/AD039P0.1/AD138P0.2/AD237P0.3/AD336P0.4/AD435P0.5/AD534P0.6/AD633P0.7/AD732P1.01P1.12P1.23P1.34P1.45P1.56P1.67P1.78P3.0/RXD10P3.1/TXD11P3.2/INT012P3.3/INT113P3.4/T014P3.7/RD17P3.6/WR16P3.5/T115P2.7/A1528P2.0/A821P2.1/A922P2.2/A1023P2.3/A1124P2.4/A1225P2.5/A1326P2.6/A1427U1AT89C51D1LED-REDR2100R1100五、讨论与结论通过做此次实验,了解了相关中断的知识,了解了自己有关中断知识的不足,有待学习。六、指导教师评语及成绩:评语:指导教师依据学生的实际报告内容,用简练语言给出本次实验报告的评价和价值成绩:指导教师签名:批阅日期:学生实验报告(理、工科类专业用)学生姓名学号同组人实验项目□必修□选修□演示性实验□验证性实验□操作性实验□综合性实验实验地点实验仪器台号指导教师实验日期及节次一、实验综述1、实验目的及要求目的要明确,要抓住重点,符合实验指导书中的要求(使用时斜体字删去,下同)2、实验仪器、设备或软件实验所使用的仪器设备、工具等的名称及规格。二、实验过程(实验步骤、记录、数据、分析)写明具体实施的步骤,包括实验过程中的记录、数据和相应的分析三、结论1、实验结果根据实验过程中所见到的现象和测得的数据,做出结论2、分析讨论对本次实验的心得体会、思考和建议。四、指导教师评语及成绩:评语:指导教师依据学生的实际报告内容,用简练语言给出本次实验报告的评价和价值成绩:指导教师签名:批阅日期: