Microprocessor & Microcontroller Lab

Incharge
Er. Amit Kumar
Lab Area: 960 Sqfeet
Room Number: EC 107

Lab Faculty: Er Vinay Kumar

Lab Instructor: Mr Tejveer Singh

Lab Staff: Mr Ram Gopal

Courses Covered

  • REC 451-Microprocessors & Microcontrollers Lab
  • RIC 651-Microcontrollers For Embedded Systems Lab
  • EC 553-Microprocessors Lab

LIST OF EXPERIMENTS

Microprocessor and Microcontroller Lab (REC 451)

1. To study 8085 microprocessor system.
2. Write a program using 8085 and verify for subtraction of two 8 bit hex numbers and store result at 2050H.
3. Write a program using 8085 and verify for addition of two 8 bit numbers and store the result at 2002H.
4. Write a program using 8085 and verify for:
a) Addition of two 16 bit number using register pair.
b) Addition of two 16 bit number directly.
5. (a) Write a program using 8085 to multiply an 8 bit numbers stored in 200A by two (decimal) & store result in 200BH.
(b)Write a program to divide an 8-bit number stored in location 200A by two (decimal) & store result in 200BH.
6. Write a program using 8085 to store 16 bit of data in memory location at 2050 to 205F. Transfer the entire block of data to new memory location starting at 2070H.
7. Write a program in which six bytes of data are stored in memory location starting at 2050H and add all data bytes. And use register B to save any carry generated while adding data bytes.iNPUT DATA=A2,FA,DF,E5,98,8B.
8. Learn and understand how to configure MSP-EXP430G2 Launchpad digital I/O pins. Write a C program for configuration of GPIO ports for MSP430.
9. Learn and understand how to configure the PWM and ADC modules of the MSP-EXP430G2 Launchpad to control the DC motor using external analog input.
10. Understand and Configure 2 MSP430F5529 Launchpad in master-slave communication mode for SPI protocol.
11. Implement Pulse Width Modulation to control the brightness of the on-board, green LED. This  experiment will help you to learn and understand the configuration of PWM and Timer peripherals of the MSP430G2553.
Experiments Beyond the syllabus:
1. Write a program to Interface GPIO ports in C using MSP430 ( push buttons)
2. Write a program Interface potentiometer with GPIO.
3. Write a program of PWM based Speed Control of Motor controlled by potentiometer connected to GPIO.

Control System Lab – RIC 653

1 Different Tool boxes in MATLAB, Introduction to Control System Tool box.

2. Determine transpose, inverse values of given matrix.

3. Plot the pole-zero configuration in s-plane for the given transfer function.

4. Determine the transfer function for given closed loop system in block diagram representation.

5. Plot unit step response of given transfer function and find delay time, rise time, peak time and peak overshoot.

6. Determine the time response of the given system subjected to any arbitrary input.

7. Plot root locus of given transfer function, locate closed loop poles for different values of k. Also find out Wd and Wn for a given root.

8. Create the state space model of a linear continuous system.

9. Determine the State Space representation of the given transfer function.

10. Plot bode plot of given transfer function. Also determine the relative stability by measuring gain and phase margins.

11.Determine the steady state errors of a given transfer function.

12.Plot Nyquist plot for given transfer function and to discuss closed loop stability. Also determine the relative stability by measuring gain and phase margin.

Beyond the syllabus

13. Introduction to Simulink.

14. To obtain the transfer function of a system using Simulink.

 

 List of Recent Lab Equipments

I-MOB – 8501 LED MICROPROCESSOR TRAINER KIT

Based on 8085 CPU operating at 6.144 MHz crystal frequency.8K bytes of EPROM loaded with powerful monitor program. 8K bytes of RAM available to the user.Total on board memory expansion upto  64K bytes using 2732/2764/27128/6264/ 62256 with 1 socket of 28 pin.Memory mapping definable by the user.16 bit programmable TIMER/COUNTER using 8253.24 programmable I/O lines provided   through 8255.RS-232C interface through SID/SOD Lines with Auto baud rate.Two modes of commands: Hex Key pad mode USBInterface to connect kit to computer.V-USB Terminal Software to operate kit from USB Port to execute all commands like Examine Memory, Execute, Assembler, Dissembler & etc. No components provided on board, only circuit diagram printed on board.All address, data & control lines are   buffered and made available at the edge connector as per STD bus   configuration.25/28 key hexadecimal keyboard and six seven segment displays through 8279. Powerful  software  commands like  Relocate, String, Fill, Insert, Delete, Block Move, Examine/Compare   Memory, Examine Register, Insert Data, Delete Data, Single Step, GO, Break Point in both Serial & Keyboard mode. Facility for Downloading/Uploading files from/to PC. In-built Power supply. User's Manual.

