|
|
|
|||
MCU Predefines: io328p.h, iotnx4.h, and iotn85.h | |||||
---|---|---|---|---|---|
ACES EAGLE SMT RESOURCES: ACES_SMT.lbr (2020 01 10), ACES_SMT.dru, ACES_SMT.cam, JLCPCB.dru | |||||
ACES Alumni Blogs/Companies: Ethan M '18, Ethan P '18, Dan R '19, Mariano E. '15 | |||||
2021-2022 ICS4U: AVR Optimization | |||||
APRIL: Assembly-Level Programming of the ATtiny84 (on the DDPv7) |
|||||
CLASS | SUPPLEMENTARY | CONCEPTS | PROJECTS | SUBMISSIONS | |
76 Apr 27 |
Long ISP Presentation Day Time: 9:00-12:00 Guest ACE Alumnus: J. Dolgin |
3.5 (Assembly)
TWAIN XC*, JC*, JD, JG, DL |
3.30.3, 3.30.4 LONG ISP LC*, XC**, JC* JD*, JG*, DL*, HM* |
||
END OF CLASSES | |||||
75 Apr 25 |
12. The Intersection Shield Looking for an AVR Assembly Language Challenge? 2019 DC Fan Project Terrific Site for AVR Assembly Coding of an LCD |
Sunon 12VDC Fan |
|||
74 Apr 22 |
10. The ADC Shield ADC Conversion Complete Interrupt Timer/Counter 1 Overflow Interrupt Ethan McAuliffe (ACES '18, McMaster '23) Seat Alert! |
||||
73 Apr 21 |
Timer/Counter 1 Overflow Interrupt Configuration and implementation ATtiny84 Datasheet Timer/Counter 1 Register Description |
||||
72 Apr 20 |
'84 ADC Prescalers
|
10. The ADC Shield ADC Conversion Complete Interrupt Configuration and Implementation ATtiny84 Datasheet Analog-to-Digital Converter Register Description ADCShieldASM Support Video |
'84 ADC Auto Triggers prescalers84.inc |
||
71 Apr 19 |
10. The ADC Shield With the ADC Shield task sequence blocked and numerous other assets in place... ...Let's see how close we can come to finishing this in one or two classes... ACES' Alumni Guest (3-4 PM): B. Leder (ACES '17, UofT '22) |
B. Leder and C. Noble-Curveira's Unspillable ® ... Unspillable.ino |
B. Leder's VR Device Visitor Experience! |
||
EASTER WEEKEND (GOOD FRIDAY & EASTER MONDAY) | |||||
70 Apr 14 |
10. The ADC Shield
How the Stack is Used to Maintain Program Control Flow... |
||||
69 Apr 13 |
TA Sushi Lunch |
10. The ADC Shield
MULTI-Digit Display (PoV) (Array Addressing) |
3.5 | ||
68 Apr 12 |
10. The ADC Shield
Double dabble (aka Shift and Add 3) |
ACE Alumnus: A. Goldman Time: 11:40 |
|||
67 Apr 11 |
10. The ADC Shield
SINGLE-Digit Display (Shiftout) (Array Addressing) |
3.5 | |||
CLASS | SUPPLEMENTARY | CONCEPTS | PROJECTS | SUBMISSIONS | |
66 Apr 8 |
AVR Assembly: Legacy Device Week Schaffer > Morland 2 |
3.5 | |||
65 Apr 7 |
AVR Assembly: Legacy Device Week Schaffer > Morland 1 |
Assembly s
|
3.5 | ||
64 Apr 6 |
.db, s/cbi, cp, brne mov, movw, and, lpm sbrs, sbrc, lsl, lsr |
AVR Assembly: Legacy Device Week Memory Considerations |
3.5 | ||
63 Apr 5 |
AVR Assembly: Legacy Device Week Schaffer 2 > Morland |
ACE Alumnus: P. Bizzarri Time: 1:30 |
3.5 | ||
62 Apr 4 |
AVR Machine Language |
AVR Assembly: Legacy Device Week Schaffer 1 > Morland |
Endianness |
ldi, out, rcall, rjmp
3.5 |
|
61 Apr 1 |
5. BareMinimumDDBv7 Template |
||||
60 Mar 31 |
Interrupts in Assembly... 4. OnBoard LED with WDT Interrupt |
ATtiny84 Datasheet: Watchdog Registers |
3.5 | ||
59 Mar 30 |
|
2. In-System Programming AVR Delay Loop Calculator (Mulvey/Morland) 3. The OnBoard LED |
AVR Assembly Source 3.5 |
||
58 Mar 29 |
Required Hardware... Dolgin Dev. Plat. |
The (DDPv7) Dolgin Development Platform AVR 8-bit Assembly on the DDBv7: 1. DDBv7 Hardware Assembly |
From there... CHUMP 4-Bit Instruction Set (14+) |
...to here AVR 8-bit Instruction Set (100+) Online Reference Summary vs Detailed AVR Instruction Lists |
|
APRIL: AVR 8-Bit Assembly Language Programming of the ATtiny84 (on the DDPv7) |
|||||
Block 4 Prep Mar 29 - Apr 25 |
Long ISP Proposal Proposal |
PRIOR to Block 4 (Mar 29)... Languages by Intensity TIOBE Languages by Popularity Worth a watch ... Why I’m switching from the awesome Arduino IDE to AS7 |
Assemblers... Arduino: avr-as AVR: AVRASM Watch... Intro to Arduino Inline Assembly |
||
CLASS | SUPPLEMENTARY | CONCEPTS | PROJECTS | SUBMISSIONS | |
55 Feb 11 |
DL (@10), JC, JG |
Medium ISP Presentations Timer Interrupts 5. Timer2: FAST PWM |
RTM Application |
3.20.4 MEDIUM ISP LC, XC, JC JD, JG, DL, HM 3.20.4 |
|
54 Feb 10 |
HM |
Medium ISP Presentations Timers.xlsx Timer Interrupts: #8 & #9 4. Timer2: Compare Match A & B |
Online Pitch Detector |
3.20.3 | |
53 Feb 9 |
XC, LC, JD (Pot sweetened) |
Medium ISP Presentations
Download Medium ISP Peer Evaluation Form Rename to XXxx.docx where XX are the presenter's initials and xx are your initials Attach to email to ACESHandin with Subject: ISP Evaluation |
3.20.3 | ||
52 Feb 8 |
Online Pitch Detector |
Timer Interrupts 3. Timer2: OC2A and OC2B Connected |
Normal Mode (OC Connected): |
||
51 Feb 7 |
Timer Interrupts (Interrupts #8-#17) 2. Timer2: Frequency Confirmation with WDT |
||||
CLASS | SUPPLEMENTARY | CONTENT & CONCEPTS | PROJECTS | SUBMISSIONS | |
from... Jan 28 20/21 |
Again, Technoblogy... ATtiny85 Function Generator ACES' Frame Player: Waveforms Sine, Triangle, Sawtooth, Square, Rectangle, Pulse, Chainsaw, Noise |
||||
50 Feb 4 |
|
Timer Interrupts (Interrupts #8-#17) Recall K. Shirriff's Blog: Secrets of Arduino PWM 1. Timer 2: Normal Mode |
|
LC's Recommend Hardware Hacking Video (32 min) |
|
49 Feb 3 |
Interrupts Interrupt #7. Watchdog Timeout 2. Interrupt Followed by Reset 3. Watchdog Reset From Sleep |
||||
48 Feb 2 |
Interrupts Interrupt #7. Watchdog Timeout 1. Interrupt Only AVR Insights: Watchdog Timer |
Crystal Frequencies |
3.4 3.4 Pin Change Interrupt LC, XC**, JC JD*, JG, DL*, HM |
||
47 Feb 1 |
Pin Change Interrupt Work Period |
3.4 | |||
46 Jan 31 |
KY-040 from Amazon ACES' Rotary Encoder (fully debounced) |
Pin Change Interrupt (Get Acquainted) |
|||
CLASS | SUPPLEMENTARY | CONCEPTS | PROJECTS | SUBMISSIONS | |
45 Jan 28 |
ECE190... Goldman & Atkinson's Clue Capturer Rotary Encoders Terrific Blog: Technoblogy... Bounce-Free Rotary Encoder |
Interrupts ACES Alumni Inspired... Interrupt #4,#5 and #6. Pin Change using the ACES (Mechanical) Rotary Encoder (uses Bourns PEC11L-4215F-S0015) Another good blog...Rotary Encoders |
3.4 |
||
44 Jan 27 |
Interrupts Interrupt #2 and #3. External (using the ACES Button Debouncer) |
||||
43 Jan 26 |
Boards.txt File |
AVR Fuse Calculator
Introduction to Register-Level Coding of... Interrupts Interrupt #1. Reset Chapter 11 |
(January 2022) Confirmation |
||
41, 42, Jan 24, 25 |
AVR Optimization (pp. 5-7) Register-Level Digital I/O Establishment of your Personal Arduino... Library #include <Mega328P.h> ( just #defines for now ) A good blog... Create Your Own Arduino Library |
Arduino Library Specification keywords.txt Format |
Download a Sample: keywords.txt |
||
JANUARY 21: MISSED CLASS (MHF4U Exam) | |||||
38 39 40 Jan 18-20 |
SMT Parts Flat Flex Cable (FFC) |
Online TA Responsibilities: 4:00-4:30
Since It's been awhile... AVR Optimization (pp. 5-7) Register-Level Digital I/O 10. RSGC ACES' 12-LED CharlieStick |
|
||
JANUARY 17 (BLUE MONDAY): SNOW DAY | |||||
END OF BLOCK 2 (2 more to go) | |||||
CLASS | SUPPLEMENTARY | CONCEPTS | PROJECTS | SUBMISSIONS | |
Dec 11 |
Medium ISP Proposal | Understanding the I2C Bus |
3.20.1 | ||
37 Dec 3 |
Short ISP Presentations (JD, JG, DL, JC) |
3.10.4 SHORT ISP LC, XC, JC JD, JG, DL, HM 3.10.3/3.10.4 |
|||
36 Dec 2 |
Short ISP Presentations (XC, HM, LC) |
3.10.3 | |||
Bonus | AVR Optimization (pp. 5-7) Matrix Charlieplexing ACES Audio Response Messager Canned Heat (Monterey '67): Dust My Broom |
||||
35 Dec 1 |
AVR Optimization (pp. 5-7) 9. Charlieplexed 6-LED Stripboard VU Meter 10. RSGC ACES' 12-LED CharlieStick |
|
|||
34 Nov 30 |
In-Class 10-minute Assembly of a DIY 6-LED, Charlieplexed Stripboard VU Meter |
Schaffer Traffic Light (Revisited) |
|||
33 Nov 29 |
Flex Page Inspiration... 17/18 ACES and 15/16 ACES... JL, RP, JR |
AVR Optimization (pp. 5-7) J. Goodwin's 4-Statement Traffic Light Complete 4. SwitchLEDEcho 5. Register-Level shiftOut() (to better appreciate the sequencing) |
3.2. CHUMP FINAL: LC, XC, JC JD, JG, DL, HM CHUMP: The Long and Short of IT :) |
||
32 Nov 26 |
|
Asynchronous Learning Day (Spend the day wrapping up your CHUMP) |
3.2.6 | ||
31 Nov 25 |
TA Sushi Lunch |
AVR Optimization (pp. 5-7) Register-Level Traffic Light Register-Level SwitchLEDEcho |
|||
30 Nov 24 |
AVR Optimization (pp. 5-7) Register-Level shiftOut() (to better appreciate the sequencing) |
Selection of RSGC ACES' Optical Output Options... |
|||
29 Nov 23 |
AVR Optimization (pp. 5-7) RL Coding: Introduction B. General Purpose Input/Output (GPIO) DES Success Stories today! X. Chin successfully bakes an ATtiny84SMTV3 Trainer! L. Cassano and J. Colraine put the DES Bending Table back into production of Knight Light Stands |
3.2.6 | |||
28 Nov 22 |
ATmega328P |
AVR Optimization (pp. 5-7) AVR Board (Auto)Include Files... iom328p.h, iotn84.h, iotn85.h |
3.2.6 Inductive Knight Light? |
||
27 Nov 19 |
Mr. D: P/T Interviews | Grade 12s: Workshop | 3.2.6 | ||
26 Nov 18 |
ACES' Knight Light Build :)
CHUMP Build Sessions |
3.2.6 | |||
25 Nov 17 |
CHUMP Build Sessions: RAM, Address, and Accumulator |
3.2.5 | |||
24 Nov 16 |
D. Unsigned Fixed Point: Q(5.3) |
ISP Previews (DL)
CHUMP Build Sessions: RAM, Address, and Accumulator |
3.2.5 | ||
MID-TERM BREAK (No Classes on Friday or Monday) | |||||
CLASS | SUPPLEMENTARY | CONCEPTS | PROJECTS | SUBMISSIONS | |
23 |
ISP Previews
(JD, JC, HM)
CHUMP Arithmetic and Logic Unit (ALU) 74LS181 A=B pin: Open Collector! |
3.2.4 | |||
22 Nov 10 |
ISP Previews (XC, LC, JG)
CHUMP Arithmetic and Logic Unit (ALU) 74LS181 A=B pin: Open Collector! |
||||
21 Nov 9 |
3.2.2, 3.2.3 | ||||
20 Nov 8 |
(October 2021) ACES' CHUMP VM Inspired by J. Colraine (ACES '22) G. CHUMPanese |
Review of Remaining CHUMP ICs CHUMP Control EEPROM Codes CHUMPControlCodesWorksheet.docx Electronics' Club 74LS Logic ICs |
|
Wow! Imagine the ISP possibilities... Classroom Attendance by Face Recognition? (aka Guaranteed Internship?) |
|
END OF BLOCK 1 (3 more to go) | |||||
CLASS | SUPPLEMENTARY | CONCEPTS | PROJECTS | SUBMISSIONS | |
19 Oct 8 |
Asynchronous Learning Day |
CHUMP |
RSGC Computing... ... in 1980 |
3.2. CHUMP I: LC, XC, JC* JD, JG, DL*, HM LR-C: Falstad Logic |
|
18 Oct 7 |
J. Shibley's Custom ALU |
Watch the Insanely-Inspiring... ...ACES '21... ← ALU Lockdown Legacies → CHUMP Buses (pp.36-40): Address, Data, Control CHUMP Control EEPROM |
L. R-C's
ALU Shleld |
3.2.1 | |
17 Oct 6 |
ALU IC Presentation: DL Overview of the SN74LS181 Arithmetic and Logic Unit (ALU) K. Shirriff's Blog... Inside the vintage 74181 ALU chip: How it works and why it's so strange |
3.2.1
Arithmetic Logic Unit |
|||
16 Oct 5 |
Shield Burner Code ACES' EEPROM Display Enhancement |
CHUMP / ISP
Three Choices: Wire in your EEPROMs (with LED or LB-602MK2 Echo), ISP, or this weekend's DER |
Shield Schematic BB Flashing of Swapping Variables CHUMPanese Code |
3.2.1
Program and Control EEPROMs (AT28C16) Feinberg Example: 82 10 21 62 A0 |
|
15 Oct 4 |
F. Signed Binary |
CHUMP EEPROM IC Presentation: XC Overview of the AT28C16 EEPROM and Paging |
Shield Burner's Flashing of Feinberg's Sample Code |
Feinberg Example Code |
|
CLASS | SUPPLEMENTARY | CONCEPTS | PROJECTS | SUBMISSIONS | |
14 Oct 1 Casual Dress |
|
Chumpanese Tutorial Exercise 6: Labels CHUMP VM CHUMP Program Counter Build Session TA Sushi Lunch |
Want to Review many ICS2O and ICS3U concepts ??? ( not to mention the BEST Prep for next week...) Then, watch Eater's: Using an EEPROM to replace Combinational Logic AND Build an EEPROM Programmer |
3.2.1 | |
13 Sep 30 Orange Shirt |
Chumpanese Tutorial
Exercise 6: Terminating Loops CHUMP VM CHUMP Program Counter Build Session |
Parts Library |
3.2.1 | ||
12 Sep 29 |
RockerEcho.ino (pull down example) |
CHUMP IC Presentation: HM + Program Counter (74LS161) with /CLR feature + External NAND (74LS00) (LOAD) |
3.2.1 | ||
11 Sep 28 |
C. Octal BCD |
CHUMP: Code (Part 2) |
3.2.1 | ||
10 Sep 27 |
Review of the Chumpanese... Instruction Summary (p. 7) CHUMP: Code (Part 1) 1. Feinberg Sample Code (p. 12) 2. Swapping Variables (p. 10) Ethan McAuliffe (ACES '18, McMaster '23) |
for 2021/2022! CHUMP VM (CodePen) Feinberg Resources: Chumpanese Tutorial CHUMP Lab |
3.2.1
|
||
CLASS | SUPPLEMENTARY | CONCEPTS | PROJECTS | SUBMISSIONS | |
Sep 24 | TERRY FOX DAY | ||||
9 Sep 23 |
CHUMP Clock Build Session Clock (NE555) |
(74LS00) (LOAD) (74LS04) (INVERTER) (74LS08) (74LS32) |
CHUMP Supplements: (no-charge:) 0.3" and 0.4" (200 each) red, yellow, green rectangular LEDs (32 each) |
||
8 Sep 22 |
B. Hexadecimal BCD
Falstad Simulation: 555 with Internals |
CHUMP: Clock B. Eater's terrific 4-part 555 video series: Part 2. Monostable Part 3.Bistable Part 4. Clock Logic |
M. McCutcheon's Build |
R. Fletcher's Bots |
|
7 Sep 21 Curr. Night 7:30 PM |
B. Hexadecimal BCD
|
CHUMP: Clock B. Eater's terrific 4-part 555 video series: Part 1. Astable 555 timer |
555 Tutorial |
||
6 Sep 20 |
Binary Game: Competency Level B. Hexadecimal BCD |
Check 'em out!... First Look: Flashing the ATtiny84 CHUMP: Clock B. Eater's terrific 4-part video series: Part 1: Astable |
|
3.1. PB Machine: LC*, XC*, JC* JD*, JG*, DL*, HM* Life After Mega... ...Flashing the ATtiny84 (THT or SMT) |
|
CLASS | SUPPLEMENTARY | CONCEPTS | PROJECTS | SUBMISSIONS | |
5 Sep 17 |
Alan Turing's Famous Paper: (paving the way for the modern computer) "On Computable Numbers With an Application to the Entscheidungsproblem" |
CHUMP Cheap Homebrew Understandable Minimal Processor The CHUMPANESE Language, Reflections |
CHUMP IC Assignments |
3.1, 3.10.1 | |
4 Sep 16 |
A Simple and Affordable TTL Processor for the Classroom - D. Feinberg pp. 4-5 |
CHUMP Cheap Homebrew Understandable Minimal Processor Control Logic |
3.1, 3.10.1 | ||
3 Sep 15 |
A. Unsigned Binary |
CHUMP (3-4) Cheap Homebrew Understandable Minimal Processor Instruction Set |
Reorder Details |
3.1, 3.10.1 Busboard Power Rail |
|
2 Sep 14 |
A. Unsigned Binary |
CHUMP (1-2) Cheap Homebrew Understandable Minimal Processor |
RSGC ACES' Common SMT Parts |
3.1, 3.10.1 |
|
1 Sep 13 |
TA
Day Assignments Short ISP Proposal Due: Sat. Sep. 18 |
Jumper Wire Supplements
(0.3" and 0.4")
Configure 12 Benches for Soldering Short ISP Options, Discussion, and Expectations SMT 1206 Soldering Session with our AOYUE 968 Hot Air Rework Stations |
SMT: Focus on Thin... The MorlandBargraphV4 in action |
3.1, 3.10.1 |
|
CLASS | SUPPLEMENTARY | CONCEPTS | PROJECTS | SUBMISSIONS | |
0 Sep 10 |
September Q&A Short ISP Proposal Due: Sat. Sep. 18 Student Outline Mr. D's Timetable |
2021/2022
ACES' Program
Our ACES' Program: Contradictions Distribution of and Workbooks ACES Hall of Fame: E. McAuliffe ('18), E. Peterson ('18) Mariano Elia ('15) Hackster.io, Argon Prototypes |
|