55:036 Embedded Systems and Systems Software, Spring
2007
Laboratory Information
General Information About the Lab:
- The laboratory for this course is in room 2245 SC.
- Students will have 24-hour access to the lab with a Marlock
card.
- The TA will be available in the lab to assist students at times
listed under the "Administration" link on the course web page.
- Students will work in teams of two in the lab. You may
choose your own partner or have us assign one.
Lab
Partner Assignments for Spring, 2007 Can be Found Here
Laboratory Supplies:
- Each team will need to purchase a parts kit to assemble a
QWIKFLASH Development Board for the PIC18F452 microcontroller. You will
assemble and test this board during the first two weeks of class and
will then use it in the remaining labs. The printed circuit board is
included with your text book . The parts kit can be purchased from the
Engineering Electronics Shop (2018 SC) during the
week of January 15. The cost is $65.00.
We
have a few extra kits available in the event that both partners want to
have their own development board.
- At their discretion, students may purchase a companion expansion
board with a solderless breadboard to permit
development outside of the laboratory. The solderless breadboard
costs $40.00 and can be
purchased from the Electronics Shop. It is not necessary to
purchase the expansion board if you intend to do all of your work in
the lab.
- In lab, we will be using Microchip's MPLAB Integrated Development
Environment. Students wishing to do development on their own
computer outside of the lab can download MPLAB (for Windows) for free
at the following link: http://www.microchip.com/stellent/idcplg?IdcService=SS_GET_PAGE&nodeId=1406&dDocName=en019469&part=SW007002
Lab Experiments/Project
- There will be six labs during the semester, each lasting two
weeks. The general timing of labs, as well as the primary topic
of each lab, is shown on the syllabus.
- There will not be any scheduled lab sessions. Students may
work in the lab at any time when they can find an open lab
station. There are eight (8 ) lab stations.
- The TA will hold regular office hours in the lab to assist
students and help resolve problems. The TA cannot be expected to
debug your programs for you.
- Each lab (except the first) will require written pre-lab and
post-lab reports.
- During the final three weeks of the semester, there will be a
self-chosen project. Students are encouraged to begin thinking
early about ideas for the project. This is particularly important
if your project will require ordering parts or any other matters that
require a significant lead-time.
FIRST LAB ASSIGNMENT:
Dates: Thurs. Jan. 18 - Sunday, January 28
No pre-lab or lab report required
Objective: The objective of this lab is to assemble, test, and
debug your QwikFlash Development Board.
Prelab activity:
- Notify the instructor, via e-mail, by no later than noon on
Wednesday, January 17 of your lab partner choice or of your desire to
have us assign a lab partner for you.
- Purchase a QwikFlash parts kit from the Engineering
Electronics Shop (2018 SC)). The cost is $xx. Only one
QwikFlash kit is
needed per lab team. Review the QwikFlash Development Board
Assembly Instructions given in Appendix A1 of the text. This can
be found at the following link: http://www.picbook.com/bookinfo/CA1.pdf
- Sign up for an introductory session on PC Board assembly
on Thursday, January 18. You can choose from three sessions:
- 12:30-1:45 p.m.
- 1:45-3:00 p.m.
- 3:00-4:15 p.m.
Sign-up sheets are posted
outside of the Lab (2245 SC)
In-lab activity:
1. After the
introductory session, you will be on your own to finish assembly and
testing of your QwikFlash. Be sure to carefully read and follow
the instructions in Appendix A1 of the text
as noted above. This appendix provides detailed instructions for
testing your board. All
QwikFlash boards must be assembled and in working order prior to the
start of Lab 2 on Monday, January 29.
SECOND LAB ASSIGNMENT
Dates: Thurs. Feb. 1- Monday Feb. 12
Pre-lab due date: Tuesday, Feb. 6
Lab report due date: Thursday, Feb. 15
Objective: The purpose of this lab is to become familiar
with the
facilities and development tools in the Embedded Systems Laboratory and
to gain
some experience in working with a simple PIC assembly language program.
Link
to the Lab 2 assignment
Link to Laboratory Report
Guidelines (Covers both pre-labs and lab reports)
THIRD LAB ASSIGNMENT
Dates: Thurs, Feb. 8 - Monday,
Feb. 26
Pre-lab due date Tuesday, Feb. 13
Lab report due date: Thursday, March 1
Objective: The purpose
of this lab is to gain experience
with digital I/O, timers and complex timing issues, and rotary pulse
generators.
Link
to Lab 3 assignment (posted
02/07/07)
FOURTH LAB ASSIGNMENT
Dates: Thurs, Feb. 22 - Monday,
March. 19
Pre-lab due date Tuesday, Feb. 27
Lab report due date: Thursday, March 22
Objective: The purpose
of this lab is to gain experience
with interrupts, alphanumeric LCDs, and pushbutton switches
Link
to Lab 4 assignment (posted 02/21/07)
A sample solution to lab 3 is posted here (password protected).
You may use any portionsof this code in your solution to lab 4.
FIFTH LAB ASSIGNMENT
Dates: Thursday, March 8 - Monday,
April 2
Pre-lab due date: Tuesday, March 20
Lab report due: Thursday, April 5
Objective: Thue purpose of this lab is to gain experience with
embedded programmming in C and with the following concepts and
devices: external interrupts, magnetic stripe readers, numeric
keypads, and EEPROMs
Link to lab 5 Assignment (posted 03/06/07)
SIXTH LAB ASSIGNMENT
Dates: Thursday, March 29 - Monday,
April 16
Pre-lab due date: Tuesday, April 3
Last date for lab sign-off- Tuesday, April 17
Lab report due: Thursday,
April 19
Objective: The purpose of this lab is to gain experience
wiith: asynchronous serial communicaiton (RS232), serial device
inerconnnection protocols (SPI), the use of intelligent
peripheral chips, and design/implementation of reasonably complex
embedded systems.
Link to
Lab 6 Assignment (posted 03/28/07)
An example program that reads ID numbers from the Mag Stripe Reader
and displays them on the terminal screen is posted here (password protected).
You may use code from this example in your solution to lab 6.
FINAL PROJECT
Dates: Thursday, April 12-Thursday, May 3
Project proposals due: Tuesday, April 10
Last date for project sign-off: Thursday May 3
Project report due: Friday, May 4
In-class presentations: Tuesday, May 1, Thursday, May 3
Link to
Additional
Information on Final Project (pdf format)
Project Presentation Schedule
Presentations should last six minutes + optional 2 minute
demonstration. (Time limits will be strictly enforced.)
Format:
Project objective/requirements
Brief overview of new PIC feature,
device, or protocol used in the Project
Project design
Results/status
Demonstration (optional)
Revised: 4/24/07 by JGK