PIC In-Circuit Debugger/Programmer
For 16F & 18F microcontrollers
Published in issue 358, October 2006
PIC microcontrollers of the 8-bit 16F and 18F family can be found in many devices. They are also a favourite of many Elektor Electronics readers. A must for users is a means of loading programs and an In-Circuit Debugger (ICD) for tracking down programming errors. This project addresses both of these needs and is not only substantially compatible with Microchip technology’s ICD2 module but also significantly cheaper.
Resistors
R1 = 68Ω
R2,R6,R13, R14, R25 = 10kΩ
R3 = 270Ω
R4,R7,R8,R9.R10 = 1kΩ
R5 = 1Ω
R11,R15,R17 = 220Ω
R12,R16,R21,R22 = 4kΩ7
R18 = 33Ω
R19,R23 = 6kΩ8
R20,R24 = 2kΩ2
Capacitors
C1-C5 = 1μF 25V radial
C6 = 10μF 25V radial
C7,C10-C13 = 100nF
C8,C9 = 22pF
C14 = 1nF
Inductor
L1 = 330μH radial
Semiconductors
D1,D2 = 1N4148
D3 = 1N5819
D4 = zener diode 5V6 400mW
D5 = LED, low-current, 3mm, red
D6 = LED, low-current, 3mm, yellow
D7 = LED, low-current, 3mm, green
IC1 = PIC16F877, programmed, order code 050348-41
IC2 = DG411DJZ (Digikey # DG411DJZ-ND)
IC3 = MC34063ECN (Digikey # 497-4280-5-ND)
IC4 = MAX232
Miscellaneous
K1 = 9-way sub-D socket, angled, PCB mount
K2 = 6-way SIL pinheader
X1 = 20MHz quartz crystal
PCB, order code 050348-1
Kit of parts including PCB and microcontroller, order code 050348-71
|
Click below to download a PDF copy of this article from Elektor magazine.
Please note. In view of the complexity of international markets, Elektor cannot guarantee the availability of components for this project.
|