|Lab #0 - Install Atmel Studio 7 using link above (using web installer). |
Next add "Terminal for Atmel Studio" by going Help | Atmel Gallery | Extensions | Terminal for Atmel Studio. You will have to close and reopen Atmel Studio and then it will apear in the VIEW menu.
Next we will set up Atmel Studio to send code to arduino boards using avrdude (see below for strings).
Next we will start a project, copy the blink code from here into the project, modify the code (to blink the LED on the arduino), compile it and send it to the arduino board to verify it works.
|Aug 30||Intro to Atmel328P||Class Notes|
|Sep 4||General Purpose IO||Chp 4|
|Sep 6||GPIO (Cont)||In Class Assignment #1 - Write a program that will use PORTD as an input port and display the port value to the terminal (in Hex). Add statements to the program to MASK PORTD Pin 4 so that it prints "Depressed" when ONLY THAT BUTTON is pressed.|
|Sep 11||Analog to Digital (ADC)||Chp 13||Setup printf for Floating Point values||Lab #2 - due via electronic submission at start of lab next week (including demo).|
|Sep 13||Interrupts||Chp 10.3||In Class Assignment #2 - write a program that will interrupt when a switch goes from a low to a high and toggle an LED when it occures.|
|Sep 18||Interrupts (cont)||Lab #3 - due in one week (electronic submission and hand written work).|
|Sep 20||Finish Lab #3|
|Sep 25||No Class or Lab (Instructor Out)|
|Sep 27||Commenting Code|
|Creating and Debugging Programs|
NASA C Style Guide
|Oct 2||Timers (cont)||Chp 15||Lab #4 - Read a light to frequency sensor and display timer tics and frequency to terminal. Due by end of lab. (Don't forget to comment!)|
|Oct 4||Work on Lab #5||Lab #5|
Excel for Notes vs Freq
|Oct 9||Work on Lab #5|
|Oct 11||No Class - Instructor out of town (Work on Lab)|
|Oct 16||No Class - Fall break|
|Oct 18||Work on Lab #5|
|Oct 23||Work and complete Lab #5|
|Oct 25||I2C||Chp 18||Intro|
|Oct 30||LCD (Lab #6)||Lab #6 - due Nov ??.|
Note: DO NOT start project with I2C selected....manually set up I2C using sample code as instructed in handout.
LCD Data Sheet
Chp 18 code (select 18_3.c from pulldown)
|Nov 1||Finish Lab #6|
|Nov 6||I2C Read||Lab #7 - display the output from a ADXL345 accelerometer to the terminal.|