< Return to Bison Academy

ECE 376 – Embedded Systems

Design of Microcontroller-Based Circuits

Spring 2016

 

Best of ECE 376

Old Homework Sets and Solutions

 

Course Info

Downloads

Instructor:          Jake Glower

Office                  ECE 201A

Phone:                701_231_8068

Email                   Jacob_glower@yahoo.com

Office Hours       Tu/Th 9 – 10AM

Class Time         MWF 1PM, ECE 125

T.A.                    Dipankar Mitra, M/W,  room 211,  4PM - 8PM

               Jonathon Edstrom,  Tu/Th,  room 211,  4PM - 8PM

PIC18F4620 Data Sheets  (assembler on pages 275-325)

Summary of Interrupts

PIC Flash Tool v1.2

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

MPLabX - Download   -    MplabX Instructions

MPLAB 8.92 Download  -  C Compiler (run after installing MPLAB)

Screen-Cast-O-Matic:  Software for making videos with screen capture

 

 


 

 

Topic

Video

Code

Homework

M

Aug 22

Holiday!

Photo of EVB

Another photo

 

HW #1

Solution #1

W

Aug 24

 Syllabus

Soldering you PCB

F

Aug26

Architecture and Boolean Math

Assembler Demo

M

Aug 29

PIC Assembler

List of Assembler Commands

Count.asm demo

CountC.asm

CountABCD.asm

CountABCDv2.asm

CountABCDv3.asm

HW #2

Solution #2

W

Aug 31

Boot Loaders and MPLAB

Blink.asm demo

BootLoader.zip

Blink0.asm (3.3MHz)

Blink.asm (261Hz)

F

Sep 2

Flow Charts

$85 Dice

Random Numbers in Assembler

CountRB0.asm

Random.asm

Random2.asm

Random3.asm

M

Sep 5

Holiday!

HW #3

Solution #3

W

Sep 7

Binary Inputs (Hardware)

Light Counter

 

F

Sep 9

Binary Outputs & Timing

1-Key and 4-Key Piano

Piano0.asm

Piano1.asm (1-note piano)

Piano2.asm (4-note piano)

M

Sep 12

Binary Outputs - LEDs

LED Flashlight

Strobe.asm

RGB.asm

HW #4

Solution #4

W

Sep 14

AdaFruit:  NeoPixels

NeoPixel Demo

NeoPixel Flashlight

NeoPixel12.asm

NeoPixel750.asm

NeoPixel8x8.asm

F

Sep 16

Binary Outputs – Transistors

 

 

M

Sep 19

Stepper Motors

 

Stepper.asm

Test #1

W

Sep 21

Review

 

 

F

Sep 23

Test #1:  Assembler & Digital I/O

 

Count.C

Clock.C

M

Sep 26

C with Mplab8

C with MplabX

C Demo in MPLAB 8.92

C Demo in MPLABX

HW #5

Solution #5

W

Sep 28

Career Fair (no class)

F

Sep 30

C vs. Assembler

Binary Clock in MPLABX

Roulette.C

M

Oct 3

Binary Outputs – LCD

LCD Demo in MPLAB 8.92

LCD Demo in MPLABX

Stepper.C (zip)

LCD_Demo

HW #6

W

Oct 5

Keypads

Keypad & RPN Calc

Blinking Lights

RGB Led Driver

Keypad.C

RPN.C

Keypad zip files

F

Oct 7

NeoPixels in C

Neopixel & Keypad

NeoPixel & Keypad v2

Bouncing Lights

NeoPixel0.C

NeoPixel_C.zip

M

Oct 10

Timer 2 Interrupts

LED Driver

Timer2

HW #7

W

Oct 12

Timer 2 Examples

Count Down Timer

Timer2 Piano & Music Box

Timer2 PWM & Rainbow

F

Oct 14

Stepper Motors in C

 

Stepper1.C

Stepper2.C

Stepper3.C

Stepper4.C

Stepper.zip

M

Oct 17

Brushless DC Motors

 

Test #2

W

Oct 19

Review

 

F

Oct 21

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

 

 

M

Oct 24

Timer 0/1/2/3 Interrupts

Roulette Wheel

Bass and Melody

Reaction Game

Timer0.C

Timer0.zip

HW #8

W

Oct 26

Fun with Timer Interrupts

Chord.C Demo

Quad.C Demo

Freq.C Demo

Tach.C Demo

PWM.C Demo

Chord.C  4-note piano with chords

Quad.C:  0.9 – 2.0ms pulses

Freq.C: cycles / second

Tach.C:  seconds / cycle

PWM.C  0.1 – 99.9% PWM

LCD_PORTD.C (lcd driver for all)

F

Oct 28

INT Interrupts

Angle.C

M

Oct 31

Timer 1 Capture  

Capture1.C

Capture2.C

Range.C

Jump.C

Capture.zip

HW #9

W

Nov 2

Timer 1 Compare

Function Generator

Carol of the Bells

Compare1.C

Compare2.C

PWM.C

Compare.zip

F

Nov  4

SCI Data Communications & Serial Interrupt

 

SCI Monitor

M

Nov 7

A/D, D/A Converters

Data Logger

HW #10

Solution #10

W

Nov 9

Instrumentation Amplifiers and Calibration

 

Ohm Meter

F

Nov 11

Holiday!

 

Transistor Gains

M

Nov 14

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

StatTrek.com

Thermistor Values

HW #11

Solution #11

Problem #8

 

Sea Ice

W

Nov 16

Statistics Examples

 

F

Nov18

Data Collection and Statistical Analysis

M

Nov 21

Filters in the s-Plane

Texas A&M Video

HW #12

Solution #12

W

Nov 23

Filters in the z-Plane

F

Nov 25

Holiday!

 

M

Nov 28

FIR Filters

 

 

HW #13: Term Project

W

Nov 30

Review

 

 

F

Dec 2

Test #3:  Analog I/O

 

 

M

Dec 5

** No Class  **

 

 

W

Dec 7

Digital Sensors & GPS & Noise

Low Power  Operation

 

 

F

Dec 9

Review

 

 

M

Dec 12

Final Exam:  1:00 PM, Room 125

 

 

 

 

 

Other Topics Not Covered This Semester:

Passive Filters & LaPlace

Active Filters

Fourier Transform

Digital Filters

FIR Filters

Digital Sensors & GPS

Transducers & Temperature Sensors

DC Servo Motors

Higher-Resolution A/D

Programmable A/D:  Smart Nose

Other Processors

Timer2:  Stepper Motor (T2_Stepper)

Timer2:  Software UART (T2_UART)

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