ECE 376 – Embedded Systems

Spring 2012 - Page 1:  Syllabus

 

Evaluation Board Photo (click here)

 

  NDSU – ECE   .      

   Dr. Jake Glower   .  

Page 2:  Programs & Downloads

Page 3: Problems & Solutions


 

Instructor:                Jacob Glower

TA:                             Jake Glower

Office Location:      ECE 101A

Office Phone:          t.b.d.

Office Hours:           1-2PM MWF

Class Hours:           12-1  MWF.

Class Location:      ECE 125

 

Text:                          Lecture Notes (see the links below)

                                    PIC18F4620 Data Sheets (click here – 300 pages: you might not want to print this)

                                    PIC Development Board (approx $85 from Varsity Mart)

Web Admin              Jake Glower

 

Lecture Notes:        All notes in one big pdf (makes printing easier)

All notes separated by lectures (nice for I-pad users)

 

                                    CSample C Code:  Click Here!

Summary of Interrupts

 

COM port driver PIC_Flash_Tool (rename .exe to run)

 

Link for Fall 2010 in case you’re interested…..

 


 

 

Date

 

Lecture

Pdf of all lectures combined

Sample Code

Homework

Lab

One report per group.  Due following Thursday.

Aug 22

W

Syllabus

Phoenix International Visit

 

Get a PCB

Start Soldering

Think of a device you would like to build

Lab Grading

Sample Lab Report

Aug 24

F

Architecture & Boolean Math

 

Aug 27

M

MPLAB & PIC C

Flow Charts

 

HW #1

Solution #1

Solder your PCB

Aug 29

W

Binary Inputs

 

Aug 31

F

Binary Outputs – LEDs

 

Sep 3

M

Holiday!

 

HW #2

Solution 2

1: Binary Clock

C codezip file

Sep 5

W

Binary Outputs - LCD Display

LCD Demo

Sep 7

F

Binary Outputs – Transistors

 

Sep 10

M

Stepper Motors / Quiz

Stepper

HW #2 (revised)

Add in a keypad

2: Stepper Motors

 

C Codezip file

Sep 12

W

Brushless DC Motors

 

Sep 14

F

Keypads

Keypad

Sep 17

M

Shift Registers / Quiz

 

HW #3

Fun with Timer2

 

Sep 19

W

Stacks – Career Fair

 

Sep 21

F

Timer2 Interrupts

Timer2

Sep 24

M

  Timer2 Examples

Term Project 1

Term Project

(2 weeks)

3: Ohm Meter

Zip file

Sep 26

W

D/A & A/D Conversions

 

Sep 28

F

Instrumentation Amplifiers

 

Oct 1

M

Calibration / Quiz

 

 

Oct 3

W

 SCI Data Communications

 

Oct 5

F

t-tests

 

Oct 8

M

The Scientific Method

 

HW #4

Data Collection

 

Oct 10

W

Temperature Sensors

 

Oct 12

F

Transducers (a.k.a. sensors)

 

Oct 15

M

Digital Sensors / GPS

 

HW #5

Hypothesis Testing

FunTheory

not a lab – just neat ideas for projects

Oct 17

W

INT Interrupts / Quiz

 

Oct 19

F

DC Servo Motors & Optical Encoders

 

Oct 22

M

Timer 0/1/2/3 Interrupts

 

Oct 24

W

Timer1 Capture / Quiz

 

Oct 26

F

Timer1 Compare

 

Oct 29

M

SCI Communications & Networks

 

Oct 31

W

 

Nov 2

F

Active Filters

 

Nov 5

M

Passive Filters & LaPlace Transform

 

Nov 7

W

Fourier Series

 

Nov 9

F

Digital Filters & z-transform

 

Nov 12

M

Holiday!

 

Digital Filters

Pdf  -  zip

Nov 14

W

Converting G(s) to G(z) / Quiz

 

Nov 16

F

FIR Filters

 

Nov 19

M

PIC Assembler

 

Nov 21

W

Compiling C to Assembler / Quiz

 

Nov 23

F

Holiday!

 

Nov 26

M

C vs. Assembler

 

Nov 28

W

In-Line Assembler

 

Nov 30

F

PCB Layout

 

Dec 3

M

Class Presentations

 

Dec 5

W

Class Presentations

 

Dec 7

F

Review

 

Dec 13

Final Exam:  Example of stuff covered:

·         Digital Hardware:  Convert a signal to 0V / 5V.  Turn on / off an LED, motor, heater.  Use transistors as a buffer, H-bridge for 2 directions.  Use PWM to approximate an analog output with a binary output.

·         Analog Hardware:  Convert a sensor to 0..5V. Calibrate to convert the raw A/D reading to a meaningful number (degrees, volts, ohms).

·         Software:  Write a C program to turn on / off devices as per a flow chart.  Write a C program to wait one second.

·         Interrupts:  Write a program to measure time to 1ms.  Measure time to 200ns.  Get multiple interrupts to work at the same time (such as generate a 100Hz, 120Hz, 130Hz square wave).

·         Filters:  Write a C program to implement a filter, such as 10/(s+10).

 

 

 

 

 

Other Topics from Previous Semesters….

Low Power Operation

Other Microcontrollers

PCB Layout

Digital Filters & z-transform

Converting G(s) to G(z)

FIR Filters

Butterworth, Elliptic, Chebychev Filters

Speed Control of a DC Motor

pdf  -   zip

Digital Filters

 

Pdf  -  zip

PCB Layout

Low Power Operation

Other Microcontrollers

PCB Layout

PIC Assembler

Compiling C to Assembler / Quiz

C vs. Assembler

In-line assembler

More fun with assembler / Quiz

PCB Layout

Low Power Operation

Other Microcontrollers / Quiz

 

 


 

 

 

wavingkitty

 

Maintained by: Jake Glower

 

 


 

 

Free Hit Counter
Free Hit Counter