PICkit2 is a programmer for Microchip PIC microcontrollers. It has limited debugging features and a low-speed serial protocol analyzer. It’s really useful for low-volume production programming because it can store firmware and program circuits while not attached to a PC. Buy it at Mouser for about $40, Digi-Key has the new PICkit3 for about $70.
We’ve been discussing programmers for the PIC24F- in the web server on a business card forum, so Scorpia sent us these teardown pictures. More photos and a quick look at the components after the break.
The order of programming pins is VPP, +, -, data, clock. We didn’t know this was a standard, so the Bus Pirate v2go programming datapins are the opposite of the PICkit2 arrangement. We swapped them on the Bus Pirate v3 PCB so they match the PICkit2 standard.
The back of the PCB. The six-pin header is how you program the PICkit’s microcontroller.
This is the PICkit2 PCB. Let’s look at some of the components.
- A PIC 18F2550 USB microcontroller runs the show.
- 20MHz crystal for the 18F2550.
- Programming header for the 18F2550.
- Two 24LC512 I2C EEPROMs that store firmware for remote programming.
- A pushbutton to begin programming.
- A switched-mode power supply (SMPS) makes a 13volt programming voltage from the 5volt USB supply. You can identify this by the inductor coil and large smoothing capacitor.
- Three indicator LEDs.
- Level shifting allows the 5volt-powered programmer to work with parts at different supply voltages.
Scoripa also sent teardown photos of a PICkit2 clone purchased on eBay, we’ll post those soon.