ECE 376 – Embedded Systems

Design of Microcontroller-Based Circuits

Fall 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:                  Ashiq Sakib

 

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

Aug 24

Holiday!

 

 

HW #1

(Start soldering your PIC board)

W

Aug 26

 Syllabus

 

F

Aug 28

Architecture and Boolean Math

 

M

Aug 31

PIC Assembler

 

CountC.asm

CountABCD.asm

CountABCDv2.asm

CountABCDv3.asm

HW #2

 

(Lab:  Finish soldering your PIC board)

W

Sep 2

Boot Loaders and MPLAB

 

BootLoader.hex

Blink0.asm (3.3MHz)

Blink.asm (261Hz)

F

Sep 4

Flow Charts

 

CountRB0.asm

Random.asm

Random2.asm

Random3.asm

M

Sep 7

Holiday!

 

 

W

Sep 9

Binary Inputs (Hardware)

 

 

F

Sep 11

Binary Outputs & Timing

 

Piano0.asm

Piano1.asm (1-note piano)

Piano2.asm (4-note piano)

M

Sep 14

Binary Outputs - LEDs

 

Strobe.asm

RGB.asm

 

W

Sep  16

AdaFruit:  NeoPixels

NeoPixel Demo

NeoPixel12.asm

NeoPixel750.asm

NeoPixel8x8.asm

F

Sep 18

Binary Outputs – Transistors

 

 

M

Sep 21

Stepper Motors

 

Stepper.asm

W

Sep 23

Review

 

 

F

Sep 25

Test #1:  Assembler & Digital I/O

 

 

M

Sep 28

PICC18 and MPLAB8  -  PICC18 and MPLABX

 

Count.C

Clock.C

W

Sep 30

C vs. Assembler

 

Stepper.C (zip)

F

Oct 2

Binary Outputs – LCD

 

LCD_Demo

M

Oct 5

Keypads

 

Keypad

RPN_Calculator

W

Oct 7

NeoPixels in C

 

NeoPixel0.C

NeoPixel_C.zip

F

Oct 9

Brushless DC Motors

 

M

Oct 12

Timer 2 Interrupts

 

Timer2

W

Oct 14

Timer 2 Examples  - Digital Piano

Timer2:  PWM & Pretty Lights

 

Timer2 Piano & Music Box

Timer2 PWM & Rainbow

F

Oct 16

Timer 0/1/2/3 Interrupts

 

Stopwatch

Timer0

M

Oct 19

Timer 1 Capture 

 

PWM

W

Oct 21

Timer 1 Compare

 

Piano3 (8 note piano)

F

Oct 23

INT Interrupts

 

SCI Monitor

M

Oct 26

SCI Data Communications & Serial Interrupt

 

W

Oct 28

Review

 

F

Oct 30

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

 

M

Nov 2

A/D, D/A Converters

 

Data Logger

W

Nov 4

Instrumentation Amplifiers & Calibration

 

Ohm Meter

F

Nov 6

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

 

Transistor Gains

M

Nov 9

t-test example:  Watts of a stove

 

Thermistor Values

W

Nov 11

Holiday!

 

 

F

Nov 13

Phasors and Filters

 

M

Nov 16

Poles, Zeros, and Frequency Response

 

W

Nov 18

Digital Filters

 

F

Nov 20

Converting G(s) to G(z)

 

M

Nov 23

FIR Filters

 

W

Nov 25

 

F

Nov 27

Holiday!

 

 

M

Nov 30

 

 

W

Dec 2

Review

 

 

F

Dec 4

Test #3:  Analog I/O

 

 

M

Dec 7

DC Servo Motors

 

 

W

Dec 9

Low Power  Operation

 

 

F

Dec 11

Other Processors

 

 

 

 

 

 

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)