Department of Electronics and communication Engineering
Embedded System

     

Embedded Systems Lab is aimed at understanding and enhancing the practical knowledge of the theoretical subject Embedded Systems with paper code ETEC – 401 in the 7th Semester.

In the Subject, students will get the theoretical knowledge of different Microcontrollers – Basic Microcontroller 8051, Low – end Application microcontroller PIC and High – end Application ARM 7 processor. Students study the architectures, memory organisation, interrupts, instruction set, programming and interfacing of different peripheral devices. Students also study Embedded OS, Real Time Linux, Embedded Software, Software Quality Measurement, Editors, Compilers, Linkers and Debuggers for the microcontrollers and processors used in Embedded Systems.

In the lab our main focus is on understanding the above concepts practically in such a way that, at the end of the semester, the students should be able to design Embedded Systems with their own innovations. The below list of experiments with introduction will give us the insights of how we conduct our Lab. We have developed a lab manual with detailed instructions to perform all the experiments in the lab.

List of Experiments: KEIL Embedded Software/ UET Kit based practicals.

  1. Introduction to Microcontrollers & interfacing modules and KEIL Programming

In this experiment, we see different Microcontrollers physically to understand their pin structure and it will help in interfacing different peripheral devices. Students will get the introduction to Keil Software and learn how to write ASM program using Keil software to interface different peripheral devices to 8051. Students write a simple addition ASM program using Keil and they will generate a .hex file. Students will also get the introduction to Flash Magic Software and learn how to burn or load the code on to 8051.

 

  1. Write a program for Addition, Subtraction, Multiplication & Division and store the result from RAM location 30H (Starting address of Scratch pad RAM)

In this experiments, students will understand how the memory is organized in the microcontrollers. Students learn how the RAM is divided in to different register banks & scratch pad locations and how they are accessed.  Students write a program to perform basic arithmetic operations and access the memory locations of registers.

  1. Write a program to interface the 8 LEDs with MC 8051
    1. To ON and OFF all the LEDS continuously (Flashing LEDs)
    2. To create a series of moving lights (Alternate LEDs)
    3. To rotate one glowing LED towards left

In this experiment, students understand how the ports of the microcontroller are programmed as input to receive data or out to send data in parallel communication. Students will write a program to interface 8 LEDs using different Byte oriented, Bit oriented and Logical operations with some Delay subroutine.

  1. Write a program to interface the LCD display with MC 8051 and display message like Name, roll number and ECE.

LCD displays are used in offices, college, sports and also most all public addressing location now a days. In this experiment, students will understand the pin diagram and command codes of LCD device. Command codes will help in programming LCD. Students will write a program to interface this LCD device to display some message on it. This experiment is very useful for the students as many students interface LCD devices in their projects.

  1. Write a program to interface ADC with 8051 and display digital value on LCD for an analog value.

This experiment is again a very important one as most of the embedded systems will work on sensors to sense the external environment and actuators to take the correction measurement in the output. So there should be a need for ADC and DAC as the microcontrollers only process digital inputs and sensors & actuators will send analog information. Students will get a brief introduction of ADC and how to interface it with the microcontroller. Then students will write a program to read the output of the ADC and display the result on LCD device.

  1. Write a program to scan the 8 keys on the kit and display its binary code on LED’s

This is experiment will help the students to understand how a keyboard is interfaced with the microcontroller. How to read the data from the keyboard and processes it. This also useful for their projects. Students will write a program to interface 8 keys module and display binary value of the key stroke on LEDs.

  1. Write a program to generate a square wave of 2Hz at P1.0 and see the output on LED.

This experiment is very important as we introduce the concept of timers. In this experiments, students will understand the difference between software counters and hardware counters. Till this experiments students use registers as counters in their delay subroutine. But we use timer as a counter due to its accuracy. Students will get the clear information about the timer such as the configuration register, timer register and flags. Student will write a program to generate square wave using the timer in the delay subroutine. Here delay indicated the pulse width of the square wave. Time period of the square wave is 2times delay.

  1. Write a program to interface the seven segment display with MC 8051

Seven Segment display is used in numerous projects to display some count or a numerical message. So concept of interfacing SSD with Microcontrollers and Microprocessors is a very important task. This experiment gives an experience of how we can interface SSD to the 8051. Students will write a program to interface and display a number on SSD.

  1. Write a program for counter to count 0 – 9 and display on Seven segment display using MC 8051.

In this experiment students will write a program to display counter value on SSD. We use hardware timer0 as a counter in this case instead of software timers.

  1. Write a program to create a series of moving lights using PIC on LEDs

This experiment is same as 3rd experiment except now we write program using PIC instruction set on MPLAB software or editor. All the above experiments can be written for PIC MC using MPLAB software.

  1.  Write an ALP to add 16 bits using ARM 7 Processor
  2.  Write an ALP for multiplying two 32 bit numbers using ARM Processor
  3.  Write an ALP to multiply two matrices using ARM processor

Experiments 11, 12, 13 are related to ARM processor and using Keil software we can write these programs which will help the students to understand the instruction set of ARM

Note: Students