Top Banner
PRE – LAB HOMEWORK SIX SEMESTER ELECTRICAL ENGINEERING MICROPROCESSOR BASED SYSTEMS Engr. ZUBAIR KHALID BASIC ELECTRICAL LAB DEPARTMENT OF ELECTRICAL ENGINEERING Approved by Engr. M Nasim Khan Federal Urdu University of Arts, Science & Technology
31

PRE – LAB HOMEWORK - · PDF filesingle phase stepper motor control. ... pre-lab homework lab no.7 8051 programming in c ... pre-lab homework lab no. 16 project report

Mar 29, 2018

Download

Documents

dangxuyen
Welcome message from author
This document is posted to help you gain knowledge. Please leave a comment to let me know what you think about it! Share it to your friends and learn new things together.
Transcript
Page 1: PRE – LAB HOMEWORK -  · PDF filesingle phase stepper motor control. ... pre-lab homework lab no.7 8051 programming in c ... pre-lab homework lab no. 16 project report

  

 

   

PRE – LAB HOMEWORK   

SIX SEMESTER ELECTRICAL ENGINEERING

MICROPROCESSOR BASED SYSTEMS

Engr. ZUBAIR KHALID

BASIC ELECTRICAL LAB DEPARTMENT OF ELECTRICAL ENGINEERING

Approved by Engr. M Nasim Khan

Federal Urdu University of Arts, Science & Technology

Page 2: PRE – LAB HOMEWORK -  · PDF filesingle phase stepper motor control. ... pre-lab homework lab no.7 8051 programming in c ... pre-lab homework lab no. 16 project report

PRE-LAB HOMEWORK

Lab No. 2

BLINKING LEDS IN DIFFERENT FORMATIONS

MICROPROCESSOR

__________________________________________________________

__________________________________________________________

__________________________________________________________

__________________________________________________________

__________________________________________________________

_________________________________________________________.

MICROCONTROLLER

__________________________________________________________

__________________________________________________________

__________________________________________________________

__________________________________________________________

__________________________________________________________

_________________________________________________________.

Page 3: PRE – LAB HOMEWORK -  · PDF filesingle phase stepper motor control. ... pre-lab homework lab no.7 8051 programming in c ... pre-lab homework lab no. 16 project report

LED

__________________________________________________________

__________________________________________________________

__________________________________________________________

__________________________________________________________

__________________________________________________________

_________________________________________________________.

8051 Microcontroller

__________________________________________________________

__________________________________________________________

__________________________________________________________

__________________________________________________________

__________________________________________________________

_________________________________________________________.

PIN CONFIGURATION

__________________________________________________________

__________________________________________________________

__________________________________________________________

__________________________________________________________

__________________________________________________________

_________________________________________________________.

Page 4: PRE – LAB HOMEWORK -  · PDF filesingle phase stepper motor control. ... pre-lab homework lab no.7 8051 programming in c ... pre-lab homework lab no. 16 project report

PORTS

__________________________________________________________

__________________________________________________________

__________________________________________________________

__________________________________________________________

__________________________________________________________

_________________________________________________________.

OSCILLATOR

__________________________________________________________

__________________________________________________________

__________________________________________________________

__________________________________________________________

__________________________________________________________

_________________________________________________________.

NUMBER SYSTEMS

__________________________________________________________

__________________________________________________________

__________________________________________________________

__________________________________________________________

__________________________________________________________

_________________________________________________________.

Page 5: PRE – LAB HOMEWORK -  · PDF filesingle phase stepper motor control. ... pre-lab homework lab no.7 8051 programming in c ... pre-lab homework lab no. 16 project report

PRE-LAB HOMEWORK

Lab No. 3

7-SEGMENT INTERFACING AND PROGRAMMING

SEVEN SEGMENT

__________________________________________________________

__________________________________________________________

__________________________________________________________

__________________________________________________________

__________________________________________________________

_________________________________________________________.

INTERFACING

__________________________________________________________

__________________________________________________________

__________________________________________________________

__________________________________________________________

__________________________________________________________

_________________________________________________________.

Page 6: PRE – LAB HOMEWORK -  · PDF filesingle phase stepper motor control. ... pre-lab homework lab no.7 8051 programming in c ... pre-lab homework lab no. 16 project report

SWITCHING TRANSISTOR

__________________________________________________________

__________________________________________________________

__________________________________________________________

__________________________________________________________

__________________________________________________________

_________________________________________________________.

BCD 2 SEVEN SEGMENT

__________________________________________________________

__________________________________________________________

__________________________________________________________

__________________________________________________________

__________________________________________________________

_________________________________________________________.

Page 7: PRE – LAB HOMEWORK -  · PDF filesingle phase stepper motor control. ... pre-lab homework lab no.7 8051 programming in c ... pre-lab homework lab no. 16 project report

