







Study with the several resources on Docsity
Earn points by helping other students or get them with a premium plan
This page cannot be seen from the preview
Don't miss anything!








Microprocessor Systems and Interfacing(EEE342) Lab Lab #: 01 Lab Title: Introduction to Keil μVision IDE & Labcenter Proteus Simulation Submitted by: Names Registration # Marks ZAHEER UL ISLAM FA19-BEE- M. BILAL ARSHAD FA19-BEE- REHMAT FARAZ DANISH FA19-BEE- Rubrics name & number Mark s In-Lab Post-Lab Engineering Knowledge R3: Interpretation of Subject Knowledge: Ability to interpret and explain mathematical and/or visual forms, including equations, diagrams, graphics, figures and tables. Problem Analysis R5: Data/Evidence Measurements: Ability to record raw data / evidence. R6: Experimental Data Analysis: Ability to interpret findings, compare them to values in the literature, identify weaknesses and limitations. Design R7: Implementing Design Strategy: Ability to execute a solution taking into consideration design requirements and pertinent contextual elements. [Block Diagram/Flowchart/Circuit Diagram] R8: Best Coding Standards: Ability to follow the coding standards and programming practices. Modern Tools Usage R11: Tools Evaluation: Ability to simulate the experiment and then using hardware tools to verify the results Individual and Teamwork R12: Individual Work Contributions: Ability to carry out individual responsibilities. Rubrics to follow Rubrics # R3 R5 R6 R7 R8 R11 R In –Lab Post- Lab
Submitted By: (Zaheer ul Islam) (M.Bilal Arshad) (Rehmat Faraz Danish)
Our objective is to become familiar with: The objective of this lab is to introduce how to use uVision Keil for writing codes of microcontroller and debug the code in Keil to rectify errors. The lab also introduces the circuit simulating environment Proteus. After completing the lab, student will be able to write code for microcontroller and simulate the circuit.
Keil uVision development tools for the Microcontroller Architecture support every level of developer from the professional applications engineer to the student just learning about embedded software development. The μVision IDE combines project management, run-time environment, build facilities, source code editing, and program debugging in a single powerful environment. μVision is easy-to-use and accelerates your embedded software development. μVision supports multiple screens and allows you to create individual window layouts anywhere on the visual surface. Features of Keil μVision: When starting a new project, simply select the microcontroller you use from the Device Database and the μVision IDE sets all compiler, assembler, linker, and memory options for you. Numerous example programs are included to help you get started with the most popular embedded 251 devices. The Keil μVision Debugger accurately simulates on-chip peripherals (I²C, CAN, UART, SPI, Interrupts, I/O Ports, A/D Converter, D/A Converter, and PWM Modules) of your 251 device. Features of Lab center Proteus: The Proteus Design Suite is a proprietary software tool suite used primarily for electronic design automation. Proteus combines ease of use with powerful features to help you design, test and layout professional PCBs with nearly 800 microcontroller variants ready for simulation straight from the schematic featuring auto-router included as standard.
Submitted By: (Zaheer ul Islam) (M.Bilal Arshad) (Rehmat Faraz Danish) After reading the agreement and clicking the tab of “I agree all the terms of preceding License Agreement” Following window will appear. In this step we have to select the directory in which we want to install our Software. We have to click the Next Option After filling up the information that includes Name Company Name and Email the software will begin to Install.
Submitted By: (Zaheer ul Islam) (M.Bilal Arshad) (Rehmat Faraz Danish) Labcenter Proteus Installation: After Downloading and Opening the software will cause the following window to appear on the screen as shown below. By selecting the Directory in which you want to install the software click Next Another Folder Directory option will appear in which by clicking the Next option the software will be installed on your system.
Submitted By: (Zaheer ul Islam) (M.Bilal Arshad) (Rehmat Faraz Danish) TASK FLOWCHART
Submitted By: (Zaheer ul Islam) (M.Bilal Arshad) (Rehmat Faraz Danish) TASK FLOWCHART
Submitted By: (Zaheer ul Islam) (M.Bilal Arshad) (Rehmat Faraz Danish)
Task#1: Write a LED blinking code for AT89C51 MCU in uVision Kiel, generate hex file and simulate the circuit in Proteus. TASK DESCRIPTION: In this task we have to code a program which will have to blink the LED with certain amount of delay and then we have to generate hex file which will make it easy for us to burn that hex file into the simulation which we will make in proteus. SCHEMATIC DIAGRAM
Submitted By: (Zaheer ul Islam) (M.Bilal Arshad) (Rehmat Faraz Danish) TASK CODE: ORG 0000H AGAIN: SETB P2. ACALL DELAY CLR P2. ACALL DELAY SJMP AGAIN DELAY: MOV R0,#8H HERE3: MOV R1,#0FFH HERE2: MOV R2,#0FFH HERE: DJNZ R2, HERE DJNZ R1, HERE DJNZ R0, HERE RET END
Submitted By: (Zaheer ul Islam) (M.Bilal Arshad) (Rehmat Faraz Danish) PROTEUS SIMULATION OF TASK RESULTS AND CONCLUSION: From this task we are able to learn how we can code in keil in a way that we can control the microcontroller according to user guideline. In this task we created a code that causes the LED to blink according to set amount of time and then we verified that code in proteus that our circuit supports the code or not.
From this lab we will become familiar of how we can code in keil and how we can use proteus to simulate our circuit in virtual form instead of implying the circuit in real world which can cause the components to be Damaged.
https://electrosome.com/led-blinking-8051-microcontroller-keil-c-tutorial-at89c51/ https://www.slideshare.net/zubayer1984/proteus-8-installation https://www.keil.com