0% found this document useful (0 votes)
43 views

Desing Using Microcontrollers

This document contains an assignment from Prof. Swarnalatha Srinivasan for the MS DD&ES Batch 4 design using microcontrollers course. The assignment contains 5 questions worth a total of 50 marks: 1) Write a program to interface a keyboard to an 8051 microcontroller using both C and assembly language, 2) Explain I2C and ARM architecture, 3) Write an assembly language program to sort numbers in external memory, 4) Distinguish timing and counting requirements and explain timer/counter modes of operation with diagrams, 5) Interface an 8051 to a stepper motor and write a C program to rotate it continuously clockwise or counter-clockwise.

Uploaded by

api-19646376
Copyright
© Attribution Non-Commercial (BY-NC)
Available Formats
Download as DOC, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
43 views

Desing Using Microcontrollers

This document contains an assignment from Prof. Swarnalatha Srinivasan for the MS DD&ES Batch 4 design using microcontrollers course. The assignment contains 5 questions worth a total of 50 marks: 1) Write a program to interface a keyboard to an 8051 microcontroller using both C and assembly language, 2) Explain I2C and ARM architecture, 3) Write an assembly language program to sort numbers in external memory, 4) Distinguish timing and counting requirements and explain timer/counter modes of operation with diagrams, 5) Interface an 8051 to a stepper motor and write a C program to rotate it continuously clockwise or counter-clockwise.

Uploaded by

api-19646376
Copyright
© Attribution Non-Commercial (BY-NC)
Available Formats
Download as DOC, PDF, TXT or read online on Scribd
You are on page 1/ 1

MANIPAL UNIVERSITY

MS DD&ES Batch 4
Design using Microcontrollers
Assignment by Prof.Swarnalatha Srinivasan

Max Marks: 50

1. Write a program to interface the keyboard to 8051. Using both C and ALP 10

+Vcc

c
cc
c
Port 2 2.2
Output % / * _ + . 9 8
2.1
7 6 5 4 3 2 1 0
2.0

P0.7 P0.6 P0.5 P0.4 P0.3 P0.2 P0.1 P0.0

2. Eplain the following i) I2C and ii) ARM architecture. 10


3. Write an ALP to sort a set of numbers stored in external memory. 10
4. Distinguish between timing and counting requirements. Explain the modes of 10
operation of timers/counters with diagrams

5. Interface 8051 to a stepper motor and write a program in C to rotate it 10


continuously in clockwise/anti-clockwise direction.

You might also like