rtes:topics:arduino:interrupts
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
rtes:topics:arduino:interrupts [2017/10/17 11:50] – admin | rtes:topics:arduino:interrupts [2018/11/08 12:16] (current) – [2) Generate f = 3 kHz] admin | ||
---|---|---|---|
Line 2: | Line 2: | ||
===== Lecture Material ===== | ===== Lecture Material ===== | ||
+ | <WRAP center round important 60%> | ||
+ | This lecture is related to interrupts \\ of the AVR **[[rtes: | ||
+ | </ | ||
- | We use part of the excellent material from [[http:// | ||
+ | We use part of the excellent material from [[http:// | ||
+ | /* | ||
* Lecture 6: {{: | * Lecture 6: {{: | ||
* Lecture 7: {{: | * Lecture 7: {{: | ||
+ | */ | ||
+ | * Lecture 6: {{ : | ||
+ | * Lecture 7: {{ : | ||
+ | |||
+ | * [[https:// | ||
+ | * {{http:// | ||
+ | * {{http:// | ||
From the introduction to ATmege328 (" | From the introduction to ATmege328 (" | ||
Line 12: | Line 23: | ||
* AVR memory | * AVR memory | ||
* Interrupts | * Interrupts | ||
- | * I/O ports, pin circuity | + | * I/O ports, pin circuitry |
We don't need: | We don't need: | ||
* Addressing modes | * Addressing modes | ||
* Instructions | * Instructions | ||
+ | |||
+ | ==== Interrupt and Context Switch ==== | ||
+ | |||
+ | A very good explanation is found here: | ||
+ | * https:// | ||
+ | |||
===== Lab / Exercises / Homework ===== | ===== Lab / Exercises / Homework ===== | ||
- | Let us work on Arduino Timer Interrupts | + | ==== 1) Time Interrupts |
- | * http:// | + | Let us work on Arduino Timer Interrupts based on material from instructables \\ http:// |
- | ===== Links ===== | ||
- | http://ucexperiment.wordpress.com/2012/ | + | ==== 2) Generate f = 3 kHz ==== |
+ | |||
+ | Modify the code from the instructable above to generate a frequency of f = 3 kHz. | ||
+ | |||
+ | ==== The Lazy Ones use this ==== | ||
+ | |||
+ | http://www.8bit-era.cz/arduino-timer-interrupts-calculator.html | ||
+ | |||
+ | ===== Links ===== | ||
- | https:// | + | * https:// |
+ | * http:// | ||
+ | * https:// | ||
+ | * [[http:// | ||
+ | * https:// | ||
- | [[http:// | ||
- | https:// | ||
rtes/topics/arduino/interrupts.1508241042.txt.gz · Last modified: 2017/10/17 11:50 by admin