10605176
Microcontrollers
Course Information
Description
Microcontrollers explores the architecture, peripherals, and hardware interfaces used in embedded systems. Students configure and program microcontroller digital I/O, interrupts, timers, capture and compare functions, serial communication, analog-to-digital conversion, pulse width modulation, displays, and external memory. Laboratory activities emphasize hardware/software integration, simulation, measurement, testing, troubleshooting, and technical documentation. Students apply these concepts in the design, fabrication, and demonstration of a microcontroller-based system.
Total Credits
3
Course Competencies (Course Outcomes)
-
Interpret microcontroller architecture and peripheral organizationAssessment StrategiesWritten examinationArchitecture analysis exercisesCriteriaIdentify the major functional blocks of a microcontroller.Explain the functions of the CPU, memory, buses, clock system, and peripheral modules.Interpret microcontroller block diagrams and technical documentation.Identify memory and peripheral resources required for an embedded application.Relate architectural features to program execution and hardware operation.
-
Verify microcontroller designs using simulation and development toolsAssessment StrategiesSimulation exercisesLaboratory skill demonstrationTechnical documentationCriteriaCreate a functional microcontroller circuit or system model using simulation tools.Configure the simulated microcontroller and associated peripherals.Execute and observe program operation using available debugging tools.Compare simulated behavior with predicted circuit and program behavior.Identify and correct hardware or software faults.Document the verified design using schematics, code, and test results.
-
Configure and control microcontroller digital input and outputAssessment StrategiesLaboratory exercisesSkill demonstrationWritten or practical examinationCriteriaConfigure microcontroller pins for digital input and output.Interface switches, push-buttons, LEDs, or equivalent digital devices.Read digital input states and control digital outputs in software.Apply appropriate pull-up, pull-down, and current-limiting components.Verify digital logic levels and timing using appropriate test equipment.Troubleshoot digital I/O hardware and software.
-
Implement event-driven control using hardware interruptsAssessment StrategiesLaboratory exercisesProgramming assignmentPractical examinationCriteriaConfigure an external hardware interrupt source.Select appropriate interrupt triggering conditions.Develop an interrupt service routine that responds correctly to an external event.Manage shared data and program flow between interrupt and main program execution.Verify interrupt response using appropriate test equipment or debugging tools.Troubleshoot interrupt configuration and program operation.
-
Configure microcontroller timers for timing and waveform generationAssessment StrategiesLaboratory exercisesProgramming assignmentWritten or practical examinationCriteriaConfigure a hardware timer using appropriate clock sources and prescalers.Calculate timer values for a specified delay, period, or frequency.Generate periodic events using timer interrupts.Generate digital waveforms with specified timing characteristics.Measure generated timing signals using an oscilloscope or logic analyzer.Compare measured timing with calculated values and troubleshoot discrepancies.
-
Interface a parallel peripheral or display with a microcontrollerAssessment StrategiesLaboratory exercisesInterface projectTechnical documentationCriteriaInterpret the interface requirements of a parallel peripheral or display.Connect data, control, power, and ground signals correctly.Develop software to initialize and communicate with the peripheral.Display or transfer application data using the interface.Verify interface timing and operation using appropriate test equipment.Troubleshoot hardware and software interface faults.
-
Apply capture and compare peripherals to measurement and control applicationsAssessment StrategiesLaboratory exercisesProgramming assignmentPractical examinationCriteriaConfigure capture or compare timer functions for a specified application.Measure external signal timing using an input capture function.Generate timed output events using an output compare function.Calculate frequency, period, pulse width, or event timing from captured data.Verify peripheral operation using appropriate test equipment.Troubleshoot capture and compare configuration and software.
-
Implement serial communication using UART or USARTAssessment StrategiesLaboratory exercisesProgramming assignmentPractical examinationCriteriaConfigure serial communication parameters including baud rate and frame format.Transmit and receive data using a microcontroller serial peripheral.Interface the microcontroller with another embedded system or serial terminal.Verify transmitted and received data.Use test or debugging tools to evaluate serial communication.Troubleshoot configuration, wiring, and software communication faults.
-
Interface analog sensors and signals using an analog-to-digital converterAssessment StrategiesLaboratory exercisesSensor interface projectTechnical documentationCriteriaConfigure the microcontroller analog-to-digital converter.Select an appropriate input channel, reference, and conversion settings.Acquire digital measurements from an analog sensor or signal source.Convert ADC results into meaningful engineering quantities.Compare calculated values with measured input signals.Troubleshoot analog interface and conversion errors.
-
Control loads using pulse width modulationAssessment StrategiesLaboratory exercisesMotor or actuator control projectPractical examinationCriteriaConfigure a microcontroller PWM peripheral for a specified frequency and duty cycle.Calculate PWM parameters for a required output.Interface the PWM output with an appropriate driver circuit.Control the speed, direction, intensity, or output level of an external load.Measure PWM frequency and duty cycle using appropriate test equipment.Troubleshoot PWM hardware and software operation.
-
Interface external memory with a microcontrollerAssessment StrategiesLaboratory exercisesInterface assignmentTechnical documentationCriteriaInterpret external memory device specifications and interface requirements.Connect required address, data, control, power, and ground signals as applicable.Develop software to write data to and read data from external memory.Verify stored and retrieved data.Use appropriate tools to troubleshoot memory interface faults.Document the memory interface and test results.
-
Integrate microcontroller peripherals into an embedded systemAssessment StrategiesCapstone design projectSystem demonstrationTechnical reportCriteriaDefine functional requirements for a microcontroller-based system.Select appropriate microcontroller peripherals and interface circuitry.Develop and integrate hardware and embedded software.Fabricate or assemble the system using appropriate construction techniques.Test system operation against defined requirements.Troubleshoot hardware and software integration problems.Document the system with schematics, block diagrams, source code, test results, and conclusions.Demonstrate the completed system and explain its operation.