I-MOB – 8609 LCD MICROPROCESSOR TRAINER KIT

Based on 8086/8088 Microprocessor. Onboard assembler & disassembler. 16K Bytes of  EPROM Loaded with monitor expandable to 256K Bytes using 27256 with commands like Assemble, Display or Modify Data, Unassemble, Trace, Go.16K bytes of CMOS RAM expandable to 128K Bytes using 6264/62256. 72 I/O lines using three nos. of 8255.

8 different level interrupt through 8259. Three 16 bit Timer/Counter through 8253. 104/105Keys IBM PC Compatible ASCII Keyboard. 20x2 Liquid Crystal Display. RS-232C Port using 8251. USB Interface to connect kit to computer.V-USB Terminal Software to operate kit from USB Port to execute all commands like Examine Memory, Execute, Assembler, Dissembler & etc. No components provided on board, only circuit diagram printed on board.All address, data and control signals (TTL Compatible) available at edge   connector as per Multi Bus.  The kit   also has its own Resident Bus.In-built Power Supply. User's Manual.

I-MOB-31

8031/51 MICROCONTROLLER TRAINER KIT

Based on 8031/8051 operating at 10/12 MHz.On board 8K RAM. Battery backup for RAM area.8/16K bytes of EPROM with powerful monitor program.Total memory expandable upto 128K Bytes using four 28 pin sockets. 48 I/O lines using 2 nos. of 8255.Two External interrupts INT0 & INT1.28 keys Hexadecimal Keyboard and  six Seven Segment displays.

USB Interface to connect kit to computer.V-USB Terminal Software to operate kit from USB Port to execute all commands like Examine Memory, Execute, Assembler, Dissembler & etc. No components provided on board, only circuit diagram printed on board.RS-232C interface using 8251. Auxiliary  RS-232C using serial pins of 80C31. All data, address and control signals (TTL compatible) available at FRC   connector. Software commands like INSERT, DELETE, BLOCK MOVE, SET/CLEAR BREAK POINT, SINGLE STEP, EXAMINE THROUGH REGISTER, EXECUTE, EXAMINE,   MODIFY, PROGRAM/DATA/INTERNAL MEMORY   etc.Uploading/Downloading facility from PC in Intel Hex format.In-built Power Supply. User's Manual.

INTERFACE MODULE

Interface Module -(ALL IN ONE). Burge strip F-F connectors, ADC & DAC interface module. Stepper motor interfaceDC Voltage & current  Measurement interface module

Traffic Control interface module. 4X4 Keyboard matrix.89S51 programmer with USB Programming facility .Required Software, USB cable

ADVANCED 8085 MICROPROCESSOR TRAINER

This is a 8085 Microprocessor based product designed to teach students about 8085 architecture and its programming techniques. This provides a very simple and user friendly platform for students so they can learn about 8085 Microprocessor architecture and implement their own ideas with different peripherals provided on board. Practical experience on this board carries great educational value for science and engineering students., It should have following features: Diagrammatic representation of full system, Powerful monitor program, Battery backup for RAM, Three channel Timer/counter using 8253, 48 I/O lines using 8255, On board EPROM programmer for 27 series, On board 8 channel ADC, On board DAC, Facility of downloading and uploading the files from PC., Two command mode interface, ASCII Keyboard, Serial Mode, All Address and Control lines are available on 50 pin Connector. It should have following Technical Specifications: Operating Frequency: 6.144 MHz, ROM: 8 K, RAM:  8K,Input:  ASCII Keyboard, Display : 20 X 2 LCD, Power Supply: 110V - 260V AC, 50Hz, Operating Conditions:0-40˚ C, 85% RH, Learning Material: Online (Theory, procedure, reference results etc)Scope of Learning: Study of 8085 architecture, 8085 assembly language programming, Interfacing of 8085 with ADC, Interfacing of 8085 with DAC, Peripheral interfacing

