Use of the C Language in Microchip PIC Based Designs Workshop

Dec 17 - 19, '01

Morgan State University School of Engineering

5200 Perring Parkway

Baltimore, MD


This is a 2-1/2 day workshop to teach the use of the C Language in developing Microchip PIC based designs.


The workshop will be held in the new Engineering Building at Morgan State University in Baltimore, MD.

My original plan was to hold this in various locations around the US. However, this is a hardware intensive workshop with PCs, emulators, in circuit debuggers, special fixtures and various other debugging tools such as scopes and Logic Darts. All of this is mighty difficult to transport to a Marriot or a Hilton. The university setting assures that such instructional tools such as a chalk board and VGA projector, well equipped laboratories, Internet access and quick copying are all available. It also enables me to have knowledgeable students available aid participants in debugging their programs.

Morgan State University is located at Hillen Road and Cold Spring Lane in Baltimore. The School of Engineering is located ½ mile to the north on Perring Parkway. Adequate free parking is available.

Morgan is 15 minutes from the Baltimore - Washington International (BWI) Airport.

Lodging is available in the "Inner Harbor" area of Baltimore City. Less expensive lodging is available in the Towson area. Both are located within 15 minutes of Morgan.

Based on my experience with the Vermont Workshop, participants are a whole lot more interested in the workshop than site seeing. But, the "Inner Harbor" area is very popular.


The format of the workshop will be split between morning and evening. That is, from 9:00 AM to noon and from 6:00 PM to 10:00 PM. This provides the opportunity to tour, shop or study assembly and C during the daylight hours. However, I and a number of students will be available during the afternoons to aid participants.

The facility will be available to you until 2:00 AM when the building closes. However, 9:00 AM comes too early for me as it is and I probably will not be there with you.

Computers, ICEPIC emulators, In Circuit Debuggers and various fixtures for laboratory exercises will be provided for each participant. Many participants desire to bring their own laptops and this is certainly okay. The software and hardware requirements are discussed below.

The ICEPIC emulators will be used for exercises using the PIC16F84. The new Microchip In Circuit Debuggers will be used for exercises involving the new PIC16F87X. (The ICDs may be purchased after the Workshop for $129).

The number of participants is limited to six.

The presentation will be in the form of overheads and chalk board with many laboratory exercises.


The focus will be on using the CCS PIC C compiler to develop programs for Microchip's PIC12C508, PIC12C671, PIC16F84 (554 and 558) and PIC16F877. Hopefully, I will be able to cover all of the features of these processors.

Interfaces using three wire, the Philips 2-wire I2C and the Dallas 1-Wire interface will be treated.

All participants will receive a copy of the source code I have written using the CCS PCB and PCM compilers. This will be provided on disk and also on paper which includes schematics and other drawings. This is currently some 375 pages. Examples of code which has been developed;

Interfacing with such devices as the Dallas DS1302 real time counter, DS1307 I2C RTC, DS1602 elapsed time counter, Linear Devices LTC1298 12-bit A/D, LTC1392 data acquisition unit, Analog Devices TMP04 temperature to frequency, TSL235 and 245 light to frequency and Allegro 5804 stepper controller and 5841 and 5832 serial shift register latches.

Also, I2C interfaces with such devices as the Microchip 24LC256 EEPROM, Dallas DS1624 temperature and EEPROM, Philips 8574 I/O expander, 8591 A/D and D/A and 8583 real time clock.

Also, Dallas 1-wire interfaces with such Dallas devices as the DS1820 and DS1821 thermometers, DS2401 serial number and DS2407 and DS2430A EEPROMs.

And more.

The focus of the workshops will be this material. Clearly, I will not be able to cover it all, but hopefully you will come away being able to grasp all of the material. I always feel I got my money's worth if I have at least one great idea and feel rather saturated and I will try to give you your full money's worth.

Other Caveats.

All participants will also receive a copy of John Peatman's, "Design with PIC Microcontrollers" along with our new PIC Package which includes a PIC programmer on a solderless breadboard, power supply, parallel port cable, JE25 solderless breadboard and two PIC16F84s.

The number of participants is limited to six. If there is sufficient demand, I will add another workshop in mid August.


The fee for the workshop is $795.00. This includes the workshop and a light breakfast, lunch and dinner and snacks. It also includes my source code, Peatman's book and our new PIC Package.

Registration Information.

Registration is on a first come first serve basis. A $100.00 deposit will hold a slot for you. Final payment is due two weeks prior to the Workshop.

If you cancel more than two weeks prior to the workshop and I am able to fill the slot, all money will be refunded to you. If I can't fill the slot, the charge is the $100.

If you cancel within two weeks of the workshop, it becomes harder to fill your slot and expenses have been incurred whether you are there or not. Try not to do this. But, in case it happens, there will be no penalty if I can fill your slot. Otherwise, I will have to assess the financial situation, but the penalty will not exceed $300.

Purchase orders, credit cards, personal checks or money orders are accepted. These should either be mailed to;

	Peter H. Anderson
	915 Holland Road
	Bel Air, MD 21014

Bringing Your PC.

If you desire to bring a laptop, a spare serial COM port is required and you will need a floppy drive to load software.

Please install the latest version of Microchip's free MPLAB from It is suggested that you install all components.

A registered copy of CCS PCM is required. This is $99 from You may wish to purchase the PCW package, but this is not necessary for the workshop.

At a Vermont workshop, we experienced a problem with two Dell laptops running Windows NT in interfacing with the In Circuit Debugger. However, another Dell running Windows98 worked. My suggestion is either Windows95 or 98.

Note that bringing your own laptop is optional. If you don't a desktop will be provided.