PIC Notes #1 - Feb 12, '98

Note.

For those who are interested, there will be a special demo to show you how to use MPLAB and program you PIC on Friday, Feb 13 at 4:00 PM.

The kits have been made up. They are $8.00.

They consist of either a 16C84 or 16F84, a 4.0 MHz ceramic resonator (3 - terminals) and a 10 pin SIP.

They also consist of a logic probe. This includes an 8-pin DIP, a number of resistors and an LED. This should be assembled somewhere on your board. It will be critical for troubleshooting.

You should also wire up the 16C84 (16F84). Note that you are going to have to remove this to program it and put it back in place many many times throughout the semester.

Please do not take down your Stamp. During the semester, I will use the Stamp to illustrate an interface or a concept and we will then apply that to the PIC.

The intent of this week's exercise is to familiarize you with the MPLAB package. No number of words in lecture nor words in printed form is going to replace you going through the process.

The first step is to get a paper copy of program LED_1.ASM. I know it is pretty confusing, but try to grasp as much as you can.

Go into MPLAB and type it in. I suggest you actually type it in as it may help in understanding. Save this on your A: floppy.

You are then going to have to ask Paul or myself for help. You will want to open a new project on your A: floppy, build the project, correct any errors and build the project again until you have no errors.

You will then want to program your PIC and the PCs next to the board will be reserved for this.

Once Paul or myself have helped you, it is critical that you help someone else as we are only two people.