ADVANCED 8086 MICROPROCESSOR TRAINER

It should have following features :Diagrammatic representation of full system, 72 I/O lines through 8255, Powerful monitor program, Battery backup for RAM, Three channel Timer/Counter using 8253, On board 8 channel ADC, On board DAC,Two modes of operation, Keyboard mode, Serial Mode, Facility of downloading and uploading the files from PC, All Address and Control lines are provided on 50 pin connector, It should have following Technical Specifications: Operating Frequency : 5 MHz, RAM :16 K, ROM : 16 K, Display : 20 X 2 LCD, Input : ASCII Keyboard, Mains supply : 90 - 230V AC, 50 HzIt should performed following experiments: 8086 Architecture, 8086 Assembly language programming, Interfacing of 8086 with ADC, Interfacing of 8086 with DAC, Working and interfacing of 8087 Math coprocessor, Working and interfacing of 8089 I/O Processor, Peripheral interfacing

Interface 1 8279 Key board & Display Controller

Interface 2 8257 Programmable DMA Controller

Interface 3 8255 Prog. Peripheral interface

Interface 4 Stepper Motor Controller

Interface 5 Traffic Light Controller

Interface 6 Temperature Measurement

ADVANCE 8051 MICROCONTROLLER BOARD WITH JTAG DEBUGGER

C8051 F340 CPU Operating up to 48MHz, 4KB on-chip RAM and 64KB on-chip Flash memory, On board JTAG emulation connector, Universal Serial Bus (USB) Function Controller, High-speed pipelined 8051-compatible microcontroller core, In-system, full-speed, non-intrusive debug interface(on-chip), On chip Universal Serial Bus (USB) Function Controller, True 10-bit 200 KSPS differential / single-ended ADC with analog multiplexer, On-chip Voltage Reference and Temperature Sensor, On-chip Two Analog Voltage Comparators, Precision internal calibrated 12 MHz internal oscillator, Internal low-frequency oscillator for additional power Savings, On Chip Programmable Counter/Timer Array (PCA) with five capture/compare modules and Watchdog Timer function, On Chip SMBus/I2C and SPI serial interfaces, On board Data Transfer Interfaces, DB9 connector for UART0 interface, 3 pin header for UART 1 interface, On board Functionalities, JTAG emulation connector, Reset and Run/Program mode (Boot Mode Selection) switch, Two 20-pin FRC Connector for 32 Port 1/0 (5 V tolerant), Two user LEDs, Flash Programming using USB port, Integrated development software, Mechanical Parameters: Size-55mm X 110mm, Input Voltage - 9V DC, JTAG Emulator for Real time debugging.

GPIO BOARD

All-in-One GPIO Board: The All-in-one GPIO board is specially designed to suit the experimentation of different GPIO devices with the micro controllers,  On board display options includes 8 LED, 16x2 character LCD, 2 digit 7-segment display, Switches includes 4 general purpose keys and 2X2 matrix keyboard, EEPROM Based on I2C and SPI for protocol demonstration experiments, Stepper motor and DC Motor interface, Relay output,  Facility to provide 2 channel ADC in put using potentiometer and unity gain amplifier for protection, Compatible with different educational practice boards and Arduino Board, Useful resource to learn basic programming techniques to interface basic GPIO components to the controller,

DEVELOPMENT BOARD FOR MSP430 WITH ACCELEROMETER

Educational Practice Board for MSP430 features MSP430F2553 CPU working up to 16MHz,

16KB Flash, 512B RAM, 8 Channel 10-bit ADC (Sampling Rate: 200KSPS), On board 8 bit DAC with fix reference voltage as well as variable reference voltage provision, On board 6 pin relimate connector for SPI, On board 4 pin relimate connector for I2C, On board 3 pin relimate connector for 2 channel analog voltage input, On board 10K potentiometer for ADC input, On board TTL UART connector to interface various sensors, On board I2C connector to interface various sensors, On board 20 pin FRC connector to interface GPIO devices, On board dual inline PTH to interface various signals, Accelerometer for MSP430.

DEVELOPMENT BOARD FOR MSP430F5529

