Lecture Video Access:                         Lecture Video Access

 

ME 510 Microcontrollers Handouts

 

  1. Notes
  2. Microcontroller Lab Syllabus

 

  1. Lab 1 Requirements
  2. Handout 1 Tutorial - C Compiler - Programming the Microcontroller AVR Studio 7.0
  3. Handout 2  Parts List
  4. Handout 3  Blink program and C-Programming
  5. Handout 4  Lab1_Blink_2

Lab 1 Blink 2.c

  1. ATmega88PA

 

  1. Lab 2 Requirements
  2. Handout 5a  C-Programming with Microcontrollers
  3. Handout 5b  C-Programming
  4. Handout 6  Fuse Bits Changing the Clock Source and Frequency AVR Studio 7.0
  5. Handout 7  Serial Communication 2

Serial Communication 2.c

14.  Shift Operator in C

  1. Handout 8  ADC with Interrupts for the WinGCC Compiler

ADC_interupt_ATmega8.c

  1. Handout 9  ADC without Interrupts for the WinGCC Compiler

ADC_no_interrupt_ATmega8.c

 

  1. Lab 3 Requirements
  2. Handout 10  SPI Bus Interface
  3. Handout 11  Bit Manipulation
  4. Handout 12  SPI_test_WIN_Avr_ATmega8

SPI_test_WIN_Avr_ATmega8.c

 

  1. Lab 4 Requirements
  2. Handout 13  Counters_Timers_and_Interrupts

Timer_Interrupt.c

PWM_servo.c

PWM_DC_Motor.c

 

  1. Lab 5 Requirements
  2. Handout 14  Conversion of Single Ended to Bipolar and Bipolar to Single Ended
  3. Handout 15  Conversion of a Digital Controller to a Difference Equation
  4. Handout 16  PWM_DC_Motor_Control_P_4

PWM_DC_Motor_Control_P_4.c

  1. Handout 17  SPI_test_AD_DA_Control_P_4

SPI_test_AD_DA_Control_P_4.c

 

  1. Handout 17a  Mega88_Test_AD_DA_Step_Input_P

Mega88_Test_AD_DA_Step_Input_P.c

 

  1. Handout 18  SPI_test_AD_DA_Control_PI_4

SPI_test_AD_DA_Control_PI_4.c

 

  1. Handout 18a  Mega88_Test_AD_DA_Step_Input_PI

Mega88_Test_AD_DA_Step_Input_PI.c

 

  1. Handout 19  Derivative Approximation using Backward Difference and Tustin Method
  2. Handout 20  Sensors

 

  1. Handout 21  Introduction Incremental Rotary Encoders

Encoder_Software.c

Encoder_LS7366R.c

 

  1. Handout 22  Atmel Xmega Chips

Blink2_Xmega.c

Xmega_Test_AD_DA_64pin_chip_4_A1U.c

Xmega_Digital_Pot_and_SPI.c

 

  1. Handout 22a  Xmega_Test_AD_DA_Step_Input_A1U

Xmega_Test_AD_DA_Step_Input_A1U.c

 

  1. Handout 22b Xmega_Test_AD_DA_General_Input_A1U

Xmega_Test_AD_DA_General_Input_A1U.c

 

  1. Lab 6 Introduction and Requirements

xmega_HDD_controller_clean_A1U.c

 

38.  Handout 23  Digital_Pot.c

Digital_Pot.c

 

39.  Handout 24  Conversion of a Digital Controller to a Difference Equation

 

40.  Handout 25  Full Order Digital Observer Implementation in a Digital System

 

41.  Handout 26  Outer Feedback Loop with an Integrator for Digital State Space Control

 

42.  Handout 27  Full Order Digital Observer Implementation in a Digital System with integrator and outer feedback loop

43.  Handout 28  Digital State Space Control Design and Simulation

Digital_Control_Design_Simulation_5.m

44.  Handout 29  State Space Implementation with Observer Template

State_Space_Implimentation_with_Observer_Template.c

45.  Handout 30  State Space Implementation with Integrator and Observer Template

State_Space_Implimentation_with_Integrator_and_Observer_Template.c

46.  Handout 31  Note on Getting the Digital State Space Matrices