ECE 473: Microprocessor System Design

Introduction to the internal organization and application of microprocessors and microcontrollers. Topics include architecture of microprocessors/microcontrollers, interfacing peripheral devices, and interrupts. Hardware and software implementation of a complete system based on an 8-bit microcontroller is studied.

The following lab material requires Adobe Acrobot Reader to view.

Radio Board
TekBots Radio Board

Hardware Used

  • ATMega128 Board: Mega128 Board Information and Documentaion
  • Universal Programmer: Universal programmer Board Information and Documentaion
  • Daughter Board Kit: Daughter Board Information and Documentaion
  • Radio Board: Radio Board Information and Documentaion

Software Used

Lab Material From Instructor

Link to Lab Material

Section 1: Mega128.2 Assembly

In this lab you will get your daughterboard, radio board, and parts kit. You will attach the daughterboard to your mega128.2 microcontroller and run test code written for the GNU avr-gcc compiler.

Section 2: LED and Encoder Interface

In this lab you will build a four digit multiplexed LED display and two shaft encoders on the daughter board. Program the uC to allow the shaft encoders to increment or decrement the number shown on the 4 digit display. Push buttons will select which shaft encoder is active, the amount to increment or decrement the number, and the brightness of the display.

Section 3: Miniature Piano

In this lab you will build a miniature piano on the Daughter Board and use a timer to create the tones. Students will gain experience controlling devices via the SPI interface.

Section 4: Alarm Clock

In this lab interrupts, timers, and counters are used to create an alarm clock. The clock must display the time, have an audible alarm, and a snooze function.

Section 5: DAC and Voltmeter

This lab helps students understand noise induced by digital circuitry and properly decoupling techniques. Students will be required to interface with multiple SPI devices and make analog to digital conversions.

Section 6: Frequency Counter

Students will create a frequency counter with a 10kHz resolution and an LCD. The radio.0 board is the source of the frequency and a UART will allow interfacing with a PC.

Final Project: FM Clock Radio

In this lab, you will extend the functionality of previous labs by building an FM clock radio using the radio.0 board. The project will work like a typical home clock radio and must display the clock on the 4 digit LED display and radio turner information on the LCD.