Experiments

From Micro2Wiki

Jump to: navigation, search

Experiment 1: IDE, ASM/C Programming & IO

An experiment designed to familiarize students with the process of assembling, debugging, and executing assembly language programs in a typical MCU IDE. It goes over the anatomy of a simple assembly language program, and how to use IO Ports. Several examples are discussed, including one on the use of an LCD as an input/output device.

Experiment 2: Interrupts and Switch Debouncing

This experiment is designed to take students through the process of using interrupts in a microcontroller. Activities are centered around serving switches using interrupts. The subject of of switch bouncing is also addressed with solutions that include both, hardware and software methods.

Supplemental reading: Using an MCU to Read Incremental Encoders

Experiment 3: Timers, LEDs, and Applications

The objective of this experiment is teach students how to use timers in microcontrollers. Topics include operating modes, interrupt servicing for timers, and typical applications. Practical exercises interfacing LEDs to I/O ports and using timers for LED dynamic display are discussed and a homework problem provides for hands-on experience with several typical applications.

Experiment 4: Low Power Modes and PWM

This experiment discusses how to activate low-power modes in MCUs and using Pulse Width Modulation (PWM) for energy control and other applications.

Experiment 5: Introduction to Serial Communication

The subject of asynchronous and synchronous communications in the realm of embedded applications is discussed in this experiment. Students will have the opportunity of developing the hardware and software components to serially communicate an embedded MCU to external devices.

Experiment 6: Motor Interfacing

This experiment discusses how to develop and program typical motor interfaces in embedded applications. Discussed motor types include Direct Current (DC) motors, servo-motors, and stepper motors.

Experiment 7: Introduction to Data Converters

This experiment introduces students to the usage of Analog-to-digital converters in embedded applications. Both, Analog-to-digital (ADC) and Digital-to-analog (DAC) are discussed.

Personal tools