rtes:topics:arduino:interrupts
This is an old revision of the document!
Table of Contents
Interrupts
Lecture Material
This lecture is related to interrupts
of the AVR ATmega328 microcontroller.
We use part of the excellent material from "CSE P567, Design and Implementation of Digital Systems (Winter 2010)"
by Carl Ebeling, Computer Science and Engineering Program, University of Washington
- Lecture 6: Introduction to the ATmega328 and Arduino
- Lecture 7: ATmega328 Timers and Interrupts
From the introduction to ATmege328 (“Lecture 6”) we just need:
- AVR register file: some discussions
- AVR memory
- Interrupts
- I/O ports, pin circuity
We don't need:
- Addressing modes
- Instructions
Lab / Exercises / Homework
1) Time Interrupts
Let us work on Arduino Timer Interrupts based on material from instructables
http://www.instructables.com/id/Arduino-Timer-Interrupts/?ALLSTEPS
2) Generate f = 3 kHz
Modify the code from the instructable above to generate a frequency of f = 3 kHz.
Links
rtes/topics/arduino/interrupts.1508248492.txt.gz · Last modified: 2017/10/17 13:54 by admin