ECE 376 – Embedded Systems

Design of Microcontroller-Based Circuits

Spring 2015

 

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 8:30 – 9:30AM

Class Time      MWF 1-2PM, ECE 125

TA:                  t.b.d.

 

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

Video

Code

Homework

M

Jan 12

Holiday!

 

 

LCD Display Options:

16x2 Character ($4:  comes with EVB)

20x4 Character ($8 MPJA)

144x32 Graphic ($31 Crystalfonz)

320x200 Graphic ($25:  Adafruit)

W

Jan 14

 Syllabus

 

F

Jan 16

Architecture and Boolean Math

 

M

Jan 19

Holiday!

 

 

 

HW #1  -  Solution 1

W

Jan 21

PIC Assembler

 

CountC.asm

CountABCD.asm

CountABCDv2.asm

CountABCDv3.asm

F

Jan 23

Boot Loaders and MPLAB

 

BootLoader.hex

Blink0.asm (3.3MHz)

Blink.asm (261Hz)

M

Jan 26

Flow Charts

 

CountRB0.asm

Random.asm

Random2.asm

Random3.asm

 

 

HW #2  -  Solution 2

W

Jan 28

Binary Inputs (Hardware)

 

 

F

Jan 30

Binary Outputs & Timing

 

Piano0.asm

Piano1.asm (1-note piano)

Piano2.asm (4-note piano)

M

Feb 2

Binary Outputs - LEDs

 

Strobe.asm

RGB.asm

 

HW #3  -  Solution 3

 

RGB LED datasheet

NeoPixel UberGuide

W

Feb 4

AdaFruit:  NeoPixels

NeoPixel Demo

NeoPixel12.asm

NeoPixel750.asm

NeoPixel8x8.asm

F

Feb 6

Binary Outputs – Transistors

 

 

M

Feb 9

Stepper Motors

 

Stepper.asm

Finish NeoPixel project

W

Feb 11

Career Fair (no class)

 

 

F

Feb 13

Brushless DC Motors

 

 

M

Feb 16

Holiday!

 

Test #1

W

Feb 18

Review

 

 

F

Feb 20

Test #1:  Assembler & Digital I/O

 

 

M

Feb 23

PICC18 and MPLAB8  -  PICC18 and MPLABX

 

Count.C

Clock.C

HW #4  -  Solution 4

(Stepper Motors)

W

Feb 25

C vs. Assembler

 

Stepper.C (zip)

F

Feb 27

Binary Outputs – LCD

 

LCD_Demo

M

Mar 2

Keypads

 

Keypad

RPN_Calculator

HW #5  -  Solution 5

(Keypad)

W

Mar 4

NeoPixels in C

 

NeoPixel0.C

NeoPixel_C.zip

F

Mar 6

Timer 2 Interrupts

 

Timer2

M

Mar 9

Timer 2 Examples  - Digital Piano

 

Timer2 Piano & Music Box

HW #6  -  Solution #6

(Interrupts)

W

Mar 11

Timer2:  PWM & Pretty Lights

 

Timer2 PWM & Rainbow

F

Mar 13

Timer 0/1/2/3 Interrupts

 

Stopwatch

Timer0

M

Mar 16

Holiday!

 

W

Mar 18

Holiday!

 

F

Mar 20

Holiday!

 

M

Mar 23

Timer 1 Capture 

Timer 1 Compare

 

PWM

Piano3 (8 note piano)

W

Mar 25

INT Interrupts

 

 

F

Mar 27

SCI Data Communications & Serial Interrupt

 

SCI Monitor

M

Mar 30

Review

 

 

W

Apr 1

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

 

 

F

Apr 3

Holiday!

 

M

Apr 6

Holiday!

 

 

Battery A  -  Battery B  -  Battery C

W

Apr 8

A/D, D/A Converters

 

Data Logger

F

Apr 10

Instrumentation Amplifiers & Calibration

 

Ohm Meter

M

Apr 13

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

 

Transistor Gains

W

Apr 15

t-test example:  Watts of a stove

 

Thermistor Values

F

Apr 17

Phasors and Filters

 

 

M

Apr 20

Poles, Zeros, and Frequency Response

 

 

W

Apr 22

Digital Filters

 

 

F

Apr 24

Converting G(s) to G(z)

 

 

M

Apr 27

FIR Filters

 

 

W

Apr 29

Review

 

 

F

May 1

Test #3:  Analog I/O

 

 

M

May 4

 

 

Filter

W

May 6

DC Servo Motors

 

 

F

May 8

Low Power  Operation  -  Other Processors

 

 

 

 

W

May 13

Final Exam:  8-10 AM

 

 

 

 

 

Cornstarch Speaker

Fun Theory: Piano Stairs

Fun Theory: Trash Can

Fun Theory: Recycle Bin

Videos: Ideas for Term Project

Rail Gun Video

Strobe Light Video

iPhone Amplifier

 

 

Other Topics Not Covered This Semester:

·         Passive Filters & LaPlace

·         Active Filters

·         Fourier Transform

·         Digital Filters

·         FIR Filters

·         Digital Sensors & GPS

·         Transducers & Temperature Sensors

·         Timer2:  Stepper Motor (T2_Stepper)

·         Timer2:  Software UART (T2_UART)