PRE-LAB HOMEWORK

Lab No. 4

DOT MATRIX LED CONTROL. DOT MATRIX

__________________________________________________________

__________________________________________________________

__________________________________________________________

__________________________________________________________

__________________________________________________________

_________________________________________________________.

LOOKUP TABLES

__________________________________________________________

__________________________________________________________

__________________________________________________________

__________________________________________________________

__________________________________________________________

_________________________________________________________.

Page 8: PRE – LAB HOMEWORK -  · PDF filesingle phase stepper motor control. ... pre-lab homework lab no.7 8051 programming in c ... pre-lab homework lab no. 16 project report

EXTERNAL MEMORY ACCESS

__________________________________________________________

__________________________________________________________

__________________________________________________________

__________________________________________________________

__________________________________________________________

_________________________________________________________.

DUAL PORT ACCESS

__________________________________________________________

__________________________________________________________

__________________________________________________________

__________________________________________________________

__________________________________________________________

_________________________________________________________.

Page 9: PRE – LAB HOMEWORK -  · PDF filesingle phase stepper motor control. ... pre-lab homework lab no.7 8051 programming in c ... pre-lab homework lab no. 16 project report

PRE-LAB HOMEWORK

Lab No. 5

SINGLE PHASE STEPPER MOTOR CONTROL. STEPPER MOTOR

__________________________________________________________

__________________________________________________________

__________________________________________________________

__________________________________________________________

__________________________________________________________

_________________________________________________________.

SINGLE PHASE

__________________________________________________________

__________________________________________________________

__________________________________________________________

__________________________________________________________

__________________________________________________________

_________________________________________________________.

Page 10: PRE – LAB HOMEWORK -  · PDF filesingle phase stepper motor control. ... pre-lab homework lab no.7 8051 programming in c ... pre-lab homework lab no. 16 project report

DUAL PHASE

__________________________________________________________

__________________________________________________________

__________________________________________________________

__________________________________________________________

__________________________________________________________

_________________________________________________________.

AMPLIFIER

__________________________________________________________

__________________________________________________________

__________________________________________________________

__________________________________________________________

__________________________________________________________

_________________________________________________________.

Page 11: PRE – LAB HOMEWORK -  · PDF filesingle phase stepper motor control. ... pre-lab homework lab no.7 8051 programming in c ... pre-lab homework lab no. 16 project report

PRE-LAB HOMEWORK

Lab No. 6

PHOTO INTERRUPTER CONTROL

OPTOCOUPLER

__________________________________________________________

__________________________________________________________

__________________________________________________________

__________________________________________________________

__________________________________________________________

_________________________________________________________.

OPTICAL Tx.

__________________________________________________________

__________________________________________________________

__________________________________________________________

__________________________________________________________

__________________________________________________________

_________________________________________________________.

Page 12: PRE – LAB HOMEWORK -  · PDF filesingle phase stepper motor control. ... pre-lab homework lab no.7 8051 programming in c ... pre-lab homework lab no. 16 project report

OPTICAL Rx

__________________________________________________________

__________________________________________________________

__________________________________________________________

__________________________________________________________

__________________________________________________________

_________________________________________________________.

WAVELENGTH OF VISIBLE LIGHT

__________________________________________________________

__________________________________________________________

__________________________________________________________

__________________________________________________________

__________________________________________________________

_________________________________________________________.

Page 13: PRE – LAB HOMEWORK -  · PDF filesingle phase stepper motor control. ... pre-lab homework lab no.7 8051 programming in c ... pre-lab homework lab no. 16 project report

PRE-LAB HOMEWORK

Lab No.7

8051 PROGRAMMING IN C C USING KEIL

__________________________________________________________

__________________________________________________________

__________________________________________________________

__________________________________________________________

__________________________________________________________

_________________________________________________________.

HEADER FILES IN C

__________________________________________________________

__________________________________________________________

__________________________________________________________

__________________________________________________________

__________________________________________________________

_________________________________________________________.

Page 14: PRE – LAB HOMEWORK -  · PDF filesingle phase stepper motor control. ... pre-lab homework lab no.7 8051 programming in c ... pre-lab homework lab no. 16 project report

LOOPS IN C

__________________________________________________________

__________________________________________________________

__________________________________________________________

__________________________________________________________

__________________________________________________________

_________________________________________________________.

CONDITIONAL STATEMENTS IN C

__________________________________________________________

__________________________________________________________

__________________________________________________________

__________________________________________________________

__________________________________________________________

_________________________________________________________.

Page 15: PRE – LAB HOMEWORK -  · PDF filesingle phase stepper motor control. ... pre-lab homework lab no.7 8051 programming in c ... pre-lab homework lab no. 16 project report

PRE-LAB HOMEWORK

