0% found this document useful (0 votes)
16 views9 pages

Esd Lab 02

This document provides instructions for an embedded systems design lab focusing on memory architecture, instruction sets, and interfacing peripherals with a PIC18F452 microcontroller. Students are asked to install MPLAB and MPLABC18, write programs to turn on LEDs connected to different ports, and toggle an LED between ports. The objectives are assessed based on understanding of concepts, tool usage, and lab safety.

Uploaded by

Halima Sadia
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
16 views9 pages

Esd Lab 02

This document provides instructions for an embedded systems design lab focusing on memory architecture, instruction sets, and interfacing peripherals with a PIC18F452 microcontroller. Students are asked to install MPLAB and MPLABC18, write programs to turn on LEDs connected to different ports, and toggle an LED between ports. The objectives are assessed based on understanding of concepts, tool usage, and lab safety.

Uploaded by

Halima Sadia
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
You are on page 1/ 9

Page 1 of 9

PAF KARACHI INSTITUTE OF ECONOMICS AND TECHNOLOGY

College of Engineering

EE3417 – Embedded Systems Design

Semester: Fall 2023 Class ID: 113498


Student name: Halima Sadia Faculty Signature: ___________________
Student ID: 13762 Date of Experiment: 5th Oct 2023 _____
Remarks/Comments: _ ____

Lab 2 Recall architecture of memory, familiarization with instruction set summary & installation of
MPLAB and MPLABC18 to observe working of PIC18f452 using embedded C.

PLO1 – Engineering Knowledge C1 – Recall


PLO’s PLO5 – Modern Tool Usage Bloom’s P2 – Set
Taxonomy
PLO8 – Ethics A3 – Assume responsibility
LAB TASK PERFORMANCE
Excellent (75- Average (50- Poor
CLO’s Aspects of Assessments 100%) 75%) (<50%) M

Recall: Recall the associated Complete understanding of the Understand the lab topic(s) Student lacks clear understanding
concepts form theory regarding concepts / actively participate concepts / participates less in of microprocessor and micro-
CLO1
microprocessor systems and during lecture / read & interpret class / get knowledge of module controller architecture and its
20%
architecture with interfacing different module usage but unable to interpret module Unable to
techniques. in accurately. concepts/ clarify
microcontrolle . the difference
r completely.
Tools Utilization Interfacing Successfully implement the Implement the interfacing logic Does not know how to interface a
CLO5 different Input / Output interfacing logic to control all with less control of input / output peripherals device with micro-
70% peripherals devices with micro- input / output elements through elements through the Graphical controller.
controller. Graphical program. with program instruction.
CLO6 Lab Safety Properly handle lab Properly handle lab equipment Moderate level lab handling and Minor or no safety measurements
10% infrastructure/ safety & obey safety measures. safety measurements has been considered.
precautions
Total Marks: 10
Instruction Set Summary

Embedded Systems Design Instructor:


College of Engineering Engr. Farhan Ghafoor
PAF-Karachi Institute of Economics & Technology [email protected]
Page 2 of 9

Embedded Systems Design Instructor:


College of Engineering Engr. Farhan Ghafoor
PAF-Karachi Institute of Economics & Technology [email protected]
Page 3 of 9

Embedded Systems Design Instructor:


College of Engineering Engr. Farhan Ghafoor
PAF-Karachi Institute of Economics & Technology [email protected]
Page 4 of 9

Embedded Systems Design Instructor:


College of Engineering Engr. Farhan Ghafoor
PAF-Karachi Institute of Economics & Technology [email protected]
Page 5 of 9

OPCODE FIELD DESCRIPTIONS

OBJECTIVE #1
Install MPLAB and MPLAB C18.

Embedded Systems Design Instructor:


College of Engineering Engr. Farhan Ghafoor
PAF-Karachi Institute of Economics & Technology [email protected]
Page 6 of 9

OBJECTIVE #2
Make a program on MPLAB IDE to turn on LEDs connected on PORTB.
Connecting all LEDs to PORTB.

OBJECTIVE #3

Embedded Systems Design Instructor:


College of Engineering Engr. Farhan Ghafoor
PAF-Karachi Institute of Economics & Technology [email protected]
Page 7 of 9

Make a program to turn on LED using single bit of PORTA, PORTB and PORTC.

Embedded Systems Design Instructor:


College of Engineering Engr. Farhan Ghafoor
PAF-Karachi Institute of Economics & Technology [email protected]
Page 8 of 9

OBJECTIVE #4
Make a program to toggle LED between PORTA and PORTB.

Embedded Systems Design Instructor:


College of Engineering Engr. Farhan Ghafoor
PAF-Karachi Institute of Economics & Technology [email protected]
Page 9 of 9

Submission Details:
 Lab manual
 Code in Embedded C.

Embedded Systems Design Instructor:


College of Engineering Engr. Farhan Ghafoor
PAF-Karachi Institute of Economics & Technology [email protected]

You might also like