Lab Assignments
Breadboard photograph
— Useful in doing your prototype layout/floorplan
Example 1
of easy-to-debug wiring.
Example 2
of easy-to-debug wiring.
Lab one
— Introduction to prototyping
Lab two
— Encoding and decoding of digital signals
Lab three
— Error detection and masking
Lab four
— Two's-complement arithmetic
Lab five
— Cardiac pacemaker finite state machine
Install gpasm and gpsim or MPLAB
Very brief MPLAB help sheet
PIC assembler for Linux
PIC simulator for Linux along with some nice examples
MPLAB PIC assembler and simulator for Windows
. Also, get the Quick Start Guide here. Note that this version doesn't work on some newer Windows versions. See the next link (or use the Linux version).
PIC microcontroller essential information
PIC microcontroller complete information
Older version of MPLAB that happens to work with newer Windows versions
.
Button pressing code
A stimulus file for gpsim (the Linux PIC simulator)
A stimulus file for MPLAB
MPLAB SIM slides from Microchip
Array sum indirection example
Lab six
— Button sensing and shifting
Lab 6 was not graded, but a week was given to complete it and help was given in lab check time to prepare you for Lab 7.
Lab seven
— Combination lock with animated LEDs
Lab eight
— Line-following vehicle
Defines and helper routines for lab eight
Example gpsim stimulus file for lab eight.
Subroutine call example
Page maintained by
Robert Dick
.