OEES 215
Microprocessor Applications I
(Emphasis on
microcontrollers, which contain a microprocessor plus memory, I/O, etc.)
Bruce McDowell

Fall 2011
|
Announcements |
|
Recently
added text is shown in a larger
font. |
| Type | Assignment No. |
Assignment Name | Max. Pts. |
Date |
Date |
Directions/Description | |
| L | IH02-29 | Download some files and run a couple of programs. | 15 | 8-22 | 8-29 | Web page | |
| L | JH25-29 | Switches and LEDs | 15 | Handout [no paper available] | |||
| L | KH24-38 | Delays | 5 | 8-24 | [no paper available] | ||
| L | KH29-31 | If statements | 15 | 8-29 | Handout | ||
| L | KH29-33 | Blinking LEDs | 8-29 | Web page | |||
| L | KH31-35 | Blink function | 15 | 8-31 | Download this C program and then open it into MPLAB. The directions are contained in the program. | ||
| L | KI07-37 | Switch statement | 25 | 9-7 | Handout | ||
| L | KI12-31 | Switches and blinks | 10 | 9-12 | 9-19 | Download this C program Download this header file and change the name from 08-interrupts.h to 08 interrupts.h (no dash). |
|
| L | KI14-35 | Five blink patterns | 15 | 9-14 | 9-21 | Download this C program | |
| L | KI19-35 | Single-indexed array | 15 | 9-19 | 9-26 | Download this program and follow the directions contained in it. | |
| CE | KI19-36 | Bitwise operators | 7 | 9-19 | 9-19 | Web page | |
| CE | KI19-37 | Arrays | 15 | 9-19 | 9-19 | Web page | |
| L | KI21-30 | Three-Dimensional Array | 15 | 9-21 | 9-28 | Web page | |
| L | KI26-35 | Four square waves | 15 | 9-26 | 10-3 | Download this program and follow the directions
contained in it. You may also download the example (KI26-36) if you wish. |
|
| H | KI28-30 | Arrays | -- | 9-28 | -- | Click here and read about arrays in the Wikibook C Programming. | |
| L | KI28-31 | Chords, phase 1 | 15 | 9-28 | 10-5 | Click
here to get a page containing the part of the program you'll be
working on. Right-click here to download the program. |
|
| L | KJ02-30 | Chords, phase 2 | 20 | 10-3 | Handout sheet | ||
| L | JL01-27 | Hypotenuse function | 20 | 10-5 | 10-12 | Web page | |
| L | KJ10-30 | Chords, phase 3 | 15 | 10-10 | 10-17 | Right-click the following links and download the files: |
|
| L | KJ12-36 | Sending chords to 2nd PIC board for display | 10 | 10-12 | 10-19 | Right-click the following links and download the
files: |
|
| L | KJ17-35 | Pointers | 15 | 10-17 | 10-24 | Web page | |
| L | KJ19-32 | While loops and ADC | 20 | 10-19 | 10-26 | Web page | |
| CE | KJ24-30 | While loops | 15 | 10-24 | Handout | ||
| L | KJ24-32 | Stepping with while loops | 15 | 10-24 | Handout | ||
| L | JI28-35 | High-tech windshield wiper | 35 | 10-26 | 11-3 |
|
|
| L | JI28-36 | Windshield wiper with variable delay | 20 | 11-2 | 11-9 | Download ji28-36-windshield-wiper-variable-delay-LAB.c | |
| L | KJ19-31 | Signed numbers | 5 | 11-7 | Web page | ||
| L | JI28-36 | Windshield wiper with variable delay--revised | 15 | 11-7 | Download ji28-36-windshield-wiper-variable-delay-LAB-REVISED.c | ||
| L | KK07-32 | Combination lock | 30 | 11-9 | 11-16 |
|
|
| L | KK14-30 | Blinks function | 20 | 11-14 | 11-29 | Web page | |
| L | KK16-30 | Two motors | 25 | 11-16 | Web page | ||
| L | KJ10-50 | Chords, phase 4 | 15 | 11-28 | Download these
files:
Follow the directions in the kj10-50-chords-phase4-LAB.c file, starting at line 81. |
Files
for downloading
To download the files
below,
right-click on their links (underlined in blue).
| Current library and header files |
| How to download files from this Web site | Modifying an existing program | Manipulating
Bits With Bitwise Operators |
| Loading, compiling, and running a program | Custom
Functions Contained
in the s215-libraryxx.lib
File We'll be updating this Web page to include more of the custom functions. Right now, only a few are listed. |
|
| S215 Error-Number Assignments (JA22-26) | Flowchart symbols & conventions | Using Word to draw flowcharts |
| Frequently-Used Functions |
The
C language
| The C Book, by Mike Banahan, Declan Brady and Mark Doran | C Programming, a Wikibook | A Little C Primer, a Wikibook | Operators (+, -, etc.) Wikipedia. Quite technical. |
| C
Syntax Wikipedia. Quite technical. |
C18 Libraries |
Photovoltaic Systems
| PV-System Electronics Package Operating Instructions (JK07-38) | |||