ANNA UNIVERSITY, CHENNAI B.E/ B.Tech DEGREE EXAMINATIONS, Oct/Nov B.E Electronics and Communication Engineering

Similar documents
DEPARTMENT OF COMPUTER SCIENCE & ENGINEERING Question Bank Subject Name: EC Microprocessor & Microcontroller Year/Sem : II/IV

8051 MICROCONTROLLER COURSE

AUTOMATIC NIGHT LAMP WITH MORNING ALARM USING MICROPROCESSOR

Lab Experiment 1: The LPC 2148 Education Board

Interfacing Analog to Digital Data Converters

Embedded Systems on ARM Cortex-M3 (4weeks/45hrs)

Microtronics technologies Mobile:

STEPPER MOTOR SPEED AND POSITION CONTROL

Timer A (0 and 1) and PWM EE3376

ADS9850 Signal Generator Module

Atmel Norway XMEGA Introduction

Data Acquisition Module with I2C interface «I2C-FLEXEL» User s Guide

[F/T] [5] [KHz] [AMP] [3] [V] 4 ) To set DC offset to -2.5V press the following keys [OFS] [+/-] [2] [.] [5] [V]

Implementing SPI Master and Slave Functionality Using the Z8 Encore! F083A

Digital To Analog Converter with Sine Wave Output

C Programming. for Embedded Microcontrollers. Warwick A. Smith. Postbus 11. Elektor International Media BV. 6114ZG Susteren The Netherlands

ET-BASE AVR ATmega64/128

PROJECT PRESENTATION ON CELLPHONE OPERATED ROBOTIC ASSISTANT

Introduction the Serial Communications Huang Sections 9.2, 10.2 SCI Block User Guide SPI Block User Guide

Hello, and welcome to this presentation of the STM32L4 reset and clock controller.

Introduction to Microcontrollers

Serial Communications

CHAPTER 11: Flip Flops

1. Learn about the 555 timer integrated circuit and applications 2. Apply the 555 timer to build an infrared (IR) transmitter and receiver

PART B QUESTIONS AND ANSWERS UNIT I

DAC Digital To Analog Converter

Microcontroller Programming Beginning with Arduino. Charlie Mooney

Construction and Application of a Computer Based Interface Card

International Journal of Engineering Research & Management Technology

