0% found this document useful (0 votes)
86 views

Build A PIC Microcontroller

This document provides instructions for building and testing a PIC16F887 microcontroller circuit using a prototype board. The assembly steps include inserting the PIC16F887 microcontroller into the board, adding bypass capacitors between the power and ground pins, connecting an LED and resistor to one of the ports for blinking testing, and interfacing with a PICKIT2 programmer using a 6-pin header. The completed circuit is then programmed using MPLAB X and code to blink the LED, which is demonstrated to an instructor.

Uploaded by

Saifuddin Khan
Copyright
© Attribution Non-Commercial (BY-NC)
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
86 views

Build A PIC Microcontroller

This document provides instructions for building and testing a PIC16F887 microcontroller circuit using a prototype board. The assembly steps include inserting the PIC16F887 microcontroller into the board, adding bypass capacitors between the power and ground pins, connecting an LED and resistor to one of the ports for blinking testing, and interfacing with a PICKIT2 programmer using a 6-pin header. The completed circuit is then programmed using MPLAB X and code to blink the LED, which is demonstrated to an instructor.

Uploaded by

Saifuddin Khan
Copyright
© Attribution Non-Commercial (BY-NC)
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 7

Build A PIC Microcontroller

Objectives
Build and test your own PIC16F887 Microcomputer Use Jameco Prototype board or equivalent Use PIC16F887 40 PIN DIP ( see attached) See instruction for parts ( DIP, CAPS, PICKIT2 header, LED, Resistors) Pre-cut wire is supplied Follow assembly instructions After Blink test demo to instructor

Assembly Steps
1. 2. Simple PIC 16F887 40 PIN dip ( notch on left)
1. Insert as shown
1. 2. 3. 4. 5. 6. +5V PINS 11, 32 GND PINS 12,31 Add .1UF cap between 11,12 Add .1 UF cap between 32,31 Jumper to +5V buss top to bottom Jumper to GND Bus top to bottom

Power and Ground

3.

In Circuit Programmer Debug Interface for use with PICKIT2


1. 2. 3. ( see attached schematic) Note orientation of PICKIT2 and pin1 Use supplied 6 pin header 2.2K with Red Led) hooked to PORTD RD0 Other side of resistor goes to anode of LED (shorter lead) Longer lead of LED goes to ground

4.

Single resistor /LED


1. 2. 3. 4.

5. 6.

Show assembly to instructor Navigate to:C:\EET250\16F887\Lesson 4 Blink with Demo Board\blink


1. 2. 3. 4. 5. 6. Hook PICKIT2 to prototype header and USB to PC Open blink.mcp Select PICKIT2 as debug Make sure in output window that PICKIT2 is shown as ready build, program dowload and Program part Run and validate blinking to instructor

Close-up
PIC Power and Ground Hook up .1UF and 4.7UF Bypass CAPS

Power Bus (RED) Ground Bus (BLUE)

Power Bus Extension Red to red Blue to blue

ISDP Interface

Resistor and LED 2.2K with High efficiency Red LED

PIC Power and Ground Hook up .1UF Bypass CAP

Power and Ground Bus

40 PIN DIP Reference

In Circuit Programmer/Debug
HEADER 1 2 3 PICKIT2 4 5 6 MCLR --- PIN 1 VDD (+5V)-- PIN 11, PIN 32 VSS (GND)--- PIN 12, PIN 31 RB7--- PIN 40 RB6--- PIN 39 Not Used Make sure to connect a 4.7K resistor to ground to each: pin 40 and pin 39

Details

You might also like