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)

·         Hypertrm.zip  Download zip file – run Hypertrm.exe from your download directory

·         MPLabX - Download

·         MplabX Instructions

·         Image of finished board – note LCD plugs into board


 

 

Topic

Code

Homework

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)

W

Aug 27

 Syllabus

F

Aug 29

Architecture and Boolean Math

M

Sep 1

Holiday!

 

 

HW #1

Solution #1

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

 

 

HW #2

Solution #2

 

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

 

HW #3

Solution #3

 

RGB LED datasheet

W

Sep 17

Binary Outputs – Transistors

F

Sep 19

Stepper Motors

Stepper.asm

M

Sep 22

Brushless DC Motors

 

W

Sep 24

Career Fair (no class)

 

F

Sep 26

Review

 

M

Sep 29

Test #1:  Assembler & Digital I/O

Test #1 Solution

W

Oct 1

PIC-C

 

F

Oct 3

C vs. Assembler

 

M

Oct 6

Phasors and Filters

 

HW #4

Solution #4

W

Oct 8

Poles, Zeros, and Frequency Response

 

F

Oct 10

Digital Filters

 

M

Oct 13

Converting G(s) to G(z)

Filter

HW #5

HW #5 Solution

W

 Oct 15

FIR Filters

 

F

Oct 17

Binary Outputs – LCD

LCD_Demo

M

Oct 20

Keypads

Keypad

RPN_Calculator

HW #6

Due Nov 3rd

W

Oct 22

Timer 2 Interrupts

Timer2

F

Oct 24

Timer 2 Examples  - Digital Piano

Timer2 Piano & Music Box

M

Oct 27

Timer2:  PWM & Pretty Lights

Timer2 PWM & Rainbow

W

Oct 29

Timer2:  Stepper Motor

T2_Stepper

F

Oct 31

Timer2:  Software UART

T2_UART

M

Nov 3

Timer 0/1/2/3 Interrupts

Stopwatch

Timer0

W

Nov 5

Review

 

F

Nov 7

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

 

M

Nov 10

Timer 1 Capture 

Timer 1 Compare

PWM

Piano3 (8 note piano)

Videos: Ideas for Term Project

Rail Gun Video

Strobe Light Video

iPhone Amplifier

W

Nov 12

INT Interrupts

F

Nov 14

DC Servo Motors

 

M

Nov 17

SCI Data Communications & Serial Interrupt

SCI Monitor

Cornstarch Speaker

Fun Theory: Piano Stairs

Fun Theory: Trash Can

Fun Theory: Recycle Bin

W

Nov 19

A/D, D/A Converters

Data Logger

F

Nov 21

Instrumentation Amplifiers & Calibration

Ohm Meter

M

Nov 24

Hypothesis Testing

Transistor Gains

Battery A

Battery B

Battery C

W

Nov 26

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

Thermistor Values

F

Nov 28

Holiday

 

M

Dec 1

Data Collection & Noise

W

Dec 3

Review

 

F

Dec 5

Test #3:  Analog I/O

 

M

Dec 8

Low Power  Operation  -  Other Processors

 

W

Dec 10

 

 

F

Dec 12

Review

 

M

Dec 15

Final Exam:  8-10 AM

 

 

 

Other Topics Not Covered This Semester:

·         Passive Filters & LaPlace

·         Active Filters

·         Fourier Transform

·         Digital Filters

·         FIR Filters

·         Digital Sensors & GPS

·         Transducers & Temperature Sensors