Digital Systems Based on Principles and Applications of Electrical Engineering/Rizzoni (McGraw Hill

revolution Contents: Introduction Power 28-pin Project Board with input/output cables

EVAL-UFDC-1/UFDC-1M-16

Microcontroller Display Interfacing Techniques

Accurate Measurement of the Mains Electricity Frequency

Tutorial for MPLAB Starter Kit for PIC18F

Table 1 below is a complete list of MPTH commands with descriptions. Table 1 : MPTH Commands. Command Name Code Setting Value Description

Ocean Controls RC Servo Motor Controller

EXPERIMENT NUMBER 5 BASIC OSCILLOSCOPE OPERATIONS

Welcome to the tutorial for the MPLAB Starter Kit for dspic DSCs

Android based Alcohol detection system using Bluetooth technology

Experiments: Labview and RS232

The stack and the stack pointer

Pulse Width Modulation

PROGRAMMABLE LOGIC CONTROLLERS Unit code: A/601/1625 QCF level: 4 Credit value: 15 TUTORIAL OUTCOME 2 Part 1

isppac-powr1220at8 I 2 C Hardware Verification Utility User s Guide

AN3252 Application note

2.0 Command and Data Handling Subsystem

ontroller LSI with Built-in High- Performance Graphic Functions for Automotive Applications

8051 Serial Port. Crystal TXD. I/O Device RXD. Embedded Systems Peripherals

POCKET SCOPE 2. The idea 2. Design criteria 3

BE635 User Manual. Rev. V Bolymin, Inc. All Rights Reserved.

Lab 1 Course Guideline and Review

A PSTN Terminal for FSK Decoding and DTMF Dialing Applications

AVR Butterfly Training. Atmel Norway, AVR Applications Group

EXERCISE 3: String Variables and ASCII Code

Freescale Semiconductor, Inc. Product Brief Integrated Portable System Processor DragonBall ΤΜ

APPLICATION NOTE. Atmel AVR443: Sensor-based Control of Three Phase Brushless DC Motor. Atmel AVR 8-bit Microcontrollers. Features.

8-Bit Microcontroller with Flash. Application Note. Using a Personal Computer to Program the AT89C51/C52/LV51/LV52/C1051/C2051

Display Message on Notice Board using GSM

MICROPROCESSOR AND MICROCOMPUTER BASICS

CoE3DJ4 Digital Systems Design. Chapter 4: Timer operation

The Answer to the 14 Most Frequently Asked Modbus Questions

Signal Processing in So.ware and Electric Field Sensing

8085 MICROPROCESSOR PROGRAMS

Location-Aware and Safer Cards: Enhancing RFID Security and Privacy

Micro-Step Driving for Stepper Motors: A Case Study

DSO138 oscilloscope program upgrade method

AVR151: Setup and Use of the SPI. Introduction. Features. Atmel AVR 8-bit Microcontroller APPLICATION NOTE

A Practical Approach to Education of Embedded Systems Engineering

Hi Hsiao-Lung Chan Dept Electrical Engineering Chang Gung University, Taiwan

PC Base Adapter Daughter Card UART GPIO. Figure 1. ToolStick Development Platform Block Diagram

Wireless Home Security System

C8051F020 Utilization in an Embedded Digital Design Project Course. Daren R. Wilcox Southern Polytechnic State University Marietta, Georgia

PHY-2464 Physical Basis of Music

MICROPROCESSOR. Exclusive for IACE Students iacehyd.blogspot.in Ph: /422 Page 1

Digital I/O: OUTPUT: Basic, Count, Count+, Smart+

Technical data. General specifications. Indicators/operating means. Electrical specifications Operating voltage U B Power consumption P 0 Interface

Programmable Logic Controller PLC

User s Guide DDS-3X25 USB ARBITRARY FUNCTION GENERATOR

Work with Arduino Hardware

Study Guide for the Electronics Technician Pre-Employment Examination

Chapter 13. PIC Family Microcontroller

Lecture N -1- PHYS Microcontrollers

Controlling a Dot Matrix LED Display with a Microcontroller

Serial port interface for microcontroller embedded into integrated power meter

Digital Guitar Effects Pedal

Programming Flash Microcontrollers through the Controller Area Network (CAN) Interface

Serial Communications

DESIGN OF 6 DOF ROBOTIC ARM CONTROLLED OVER THE INTERNET

EMBEDDED SYSTEM BASICS AND APPLICATION

Table 1 Comparison of DC, Uni-Polar and Bi-polar Stepper Motors

Simple SDR Receiver. Looking for some hardware to learn about SDR? This project may be just what you need to explore this hot topic!

Freescale Semiconductor, I

Low Cost Pure Sine Wave Solar Inverter Circuit

ETEC Digital Controls PIC Lab 10 Pulse Width Modulation

Microcontroller Basics A microcontroller is a small, low-cost computer-on-a-chip which usually includes:

GAS LEAKAGE DETECTION & AUTO ON-OFF GAS SYSTEM

HT46R14A Single Phase AC Induction Motor Frequency Converter Application

Pulse Width Modulation (PWM) LED Dimmer Circuit. Using a 555 Timer Chip

Transcription:

ANNA UNIVERSITY, CHENNAI-600 025 B.E/ B.Tech DEGREE EXAMINATIONS, Oct/Nov 2013 Regulations-2008 Fifth Semester B.E Electronics and Communication Engineering EC2308 - Microprocessors and Microcontrollers Lab Duration : 3 hours Max.Marks :100 1. (a) Interface programmable peripheral interface 8255 with 8086 and verify its operation in Mode 0 (defining PORTA as input mode and PORTB as output port) and BSR mode (setting PC0 and PC3). (50) Port address for PORTA-C0 PORTB C2 PORTC-C4 Control Port C6 (b) Write an ALP to perform 16-bit data addition using 8086 2. (a) Write an ALP to Sort N elements in ascending order in an array using 8086 (b) Write an ALP to perform 16-bit data subtraction using 8086 mnemonics.(50) 3. Interface 8279 with 8086 and write an ALP to display the character A and to read a key from keyboard. Control Port C2 Data Port C0 (100) 4. (a) Write an ALP to copy a string from one memory location to another using 8086 (b) Write an ALP to sort the elements in an array in descending order using 8086 5. (a) Write an ALP using 8051 mnemonics to make the stepper motor to rotate with a specific delay by continuously energizing the coils. Stepper Motor port address FFC0 (50) (b) Write an ALP to perform 16-bit data multiplication using 8086

6. (a) Write an ALP to perform 32-bit data division using 8086 (b) Write an ALP to generate a square wave of time period through P1.2 of 8051. (50) 7. Write an ALP to communicate serially between two 8051 microcontrollers. (100) 8. (a) Interface a 8 bit ADC with 8086 and write an ALP to convert analog values into corresponding digital data s. Verify theoretically. (50) (b) Write an ALP to set bit3 and bit 6 (format B0-B7) using 8051 mnemonics.(50) 9. (a) Write an ALP to mask bits 2 and 7 (format B0-B7) using microcontroller 8051 mnemonics.(50) (b) Write an ALP to find the smallest element in an array using 8086 10. (a) Interface a 8 bit DAC with 8086 and write an ALP to generate a square wave.(50) (b) Write an ALP to find the largest element in an array using 8086 mnemonics.(50) 11.(a) Interface a 8 bit DAC with 8086 and write an ALP to generate a triangular wave.(50) (b) Write an ALP to find the smallest element in an array using 8086 mnemonics.(50)

12. Interface the Timer IC 8253 with 8086 and verify its operation in all Modes. Port address for Counter0 C8 Counter1 CA Counter2-CC Control Port CE (100) 13. (a) Write an ALP to search a byte in a string using 8086 mnemonics.(50) (b) Write an ALP to perform 16-bit data addition using 8051 mnemonics.(50) 14. (a) Write an ALP using 8051 mnemonics to make the stepper motor to rotate with a specific delay by continuously energizing the coils. Stepper Motor port address FFC0(50) (b) Write an ALP to fill five memory locations with the given data using 8086 mnemonics.(50) 15. (a) Write an ALP to perform 8-bit data multiplication using microcontroller 8051 (b) Write an ALP to find the largest element in an array using 8086 mnemonics.(50) 16. (a) Interface a 8 bit ADC with 8086 and write an ALP to convert analog values into corresponding digital data s. Verify theoretically. (50) (b) Write an ALP to mask bit3 and bit 6 (format B0-B7) using 8051 mnemonics.(50) 17. Interface 8279 with 8086 and write an ALP to display the character A and to read a key from keyboard. Control Port C2 Data Port C0 (50) 18. (a) Write an ALP to perform 32-bit data division using 8086 mnemonics.(50) (b) Write an ALP to generate a square wave of time period through P1.2 of 8051. (50)

19.(a) Interface programmable peripheral interface 8255 with 8085 and verify its operation in Mode 0 (defining PORTA as input mode and PORTB as output port) and BSR mode (setting PC0 and PC3). Port address for PORTA-C0 PORTB C2 PORTC-C4 Control Port C6 (50) (b) Write an ALP to set bit2 and bit5 (format B0-B7) using 8051 mnemonics.(50) 20.(a) Write an ALP to search a byte in a string using 8086 mnemonics.(50) (b) Write an ALP to perform 8-bit data multiplication using 8051 21. (a) Write an ALP using 8051 mnemonics to make the stepper motor to rotate with a specific delay by continuously energizing the coils. Stepper Motor port address FFC0 (50) (b) Write an ALP to perform 16-bit data subtraction using 8086 mnemonics.(50) 22. (a) Write an ALP to perform 16-bit data addition using 8086 (b) Write an ALP to find the largest element in an array using 8086 mnemonics.(50) 23. Write ALP to interface 8051 with: (a) Interfacing DAC and writing programs to generate triangular, trapezoidal and sine waveforms.(50) (b) Interfacing 8/12 bit ADC to 8051 or equivalent and to write a program to find out the average value for 10 readings.(50)

24. (a) Write 8086 ALP to convert an analog signal in the range of 0V to 5V to its Corresponding digital signal using either successive approximation ADC or dual slope ADC.(50) (b) Write 8086 ALP to interface DAC and generate following waveforms on oscilloscope, (i) Square wave - Variable Duty Cycle and frequency, (ii) Ramp wave - Variable direction, (iii) Trapezoidal wave, (iv) Stair-case wave.(50) 25. Write 8086 ALP to rotate a stepper motor for given number of steps at a given angle and in the given direction of rotation based on the user choice.(50) 26. Write a program to receive bytes of data serially and display it on port P0. Use 8 bit UART mode with baud rate 9600. (50) 27. Write a program for Parallel communication between two MP kits using Mode 1 and Mode 2 of 8255.(100) 28. Write a program to generate square wave of 50% duty cycle having frequency 5 KHz at port pin P1.0 using timer 1 in mode 2. Modify program to generate pulse waveform of 70% duty cycle using timer on the same pin.(50) 29. Write and execute programs in 8051 Board (i) Flash LEDs connected at Port Pin P1.4 to P1.7 (ii) Monitor switch connected at P1.0, Glow all LED when switch in ON (iii) Monitor switch connected at P1.1, send pulses to port P1.7 when switch is ON(100) 30. Assume that the 8051 serial port is connected to the COM port of IBM PC, and on the PC, we are using the terminal.exe program to send and receive data serially. P1 and P2 of the 8051 are connected to LEDs and switches, respectively. Write an 8051 program to (a) send to PC the message Hello, (b) receive any data send by PC and put it on LEDs connected to P1, and (c) get data on switches connected to P2 and send it to PC serially. The program should perform part (a) once, but parts (b) and (c) continuously, use 4800 baud rate.(100)