2016-2017 TEI4M: AVR Optimization
Session 7: CAD & Surface Mount Technology
CLASS REFERENCE CONCEPTS PROJECTS SUPPLEMENTARY
79
May 29
 
Final Class
Long ISP with CAD Presentations
PB, OG, MM, SA, MB
30b, 30c  
78
May 25
Long ISP with CAD Presentations
TD, MK, RM
30b, 30c ER Summary due:
Saturday May 27
77
May 23
Long ISP with CAD Presentations
BL/CNC, JG, GC, AE, ST
30b  
76
May 18
 
Final Long ISP with CAD Work Period
30b  
75
May 16
 
ISP Preview Presentations
30b  
74
May 12
AP MicroEconomics (AM)
'Program' Resistors: LM317, LM3914
Long ISP Work Period
30b
73
May 10
AP English (AM) 30b
72
May 8
AP Biology (AM) 30b  
71
May 4
  30b
70
May 2
 
Flex Circuits Due
Flex Circuits Design Guide
7b
69
Apr 28
30b
68
Apr 26
7b
67
Apr 24
Long ISPs: ViaCAD Session 5
30b
66
Apr 20
ATtiny84/85 Pinouts...


THT Flex Page Videos:
SA, PB, MB, GC, TD, AE, OG, JG, MK
BL, RM, MM, CNC, ST
Ultrasonic Clothes Dryer
SMT2: ER Flex Page Part 2. SMT Work Period
The MPT3.6-150 Solar Module, (Specs)
Pro SMT Hand Soldering: Part 1, Part 2
EAGLE: ACES PCBs, ACES Tutorial
(Schematic) Introduction with P. Bagga
7b

Soldering Powerfilm
65
Apr 18
Long ISPs, ViaCAD Session 4
30b
64
Apr 12
7a
63
Apr 10
 
Long ISPs
ViaCAD Session 3
7a
62
Apr 6
7a
61
Apr 4
ISP:
Bluetooth Flipdot Scoreboard?

Day 3
30a
LONG ISP: Apr-May; Proposal Due: Tuesday April 4th
60
Mar
31
SMD Hot Air Rework

AOYUE SMD STN

SMD Hot Air Rework with a Stencil
Surface Mount Technology (SMT)
IC Packages Explained

Puneet's SMT DC Power Jack
SMT: DC Power Jack
PCB Interest?
6
59
Mar
29
Day 3
Long ISP With CAD Proposal
Install ViaCAD, ACES' ViaCAD Home Page
(pass around the USB Key for the 610MB dmg)
6
MARCH BREAK
Session 6: Input Capture: Sonar Project
CLASS REFERENCE CONCEPTS PROJECTS SUPPLEMENTARY
Mar 10 avr-libc:
avr/sleep.h
No Class: Parent/Teacher Interviews
Arduino Sound Synthesis  
57
Mar 8
Challenge 5 Presentation Order
RM/SA/ST, CNC/GC, MK/MM, JG/TD, AE/PB, MB/BL
5
56
Mar 6
Putting the AVR to Sleep
Low Power AVRs: Deep Sleep Tutorial
Challenge 5
AVR Sonar Project Work Period
5
55
Mar
2
ATMEL's
Application Notes Page

Timer Capture Application Note (AVR135)
R. Miller's ISP Presentation
Assembly: printByte
Challenge 5
AVR Sonar Project Work Period

AVR Assembler for Beginners
54
Feb 28
USART Preview
Serial Communication in Assembly

Challenge 5
AVR Sonar Project Work Period
KickStarter:
STEMTera Breadboard
Session 5: USART: Serial Communication
CLASS REFERENCE CONCEPTS PROJECTS SUPPLEMENTARY
53
Feb 24
Assembly Tasks: USART Debugging Utility
(complete for Tuesday)
Grade 9 Science: Soldering Assistance
 
Session 4: AVR Standalone Assembly (Timers and Signals)
CLASS REFERENCE CONCEPTS PROJECTS SUPPLEMENTARY
52
Feb 22


