80 likes | 221 Views
Build A PIC Microcontroller. EET 250. End Goal. End Goal. Keypad. PIC16F917. Sensor. LCD Display. RS-232. Keypad. Assembly Steps. Simple PIC 16F917 40 PIN dip ( notch on left) Insert as shown Power and Ground +5V PINS 11, 32 GND PINS 12,31 Add .1UF cap between 11,12
E N D
Build A PIC Microcontroller EET 250
End Goal Keypad PIC16F917 Sensor LCD Display RS-232 Keypad
Assembly Steps • Simple PIC 16F917 40 PIN dip ( notch on left) • Insert as shown • Power and Ground • +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 • ICPD ( In Circuit Programmer Debug ) Interface for use with PICKIT2 • ( see attached schematic) • Use supplied 6 pin header • Single resistor /LED • !K with Red Led • hooked to PORTD RD0 • Test with Blink Code • Open blink.mcp • Select PICKUT2 • Make sure
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
PICKIT2 In Circuit Programmer/Debug HEADER MCLR --- PIN 1 1 2 VDD (+5V)-- PIN 11, PIN 32 3 VSS (GND)--- PIN 12, PIN 31 4 RB7--- PIN 40 Make sure to connect a 4.7K resistor to ground to each: pin 40 and pin 39 5 RB6--- PIN 39 6 Not Used