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

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

Image of finished board – note LCD plugs into board

Finished Board with LCD Plugged In

Closeup of LEDs.  Note green stripe is down

Closeup of LCD Display.  Plugs into EVB

W

Aug 27

 Syllabus

F

Aug 29

Architecture and Boolean Math

M

Sep 1

Holiday!

 

 

HW #1

Solution #1

 

 

Hypertrm.zip

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

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

 

 

1: Binary Clock

* Lab Change *  -

Pick One:  Piano / LED light / Clock / Other.  Turn in as part of Homework #2 (no separate write up)

(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

 

HW #3

Due Monday, Sept 22nd

RGB LED datasheet

 

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

Career Fair (no class)

 

F

Sep 26

Review

 

Week 5-16:  Hardware & C Programming

M

Sep 29

Test #1:  Assembler & Digital I/O

 

3: Stepper Motor

(C code)

W

Oct 1

PIC-C

 

F

Oct 3

C vs. Assembler

 

M

Oct 6

In-Line Assembler

LCD_Demo

 

W

Oct 8

Binary Outputs – LCD

Keypad

F

Oct 10

Keypads

Timer2

M

Oct 13

Timer 2 Interrupts

 

 

4; Electronic Piano

(C code)

W

 Oct 15

Timer 2 Examples  -

Stopwatch

F

Oct 17

Timer 0/1/2/3 Interrupts

PWM

M

Oct 20

Timer 1 Capture  -  Timer 1 Compare

 

 

W

Oct 22

INT Interrupts

 

F

Oct 24

Review

 

M

Oct 27

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

Data Logger

Videos: Ideas for Term Project

Rail Gun Video

Strobe Light Video

iPhone Amplifier

5: Serial Communications

(C Code)

W

Oct 29

DC Servo Motors

SCI Monitor

F

Oct 31

SCI Data Communications & Serial Interrupt

 

M

Nov 3

Digital Sensors & GPS

Ohm Meter

Cornstarch Speaker

Fun Theory: Piano Stairs

Fun Theory: Trash Can

Fun Theory: Recycle Bin

6: Ohm Meter

(code)

W

Nov 5

A/D, D/A Converters

 

F

Nov 7

Instrumentation Amplifiers

 

M

Nov 10

Calibration

 

Battery A

Battery B

Battery C

W

Nov 12

Transducers & Temperature Sensors

Transistor Gains

F

Nov 14

Hypothesis Testing

Thermistor Values

M

Nov 17

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

 

 

W

Nov 19

Data Collection & Noise

 

F

Nov 21

Review

 

M

Nov 24

Test #3:  Analog I/O

 

 

 

W

Nov 26

Analog Filters & Phasors

 

F

Nov 28

Holiday!

 

M

Dec 1

z-Transform & C Programming

7. Digital Filters

(code)

W

Dec 3

Digital Filters

 

F

Dec 5

Converting G(s) to G(z)

Filter

M

Dec 8

FIR Filters

 

 

W

Dec 10

Low Power  Operation  -  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