MaxEmbedded:
The USART of the AVR
Medium ISP Videos:
SA, PB, GC, TD, AE, OG, JG, MK, BL, MM
OG's Flyback Transformer Presentation
USART Preview

Example: SRAM Register Dump (Debugging)
ASCII.h, SerialCommOutput.txt, SerialComm.S
51
Feb 16
  Medium ISP Presentations
SA, MB, TD, AE, MK, BL
20b, 20c  
50
Feb 14
  Medium ISP Presentations
PB, GC, JG, ST, MM, RM, CNC
20b, 20c  
49
Feb 10
  ISP Work Period
20b, 20c  
48
Feb 8
  ISP Work Period
20b, 20c  
47
Feb 6
  Challenge 4
4 AVR-as
Documentation
46
Feb 2
Noise Cancellation
Idea/ Challenge?

K. Shirriff: Secrets of Arduino PWM
(K. Shirriff's brilliant IR Blog)
Fast PWM on Timer2 Worksheet
AVR Timer Calculator (2^n)
RSGC ACES: HXT500
Down the Rabbit Hole:
High > Lower > Lower Still > Lowest?
Fast PWM on Timer 1 Worksheet
4


45
Jan 31
Have your Servos
for Thursday
Assembly Example: Arrays.S
Timer1: Normal Mode Output Compare (Software Intr.)
Timer1 Mode 4: Clear Timer on Compare Match
Intr. Vects: Recap and
consolidation for next Monday's Challenge 4
44
Jan 27
Latest Job Vacancies
Timer1: Normal Mode Output Compare (Software Intr.)
Timer 1: Clear Timer on Compare Match
T1: CTC Modes

43
Jan 25
AVR Timer Calculator (2^n)
Normal Mode with Compare Match
Timer1. Normal Mode Output Compare (Hardware Intr.)
OCnA/B Pins:
T1: COM Bits

42
Jan 23
Reacquire:
prescales.h
Timer2NormalMode.wav
Timer and Interrupt Etiquette
(explains the role of the volatile keyword)
Sound: Timer2 Normal Mode with Preload

41
Jan 19
Sound: Normal Mode (continued)
SoundNormalMode.xlsx
Timer Overflow Frequency Formula:
Sonic Geometry
40
Jan 17
prescales.h

pitches.h
Review of Challenge 3 Feedback
Special Guest: Jackson's Musical Triads
Sound: Normal Mode

39
Jan 13
SFR_MEM_ADDR() vs
SFR_IO_ADDR()
Challenge 3
Video Results:
SA, PB, MB, GC, TD, AE, JG, MK, RM, CNC, ST
3a, 3b TIFR1; TIMSK1
38
Jan 11
Timer 1. Normal Mode
ElectricWings: ATmega Timers
MaxEmbedded: Introduction to AVR Timers
SlidePlayer: Timers and Interrupts
AVR-gcc: Expressions and Operator Precedence

Timer1. Normal Mode
Timer1 Modes
TCCR1;TCNT1
CHRISTMAS BREAK
Session 3: AVR Inline Assembly (Intermediate)
CLASS REFERENCE CONCEPTS PROJECTS SUPPLEMENTARY
37
Dec 21
Nick Gammon's
(Comprehensive)
Notes on Interrupts
(lots of examples)
Pure (Arduino IDE) Assembly (.S files)
Introduction to (External) Interrupts
Code: ExternalINT0.docx
Intr. Vects:
Ext. INT
36
Dec 19
Arduino Build Process
Arduino's main.cpp
Review Fibonacci and Pascal's Triangle
Pure (Arduino IDE) Assembly (.S files): Blink.docx
List of Medium ISPs AVR Toolchain:
35
Dec 15
Conway's Game of Life
ACES' ICS4U GoL
Medium ISP Proposal Due
Introduction to (High-Level) Recursion
20a
MEDIUM ISP (6 week): Jan-Feb; Proposal Due: Friday January 6th
34
Dec 13
AVR Tutorials:
The Program Counter
The AVR Stack
and the Stack Pointe
r
The Stack, Add Subroutine 20a
33
Dec 9
Matrix Position I/O PORT ACCESS: Matrix Position (High Level)
Matrix Position (Low Level)
20a
32
Dec 7
 

I/O PORT ACCESS: Matrix Position

20a
31
Dec 5
ISP Proposal ISPs in General, Medium ISP Discussion
I/O PORT ACCESS
: Bargraph Position
20a
30
Dec 1

I/O PORT ACCESS: Multiple Inputs

29
Nov 29
Numeric Labels Explained
(Thanks, Max K.)

Challenge 2 Videos:
SA, PB, MB, GC, TD, AE, OG, JG, MK, BL, MM, RM, CNC, ST

Review of Challenge 2 Code


I/O PORT ACCESS: Multiple Inputs
 
28
Nov 25
  Assembly Challenge 2
2b: In Class
2c: ER Summary

(due Saturday)
 
27
Nov 23
Deep Review: Charlieplex.ino, TTC.ino
2b
26
Nov 21
ATtiny85 Specs:
Bring your LED Display Board Prototype
wiring_shift.c, shiftOut.S
I/O PORT ACCESS
: Charlieplexing
2b
25
Nov 17
Review: Multiplication, (asm85) Blink
Digital I/O Ports: Tri-Stated
I/O PORT ACCESS
: Charlieplexing
2a
Session 2: AVR Inline Assembly (Beginner)
CLASS REFERENCE CONCEPTS PROJECTS SUPPLEMENTARY
24
Nov 15
ARITHMETIC: Sum of a Series, Unsigned Multiplication
ATtiny85 Datasheet, Blink Task
23
Nov 9
BLs Exam Video ARITHMETIC: Addition of uint16_ts
Sum of a Series, Unsigned Multiiplication
2a  
22
Nov 7
2016 TEI3M Final Exam Cisco Binary Challenge (Cisco or Free iTunes App)
Review of Challenge1 Code:
Data Indirect Array Addressing
ARITHMETIC
: Addition of uint8_ts
2a Include Files:
iom328p.h
iotn85.h, iotnx5.h
21
Nov 3
Legit:
ldi r20,'0'
C's null-terminated Strings, LOGIC:ToLowerCase2
(Intended) Challenge 1
: uint8_t bits = "        ";
   
20
Nov 1
Data Addressing Modes (pp. 3-6)
avr-gcc's
lo8() and hi8() macros

Short ISP Videos:
SA, PB, MB, GC, TD, AE, OG, JG, MK, BL, MM, RM, CNC, ST
LOGIC: ArrayCopy
X,Y, & Z Registers

AVR Addressing Modes
19
Oct 28
Short ISP: Presentation Day 3: AE, OG, ST
Collect ISP Components
LOGIC: AND Mask, OR Mask, ToLowerCase1
10b  
18
Oct 26
  Short ISP: Presentation Day 2
JG, RM, SA, MB, PB, MK
10a, 10b
17
Oct 24
Enabling Assembler Programming on the Arduino Uno Short ISP: Presentation Day 1
MM, CNC,BL,GC,TD
10a, 10b
16
Oct 20
  Assembly Challenge 1
Challenge Videos:
SA, PB, MB, GC, TD, AE, OG, JG, MK, BL, MM, RM, CNC, ST
1a, 1b  
15
Oct 18
AVR Delay Loop
Calculator
Mr. D. Absent:
Short ISP Research&Development Period 3
10a
14
Oct 14
  FOUNDATIONS: Pattern Matching
10a
13
Oct 12
  FOUNDATIONS: Parity, Pattern Matching
10a
12
Oct 7
You thought the int
data type was simple?
Bring Two's Complement Sheet & LCD Panel
FOUNDATIONS:
Parity, Pattern Matching
10a
11
Oct 5
Beginner's Programming in AVR Assembler FOUNDATIONS: Bargraph Flasher, Two's Complement
10a
10
Oct 3
AVR-gcc binutils:
Modifiers
Deep Review 1
Two's Complement
10a Arduino Assembly Language Tutorial #1
9
Sep 29
Short ISP Research&Development Period #2
10a Meaning of:
Endianness?
8
Sep 27

AVR Assembly Tutor

Exercises: Branching, Bit Shifting, Swapping 1 The AVR Bible:
AVR-libc Online Manual
Inline Assembly Cookbook
7
Sep 22
  Exercise #3 and #4 10a
6
Sep 20
Exploring Inline Assembly Review of RGB Challenge Efforts
branching, labels as targets for rjmp and rcall
Assembly Version of delay(ms): Blink With Delay
Inline asm Statements: Streamlining
Global Variables & Inline Assembly: Load, Test & Increment
10a
5
Sep 16
Introduction to
Assembly Language
Status Register (SREG), Flags
AVR Instruction Set (Summary)
Today's Instructions:
sbi, cbi, ldi, dec, rcall, rjmp
AVR Instruction Set (Full)
ISP Part Questions
Super Project:
LED Scrolling Message

Jack Gettings
(ACES '11)

written entirely
in Assembly

Session 1: AVR 8-bit RISC Architecture
CLASS REFERENCE CONCEPTS PROJECTS SUPPLEMENTARY
4
Sep 14
D'Arcy Absent:
Short ISP Research&Development Period #1
 
3
Sep 12

The AVR Story

AVR Overview Concepts&Peripherals

AVR Memory Organization
PROGRAM:32K, SRAM(Ports&Data):2K, EEPROM:1K
Register Summary, Ports
(Include file: iom328p.h)
CPU Registers
SHORT ISP (4 weeks) : Sep-Oct ( Component ) ( Options )
1
Sep 8
Jackson Russett:
Build your own
8-bit computer based on either the 6502 or Z80 microprocessors
AVR Optimization: Initial Handouts
Short ISP: Pick-A-Component
Select Order...
CNC, GC, OG, MK, RM, MP,
ST, SA, PB, MB, NJ, JG, TD, AE, MM, BL

0
Sep 7
Student Outline
Mr. D's Timetable
 
[ACES Culture]
For our second Field Trip of the year we have been invited to visit a factory that is developing solar panels. Since this device is an integral part of our Greenhouse Project this year, early familiarity with this technology will be advantageous.
What better way is there to start the year than with a walking field trip to acquire the electronic components that we will make good use of? You'll also be aware of its location for your own personal projects.
I have no formal training in electronics or electrical engineering - I'm just really interested in this field. The knowledge and skill I have has been largely acquired over the last few years from learning alongside many talented Georgians and I look forward to expanding my capabilities by working with you this year.
I ask six things of my ACES (for most other things I'm usually flexible):
1. Do not cheat.
2. Show respect for adult visitors that enter the DES by immediately stopping what you are doing, standing and facing the individual(s).
3. Show respect for the lab by not eating in the DES. You may go into the hallway for a quick bite if you need to.
4. Show respect for the lab's resources by not wasting or misusing them.
5. Show respect for others that use the lab by putting your projects away and leaving your bench area tidy when you leave.
6. Show respect for yourself by looking (and speaking) your best. It's the little things keep the doors of opportunity open.
Growing Success, p. 29
Responsibility, Organization, Independent Work, Collaboration, Initiative, Self-Reliant Growing Success. p.11.

It is worth noting, right from the start, that assessment is a human process, conducted by and with human beings, and subject inevitably to the frailties of human judgement.
However crisp and objective we might try to make it, and however neatly quantifiable may be our "results", assessment is closer to art than science.
It is, after all, an exercise in human communication.
Knowledge: Subject-specific content acquired in each course (knowledge), and the comprehension of its meaning and significance (understanding).
Thinking: The use of critical and creative thinking skills and/or processes, as follows:
Communication: The conveying of meaning through various forms, as follows:
Application: The use of knowledge and skills to make connections within and between various contexts.