Article
PIC In-Circuit Debugger/Programmer
For 16F & 18F microcontrollers
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.
Materials
Gerber file
CAM/CAD data for the PCB referred to in this article is available as a Gerber file. Elektor GREEN and GOLD members can exclusively download these files for free as part of their membership. Gerber files allow a PCB to be produced on an appropriate device available locally, or through an online PCB manufacturing service.
Elektor recommends the Elektor PCB Service service from its business partner Eurocircuits or AISLER as the best services for its own prototypes and volume production.
The use of our Gerber files is provided under a modified Creative Commons license. Creative Commons offers authors, scientists, educators and other creatives the freedom to handle their copyright in a more free way without losing their ownership.
PCB
Component list
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
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
Discussion (0 comments)