EE 351 - Fall 2022

EE 351: Microcontrollers - Fall 2022

Instructor: Kevin Wedeward (Workman Center 221, 835-5708, kevin.wedeward@nmt.edu, https://sites.google.com/nmt.edu/kevin-wedeward/)

Class Day, Time and Place: TR 12:30pm-01:45pm in Workman Center 109

Office Hours: TWR 02:30pm-04:00pm, by appointment, and any time office door is open

Textbook (Required):

Integrated Development Environment (We'll use Microchip Studio):

Assemblers/Compilers (We'll use AVR Assembler and one of the C compilers):

Useful Links:

Prerequisite: EE 271 (Mathematical Engineering)

Course Description: Introduction to microcontrollers. Topics include: programming in assembly and C, bus structures, interrupts, timing, real-time control, parallel and serial interfaces, support devices, disassemblers, and related topics.

Topics:

  • Digital logic, terminology and numbering systems (binary, decimal, hexadecimal)

  • Fundamentals of microcontrollers and microprocessors

  • Architecture of AVR microcontrollers, and specifically the ATmega328 family

  • Instruction set, assembly programming and the hex file

  • Programming a chip and/or evaluation board

  • C programming

  • Digital Input/Output

  • Timers

  • Interrupts

  • Input capture, wave generation and Pulse Width Modulation (PWM)

  • Analog-to-digital converters (ADC)

  • Serial Digital Communication via UART and Inter-Integrated Circuit (IIC or I2C)

Course Outcomes: Students will be able to

  • read, interpret and use the AVR Instruction Set Manual and data sheets for the ATmega328 family of microcontrollers;

  • develop, debug and simulate assembly and C programs for the AVR microcontroller in an Integrated Development Environment (IDE);

  • program an evaluation board based upon the ATmega328 family of microcontrollers; and

  • interface with a variety of peripherals.

Grading:

  • Homework - 30% (working with others is encouraged so long as the work turned in is your own)

  • Projects - 30% (guidance on whether projects are to be done individually or in teams will be provided)

  • Exams - 40% (exams are to be done individually without external resources other than those specified)

  • Assignments will typically be submitted via Canvas.

  • Answers and supporting work must be written neatly and clearly.