Lab No. 8

8051 INTERRUPT PROGRAMMING

IE REGISTER

__________________________________________________________

__________________________________________________________

__________________________________________________________

__________________________________________________________

__________________________________________________________

_________________________________________________________.

TCON REGISTER

__________________________________________________________

__________________________________________________________

__________________________________________________________

__________________________________________________________

__________________________________________________________

_________________________________________________________.

Page 16: PRE – LAB HOMEWORK -  · PDF filesingle phase stepper motor control. ... pre-lab homework lab no.7 8051 programming in c ... pre-lab homework lab no. 16 project report

INTERRUPT SERVICE ROUTINE

__________________________________________________________

__________________________________________________________

__________________________________________________________

__________________________________________________________

__________________________________________________________

_________________________________________________________.

TYPES OF INTERRUPTS

__________________________________________________________

__________________________________________________________

__________________________________________________________

__________________________________________________________

__________________________________________________________

_________________________________________________________.

Page 17: PRE – LAB HOMEWORK -  · PDF filesingle phase stepper motor control. ... pre-lab homework lab no.7 8051 programming in c ... pre-lab homework lab no. 16 project report

PRE-LAB HOMEWORK

Lab No. 9

Timer mode programming

TIMER

__________________________________________________________

__________________________________________________________

__________________________________________________________

__________________________________________________________

__________________________________________________________

_________________________________________________________.

TMOD

__________________________________________________________

__________________________________________________________

__________________________________________________________

__________________________________________________________

__________________________________________________________

_________________________________________________________.

Page 18: PRE – LAB HOMEWORK -  · PDF filesingle phase stepper motor control. ... pre-lab homework lab no.7 8051 programming in c ... pre-lab homework lab no. 16 project report

TYPES OF TIMERS

__________________________________________________________

__________________________________________________________

__________________________________________________________

__________________________________________________________

__________________________________________________________

_________________________________________________________.

Page 19: PRE – LAB HOMEWORK -  · PDF filesingle phase stepper motor control. ... pre-lab homework lab no.7 8051 programming in c ... pre-lab homework lab no. 16 project report

PRE-LAB HOMEWORK

Lab No. 10

PULSE COUNTER.

PULSE

__________________________________________________________

__________________________________________________________

__________________________________________________________

__________________________________________________________

__________________________________________________________

_________________________________________________________.

COUNTER

__________________________________________________________

__________________________________________________________

__________________________________________________________

__________________________________________________________

__________________________________________________________

_________________________________________________________.

Page 20: PRE – LAB HOMEWORK -  · PDF filesingle phase stepper motor control. ... pre-lab homework lab no.7 8051 programming in c ... pre-lab homework lab no. 16 project report

BCD

__________________________________________________________

__________________________________________________________

__________________________________________________________

__________________________________________________________

__________________________________________________________

_________________________________________________________.

DA COMMAND

__________________________________________________________

__________________________________________________________

__________________________________________________________

__________________________________________________________

__________________________________________________________

_________________________________________________________.

Page 21: PRE – LAB HOMEWORK -  · PDF filesingle phase stepper motor control. ... pre-lab homework lab no.7 8051 programming in c ... pre-lab homework lab no. 16 project report

PRE-LAB HOMEWORK

Lab No. 11

SPEAKER CONTROL.

WORKING OF SPEAKER __________________________________________________________

__________________________________________________________

__________________________________________________________

__________________________________________________________

__________________________________________________________

_________________________________________________________.

TYPES OF SPEAKERS

__________________________________________________________

__________________________________________________________

__________________________________________________________

__________________________________________________________

__________________________________________________________

_________________________________________________________.

Page 22: PRE – LAB HOMEWORK -  · PDF filesingle phase stepper motor control. ... pre-lab homework lab no.7 8051 programming in c ... pre-lab homework lab no. 16 project report

FREQUENCY

__________________________________________________________

__________________________________________________________

__________________________________________________________

__________________________________________________________

__________________________________________________________

_________________________________________________________.

Page 23: PRE – LAB HOMEWORK -  · PDF filesingle phase stepper motor control. ... pre-lab homework lab no.7 8051 programming in c ... pre-lab homework lab no. 16 project report

PRE-LAB HOMEWORK

Lab No. 12

LCD Interfacing and Programming.

LCD __________________________________________________________

__________________________________________________________

__________________________________________________________

__________________________________________________________

__________________________________________________________

_________________________________________________________.

LCD INITIALIZATION

__________________________________________________________

__________________________________________________________

__________________________________________________________

__________________________________________________________

__________________________________________________________

_________________________________________________________.

Page 24: PRE – LAB HOMEWORK -  · PDF filesingle phase stepper motor control. ... pre-lab homework lab no.7 8051 programming in c ... pre-lab homework lab no. 16 project report

