Preview

Microcontroller Lab Manual

Powerful Essays
Open Document
Open Document
5274 Words
Grammar
Grammar
Plagiarism
Plagiarism
Writing
Writing
Score
Score
Microcontroller Lab Manual
DEPARTMENT OF ELECTRONICS AND COMMUNICATION ENGINEERING

MICRO CONTROLLER LAB MANUAL

FOR BE ¾ YEAR 2ND SEMESTER

1

BE ¾ (ECE) 2nd Semester MICRO CONTROLLER LAB LIST OF EXPERIMENTS

Exp No. 1- Familiarity and use of 8051 Micro controller Trainer. Exp No. 2- Instruction set for simple programs for data transfer, & 3 manipulation, arithmetic operations, branching operations, logical operations and testing condition of bit in a byte. Exp No. 4- Code conversion programs. Exp No. 5- Timer and counter programming using 8051 Exp No. 6- Serial mode operation of 8051 Exp No. 7- Interfacing DAC module using 8051 Exp No. 8- Interfacing Traffic signal control using 8051 Exp No. 9- Interfacing 7-segment display using 8051 Exp No.10-Interfacing Stepper motor control using 8051 Exp No.11-Familiarity with MCBX51 board and writing programs for MCBX51. Program for Blinking of LEDs. Exp No.12-Real time clock using 8051.

2

BE ¾ (ECE) 2ND SEMESTER MICRO CONTROLLER LAB LIST OF EXPERIMENTS
Experiment No.1: Familiarity and use of 8051 (ESA-31) Micro controller kit trainer. Experiment No.2: Simple programs in 8051 Assembly code and their execution. Program 1: Addition of two 16 bit numbers using registers. Program 2: Copying of byte data in RAM memory locations using a) Direct addressing b) Register indirect addressing c) Using loop structure. Program 3: Sum of a series of byte elements Program 4: Copying a data block from source to destination. Program 5: Count number of 1’s in a byte. Program 6: Multiplication of two unsigned 8-bit binary numbers. Program 7: Division of two unsigned 8-bit binary numbers. Program 8: Searching of a byte element in a data block.

Experiment No.3: Arithmetic, Logical & Branching operations. Program 9: Multi byte binary addition Program 10: Multi byte BCD addition Program 11: Multi byte binary subtraction

3

Program 12: Testing condition of a bit in a byte of data. Program 13: Finding largest element in a block of data array.