USB-enabled MSP430F5529 16-bit MCU: Up to 25-MHz System Clock, 1.8-V to 3.6-V operation, 128KB of flash, 8KB of RAM, Five timers, Up to four serial Interfaces (SPI, UART, I2C), 12-bit analog-to-digital converter, Analog comparator, Integrated USB, with a complete set of USB tools, libraries, examples, and reference Guides, The eZ-FET lite emulator, with the application ("backchannel ") UART., Ability to emulate and develop USB applications with a single USB cable, made possible with an onboard USB hub, Power sourced from the USB host. The 5-V bus power is reduced to 3.3 V, using an onboard dc-dc converter, Both male and female 40-pin Booster Pack plug-in module headers, configured for stacking. 20-pin Booster Pack plug-in modules can also be attached,Compatible with the 40-pin Booster Pack plug-in module development tool standard.

WI-FI CC3100 WIRELESS NETWORK PROCESSOR KIT

Wi-Fi CC3100 wireless network processor Kit: CC3100 Wi-Fi Network Processor in QFN package, Industry’s first devices to be Wi-Fi CERTIFIED™ at the chip level by the Wi-Fi Alliance™, 2 20-pin stackable connectors (Booster Pack headers) to connect to TI Launchpad and other Booster Packs, On-board chip antenna with option for U.FL-based testing , Power from on-board LDO using USB OR 3.3V from MCU Launchpad, 2 push buttons,  4 LEDs , Jumper with 0.1 Ohm resistor for current measurement, 0.8-megabit serial flash, 40 MHz crystal, 32 KHz crystal and oscillator,  U.FL and chip antenna,  USB, 4 Layer PCB with 6 mm spacing and track width, All the Specifications mentioned in the Tender inquiry are CC3100 chip features and will be supported by Wi-Fi CC3100 wireless network processor Kit.

IOT DEVELOPMENT PLATFORM

Specifications for Smart IoT: Different variety of IOT Nodes featuring Three ARM Cortex-M3&Two Cortex-M4 demonstrate various features like Ethernet, USB, Sensor interfacing, UART, I2C, SPI etc. These nodes enabled to user to learn sensor interfacing and peripheral programming required for IOT application, One unit of Embedded Gateway with HDMI and Ethernet connectivity, USB ports, on board Wifi, on board Bluetooth. Quad Core 1.2GHz CortexA53 64bit CPU, 1 GB RAM. The embedded gateway should be able to connect to the nodes and transmit data to the cloud. The necessary image containing cloud services compatible for IoT should be ported on the board. Also the procedure to configure the same should be provided to end user., Five unit of All-in-one GPIO board designed to suit the experimentation of IoT applications to be provided having following features, On-board display options includes 8 LED, 16x2 character LCD, 2 digit 7-segment display, Switches includes 4 general purpose keys and 2X2 matrix keyboard, I2C and SPI based EEPROM, Stepper motor and DC Motor interface, Relay output, Facility to provide 2 channel ADC input using potentiometer and unity gain amplifier for protection.Experimentation using AWS (Amazon Web service) along with the provided nodes featuring real time IOT experimentation., Voice enabled control using Amazon Alexa enabled Echo Dot with provided node hardware., Experimentation using Google Cloud VM along with the provided nodes featuring real time IOT experimentation., Voice enabled control using Google Assistant Application on Android OS. One unit of Router with power supply, A Bluetooth module for connecting the node to embedded gateway., A portable sensor kit with facility to interface temperature-humidity sensor to log data on IOT gateway using Wi-Fi protocol., Three unit of Cortex M3 Base Board for Interfacing Sensors, A set of sensors for sensing of data and posting it to cloud. The set of sensors should be compatible with nodes and should be provided with proper connectivity options like base board where the sensors can be mounted. The sensors should be compatible with I2C, SPI protocols etc. The sensors should be pluggable. The base board should have 34 pin connector for I2C, SPI, UART, PWM lines available as well as a 10 pin connector for ADC interface with the node., 2KG stepper motor and +5V DC motor for demonstration of cloud based control using IoT application,  An IDE configured for IoT applications to be provided for entire lab., Workbook (Softcopy) Manual featuring basic examples to get started with the target board as well as examples to use internet and communicate with cloud, with detailed working procedures will be provided with the setup.,  The workbook contains examples related to interfacing of sensors as well as posting the data of the sensors on the cloud and take necessary action as required.