WORKING OF LCD

__________________________________________________________

__________________________________________________________

__________________________________________________________

__________________________________________________________

__________________________________________________________

_________________________________________________________.

TYPES OF LCD

__________________________________________________________

__________________________________________________________

__________________________________________________________

__________________________________________________________

__________________________________________________________

_________________________________________________________.

Page 25: PRE – LAB HOMEWORK -  · PDF filesingle phase stepper motor control. ... pre-lab homework lab no.7 8051 programming in c ... pre-lab homework lab no. 16 project report

PRE-LAB HOMEWORK

Lab No. 13

Introduction to 8086 based microprocessor trainer (ipc-8603)

BYTE

__________________________________________________________

__________________________________________________________

__________________________________________________________

__________________________________________________________

__________________________________________________________

_________________________________________________________.

ALU

__________________________________________________________

__________________________________________________________

__________________________________________________________

__________________________________________________________

__________________________________________________________

_________________________________________________________.

Page 26: PRE – LAB HOMEWORK -  · PDF filesingle phase stepper motor control. ... pre-lab homework lab no.7 8051 programming in c ... pre-lab homework lab no. 16 project report

PROCESSOR

__________________________________________________________

__________________________________________________________

__________________________________________________________

__________________________________________________________

__________________________________________________________

_________________________________________________________.

ARCHITECTURE

__________________________________________________________

__________________________________________________________

__________________________________________________________

__________________________________________________________

__________________________________________________________

_________________________________________________________.

Page 27: PRE – LAB HOMEWORK -  · PDF filesingle phase stepper motor control. ... pre-lab homework lab no.7 8051 programming in c ... pre-lab homework lab no. 16 project report

PRE-LAB HOMEWORK

Lab No. 14

COMMAND DESCRIPTION OF EXAMINE BYTE,

EXAMINE WORD, EXAMINE REGISTER.

CRITICAL PATH

__________________________________________________________

__________________________________________________________

__________________________________________________________

__________________________________________________________

__________________________________________________________

_________________________________________________________.

COMBINATIONAL LOGIC

__________________________________________________________

__________________________________________________________

__________________________________________________________

__________________________________________________________

__________________________________________________________

_________________________________________________________.

Page 28: PRE – LAB HOMEWORK -  · PDF filesingle phase stepper motor control. ... pre-lab homework lab no.7 8051 programming in c ... pre-lab homework lab no. 16 project report

WORD

__________________________________________________________

__________________________________________________________

__________________________________________________________

__________________________________________________________

__________________________________________________________

_________________________________________________________.

REGISTER

__________________________________________________________

__________________________________________________________

__________________________________________________________

__________________________________________________________

__________________________________________________________

_________________________________________________________.

Page 29: PRE – LAB HOMEWORK -  · PDF filesingle phase stepper motor control. ... pre-lab homework lab no.7 8051 programming in c ... pre-lab homework lab no. 16 project report

PRE-LAB HOMEWORK

Lab No. 15

EXAMINING AND MODIFYING A REGISTER, EXAMINING A SERIES OF REGISTERS, THE GO (GO) COMMAND, TRANSFERRING CONTROL TO

THE SAMPLE PROGRAM, ENTERING AND EXECUTING A BREAKPOINT IN THE PROGRAM.

RAM

__________________________________________________________

__________________________________________________________

__________________________________________________________

__________________________________________________________

__________________________________________________________

_________________________________________________________.

MEMORY

__________________________________________________________

__________________________________________________________

__________________________________________________________

__________________________________________________________

__________________________________________________________

_________________________________________________________.

Page 30: PRE – LAB HOMEWORK -  · PDF filesingle phase stepper motor control. ... pre-lab homework lab no.7 8051 programming in c ... pre-lab homework lab no. 16 project report

ADDRESS BUS

__________________________________________________________

__________________________________________________________

__________________________________________________________

__________________________________________________________

__________________________________________________________

_________________________________________________________.

DATA BUS

__________________________________________________________

__________________________________________________________

__________________________________________________________

__________________________________________________________

__________________________________________________________

_________________________________________________________.

Page 31: PRE – LAB HOMEWORK -  · PDF filesingle phase stepper motor control. ... pre-lab homework lab no.7 8051 programming in c ... pre-lab homework lab no. 16 project report

PRE-LAB HOMEWORK

Lab No. 16

PROJECT REPORT __________________________________________________________

__________________________________________________________

__________________________________________________________

__________________________________________________________

__________________________________________________________

_________________________________________________________.

__________________________________________________________

__________________________________________________________

__________________________________________________________

__________________________________________________________

__________________________________________________________

_________________________________________________________.

__________________________________________________________

__________________________________________________________

__________________________________________________________

__________________________________________________________

__________________________________________________________

_________________________________________________________.