You May Also Find These Documents Helpful

  • Powerful Essays

    En1320 Unit 1 Research Paper 1

    • 27742 Words
    • 111 Pages

    The code in Figure 2-8 shows that even a simple operation, such as the addition of two…

    • 27742 Words
    • 111 Pages
    Powerful Essays
  • Better Essays

    Nt1310 Unit 1 Assignment

    • 1994 Words
    • 8 Pages

    * The binary numbering system plays a central role in how information of all kinds is stored on the computer. Understanding binary can lift a lot of the mysteries from computers because at a fundamental level they're really just machines for flipping binary digits on and off. There are several activities on binary numbers in this document, all simple enough that they can be used to teach the binary system to anyone who can count! Generally children learn the binary system very quickly using this approach, but we find that many adults are also excited when they finally understand what bits…

    • 1994 Words
    • 8 Pages
    Better Essays
  • Satisfactory Essays

    Today’s lecture will be spent entirely in the computer lab. At the end of lab, submit this worksheet.…

    • 581 Words
    • 3 Pages
    Satisfactory Essays
  • Satisfactory Essays

    Quiz Comp Archi

    • 438 Words
    • 3 Pages

    13) For each of the following 6-bit operations, calculate the values of the C, Z, V, and N flags in the ARM.…

    • 438 Words
    • 3 Pages
    Satisfactory Essays
  • Satisfactory Essays

    (c) Convert the following numbers into binary and perform the arithmetic operations in (i) and (ii) using signed binary numbers with 2’s complement. Use 7 bits to represent the integer part of decimal numbers and the sign bit. Use three bits to represent the fractional part.…

    • 780 Words
    • 10 Pages
    Satisfactory Essays
  • Good Essays

    Lab Practical Study Guide

    • 1424 Words
    • 6 Pages

    LAB PRACTICAL 2 * Skin * Comprised of all 4 main tissue types * Epithelial * Connective * Muscular * Nervous * Part of the integumentary system * Function: * Protection *…

    • 1424 Words
    • 6 Pages
    Good Essays
  • Good Essays

    Programming Homework

    • 366 Words
    • 2 Pages

    The variables in this program will be declared are num_1, num_2 and will be used as integers.…

    • 366 Words
    • 2 Pages
    Good Essays
  • Satisfactory Essays

    Lab Manual

    • 362 Words
    • 2 Pages

    ‡Ž‘™ ‹• ƒ …”‘•• ”‡ˆ‡”‡…‡ –‘ ƒ••‹•– ›‘— ‹ ˆ‹†‹‰ –Š‡ Žƒ„ ‘„Œ‡…–‹˜‡• ˆ‘” –Š‹• —‹– ‹ –Š‹• Žƒ„ ƒ—ƒŽ Terminology Laboratory 2 – pages 14, 15 Table 2.1 Figures – 2.2; 2.3; 2.4; 2.5 Abdominopelvic Regions Laboratory 2 page 18 Body Cavities and Serous Membranes Laboratory 2 – pages 14, 17 Figures 2.6; 2.3 Diffusion & Osmosis Laboratory 5 – pages 49 50 Figure 5.2 Integument Laboratory 7 – pages 82, 87 Figures 7.1; 7.8 Long Bone Structure Laboratory 8 – pages 98 99 Figures 8.2; 8.3 Axial Skeleton Terminology for Bones – Table 8.2 (pg. 97) Skull Laboratory 11 – pages 142 152 Figures 11.1; 11.2; 11.3; 11.4; 11.5; 11.6; 11.7; 11.10; 11.11 Nasal conchae 39.3 Vertebral Column Laboratory 10 – pages 130 135 Figures 10.3; 10.4; 10.5; 10.6; 10.7; 10.8; 10.9; 10.10 Thorax & Hyoid Laboratory 10 – pages 136 138 Figures 10.1; 10.13; 10.14 Appendicular Skeleton Upper & lower extremity Laboratory 9 – pages 110 122 Figures 9.1; 9.2; 9.3; 9.4; 9.5; 9.6; 9.7; 9.8; 9.10; 9.11 Histology Bone Tissue Laboratory 8 – page 101 Figures 8.5 Skeletal Muscles Laboratory 13 – pages 179 184 Laboratory 14 – pages 194 196 Laboratory 15 – pages 206 211 Laboratory 16 – pages 220 224 Laboratory 17 – pages 230 235 Laboratory 18 – pages 242 247 Figures 13.1; 13.2; 13.3; 13.4 Figures 14.1 Figures 15.1; 15.2; 15.3; 15.4; 15.5 Figures 16.1; 16.2; 16.3 Figures 17.2; 17.3; 17.5; 17.6; 17.7 Figures 18.1; 18.5…

    • 362 Words
    • 2 Pages
    Satisfactory Essays
  • Powerful Essays

    Longitudinal Study

    • 4556 Words
    • 19 Pages

    For example, most procedures for adding or subtracting multidigit numbers essentially reduce the calculation to a series of sums or differences of single-digit numbers (or corresponding multiples of 10, 100, etc.). There are, however, some fundamental differences between standard algorithms and the strategies that children construct to solve multidigit problems. Standard algorithms have evolved over centuries for efficient, accurate calculation. For the most part, these algorithms are quite far removed from their conceptual underpinnings. Invented strategies, on the other hand, generally are derived directly from the underlying multidigit concepts. For example, with standard addition and subtraction algorithms, numerals are aligned so that the ones, tens, hundreds, and larger digits can be added in columns. But in the addition of columns, no reference is made to the fact that the addition involves the same unit (ones, tens, hundreds, etc.); one simply adds numbers in a column. Most invented strategies, on the other hand, specifically label the units being combined. For example, in the above addition examples, the invented strategies are based on adding 30 and 20 or 3 tens and 2 tens rather than adding two numbers that appear in the same column.1 Sequence of Development of Major Concepts and Procedures Longitudinal…

    • 4556 Words
    • 19 Pages
    Powerful Essays
  • Good Essays

    Pseudo Code

    • 486 Words
    • 2 Pages

    The oval at the top of the program is utilized to indicate the beginning of a program. A diamond flow chart shape indicates a branch in the process flow. Here, the program offers the user a decision of whether to convert decimal to binary or binary to decimal.…

    • 486 Words
    • 2 Pages
    Good Essays
  • Satisfactory Essays

    Question 1 (15 Marks) Answer the following questions: a) What is a stack? b) What is the purpose of the stack pointer? c) What type of instruction is used to retrieve data from the stack? d) What addressing modes can the JMP instruction use? e) How is the stack pointer affected by the JSR instruction? f) What is a nested subroutine? g) What are the two methods by which microprocessors handle I/O operations? h) Write a program segment that will: read in data from the switch bank in address $1500 and double the number and display the result on the LED bank in address $1600.…

    • 694 Words
    • 3 Pages
    Satisfactory Essays
  • Powerful Essays

    References: [1] Microchip. (n.d.). Tips and Tricks. [2] PIC16F62X Datasheet. (n.d.). Microchip . [3] Predko, M. (2007). Programming and Customising the PIC microcontroller. McGraw Hill. [4] Velleman. K8048 Manual. Velleman.…

    • 6341 Words
    • 26 Pages
    Powerful Essays
  • Powerful Essays

    Gsm Notice Board

    • 2238 Words
    • 9 Pages

    References: 1. 2. 3. 4. 5. 6. www.8051projects.net www.avrfreasks.com www.mscelectronics.com www.developershome.com www.edaboard.com The 8051 Microcontroller and Embedded Systems by Muhammad Ali Mazidi GSM networks by Vijay Garg…

    • 2238 Words
    • 9 Pages
    Powerful Essays
  • Good Essays

    Computer Architecture

    • 810 Words
    • 4 Pages

    Computer Organization & Architecture Lecture #12 Organization and Architecture Computer Architecture Those attributes of the system that are visible to a programmer. Those attributes that have a direct impact on the execution of a program. • • • • Instruction sets Data representation – number of bits used to represent data Input/Output mechanisms Memory addressing techniques…

    • 810 Words
    • 4 Pages
    Good Essays
  • Good Essays

    8051 Gsm Interfacing

    • 756 Words
    • 4 Pages

    8051 Primer Board The 8051 Primer board is specifically designed to help students to master the required skills in the area of embedded systems. The kit is designed in such way that all the possible features of the microcontroller will be easily used by the students. The kit supports in system programming (ISP) which is done through serial port. NXP’s 8051 (89V51RD2), 8051 Primer Kit is proposed to smooth the progress of developing and debugging of various designs encompassing of High speed 8-bit Microcontrollers. GSM (Global System for Mobile Communication) GSM is a digital mobile telephony system. GSM digitizes and compresses data, then sends it down a channel with two other streams of user data, each in its own time slot. It operates at either the 900 MHz or 1800 MHz frequency band. Join the Technical Community Today! http://www.pantechsolutions.net…

    • 756 Words
    • 4 Pages
    Good Essays

Related Topics