In this report you can get a complete instruction about how to build your own development system for the PIC-processor. This card will be used for laborations for the students at LITH-ITN. With this card you can send new assembler codes (new instructions) down to the microprocessor via the Serialport on your computer. Then the new instructions for the microprocessor will start to execute. We made a solder paste stencil at Campus Norrköping solder paste stencil laboratory. The software we made makes it possible to receive and transmit the new code to the board. The first part of our report contains some information about why we chose the components that we did. There are also some preferences about how these components are working. We also explain the architecture of the microprocessor because it is then easier to understand how to program it, which is explained later. We have made a guide for Microchips development kit MPLAB and some discussions about it. The components that we use are necessary to initiate and therefore we show in detail how this works. The software for transmitting the code from the computer to the card is presented and so is the code on the board that receives the transmitted data. When the board receives new code through the serial port it puts the code in the memory and start to execute it. To test our construction we made programs, which initiates and reads a temperature from one digital temperature sensor and one analog temperature sensor. We also got the opportunity to learn how the manufacturing of a solder paste stencil is proceeded. This proceed we have described in this report. All software is described in assembler but you can also make your programs in C. Additionally we have made a short investigation about how the C-compiler CCS is installed and used in MPLAB.
Identifer | oai:union.ndltd.org:UPSALLA1/oai:DiVA.org:liu-1462 |
Date | January 2002 |
Creators | Wessman, Richard, Svensson, Jonny |
Publisher | Linköpings universitet, Institutionen för teknik och naturvetenskap, Linköpings universitet, Institutionen för teknik och naturvetenskap, Institutionen för teknik och naturvetenskap |
Source Sets | DiVA Archive at Upsalla University |
Language | Swedish |
Detected Language | English |
Type | Student thesis, info:eu-repo/semantics/bachelorThesis, text |
Format | application/pdf |
Rights | info:eu-repo/semantics/openAccess |
Page generated in 0.0028 seconds