ECE 376 – Embedded Systems

Design of Microcontroller-Based Circuits

Fall 2014

Last Update: 

·         Fall 2014 Updated:  7/29/14

 

Bison Academy

Best of ECE 376

Old Homework Sets and Solutions

 

Instructor:        Jake Glower  

Office              ECE 201A

Phone:             701x231x8068

Email               Jacob_glower@yahoo.com

Office Hours   MWF 10-11AM

Class Time      MWF 1-2PM, ECE 125

TA:                  Gerardo Zamora

 

Downloads:

·         PIC18F4620 Data Sheets  (assembler on pages 275-325)

·         Summary of Interrupts

·         COM port driver (rename to .exe)


 

 

Topic

Code

Homework

Lab

Grading Scheme

Week 1-4:  Hardware and Assembler Programming

(click here for all lectures in one pdf file – useful for iPad users)

M

Aug 25

Holiday!

 

LCD Display Options:

16x2 Character ($4:  comes with EVB)

20x4 Character ($8 MPJA)

144x32 Graphic ($31 Crystalfonz)

320x200 Graphic ($25:  Adafruit)

Solder PCB

W

Aug 27

 Syllabus

F

Aug 29

Architecture and Boolean Math

M

Sep 1

Holiday!

 

HW #1

Solder PCB

W

Sep 3

PIC Assembler

CountC.asm

CountABCD.asm

CountABCDv2.asm

CountABCDv3.asm

F

Sep 5

Boot Loaders and MPLAB

BootLoader.hex

Blink0.asm (3.3MHz)

Blink.asm (261Hz)

M

Sep 8

Flow Charts

CountRB0.asm

Random.asm

Random2.asm

Random3.asm

 

RGB LED datasheet

1: Binary Clock

(ASM code)

W

Sep 10

Binary Inputs (Hardware)

 

F

Sep 12

Binary Outputs & Timing

Piano0.asm

Piano1.asm (1-note piano)

Piano2.asm (4-note piano)

M

Sep 15

Binary Outputs - LEDs

Strobe.asm

RGB.asm

 

2: Stepper Motor

(ASM code)

W

Sep 17

Binary Outputs – Transistors

F

Sep 19

Stepper Motors

Stepper.asm

M

Sep 22

Brushless DC Motors

10

 

W

Sep 24

Review

 

F

Sep 26

Test #1:  Assembler & Digital I/O

 

Week 5-16:  Hardware & C Programming

M

Sep 29

PIC-C

 

3: Stepper Motor

(C code)

W

Oct 1

C vs. Assembler

 

F

Oct 3

In-Line Assembler

 

M

Oct 6

Binary Outputs – LCD

LCD_Demo

 

W

Oct 8

Keypads

Keypad

F

Oct 10

Timer 2 Interrupts

Timer2

M

Oct 13

Timer 2 Examples  -

 

 

4; Electronic Piano

(C code)

W

 Oct 15

Timer 0/1/2/3 Interrupts

Stopwatch

F

Oct 17

Timer 1 Capture  -  Timer 1 Compare

PWM

M

Oct 20

INT Interrupts

 

 

W

Oct 22

Review

 

F

Oct 24

Test #2:  C, Interrupts, Digital I/O

 

M

Oct 27

DC Servo Motors

Data Logger

Videos: Ideas for Term Project

Rail Gun Video

Strobe Light Video

iPhone Amplifier

5: Serial Communications

(C Code)

W

Oct 29

SCI Data Communications & Serial Interrupt

SCI Monitor

F

Oct 31

Digital Sensors & GPS

 

M

Nov 3

A/D, D/A Converters

Ohm Meter

Cornstarch Speaker

Fun Theory: Piano Stairs

Fun Theory: Trash Can

Fun Theory: Recycle Bin

6: Ohm Meter

(code)

W

Nov 5

Instrumentation Amplifiers

 

F

Nov 7

Calibration

 

M

Nov 10

Transducers & Temperature Sensors

 

Battery A

Battery B

Battery C

W

Nov 12

Hypothesis Testing

Transistor Gains

F

Nov 14

t-Test, F-Test, Chi-Squared Test

Thermistor Values

M

Nov 17

Data Collection & Noise

 

 

W

Nov 19

Review

 

F

Nov 21

Test #3:  Analog I/O

 

M

Nov 24

Analog Filters & Phasors

 

 

 

W

Nov 26

z-Transform & C Programming

 

F

Nov 28

Holiday!

 

M

Dec 1

Digital Filters

7. Digital Filters

(code)

W

Dec 3

Converting G(s) to G(z)

 

F

Dec 5

FIR Filters

Filter

M

Dec 8

Low Power  Operation

 

 

W

Dec 10

Other Processors

 

F

Dec 12

Review

 

M

Dec 15

Final Exam:  8-10 AM

 

 

 

 

 

 

 

 

 

Final Exam

 

Analog Term Project Presentation

Written Report Due Friday, May 9th 4PM

Presentation:  Thurs & Friday Finals week  (sign up for 1/2 hour time slot)

Youtube video OK instead of presentation.

Written report required for all projects though….

 

 

Analog Design Review

Sign up for ½ hour time slot Finals week

 

 

Other Topics Not Covered This Semester:

Passive Filters & LaPlace

Active Filters

Fourier Transform

Digital Filters

Test #3 – A/D, Hypothesis Testing, Assembler

FIR Filters