Summary of How to Build your Own USB PIC Programmer?
This DIY USB PIC programmer uses a PIC18F2550 microcontroller to program various PIC microcontrollers and 12Cxx EEPROMs without needing an external power supply, drawing power directly from USB. It supports a wide range of PIC chips and generates a 13V programming voltage internally. The project requires burning firmware onto the PIC18F2550, connecting jumpers to select mode, and using compatible software for programming. It offers an easy and portable solution for PIC programming via USB, compatible with both Windows and Linux environments.
Parts used in the USB PIC Programmer:
- Microcontroller PIC 18F2550
- Transistor BC548 (2 Nos)
- Transistor BC547
- Transistor BC557
- Diode IN4148 (6 Nos)
- Resistor 1K (7 Nos)
- Resistor 100K
- Resistor 470Ω (2 Nos)
- Resistor 1M
- Resistor 470K
- Resistor 330Ω (3 Nos)
- Capacitor 0.01µF (3 Nos)
- Capacitor 2.2µF (2 Nos)
- Capacitor 10µF
- Capacitor 22pF (2 Nos)
- Crystal 8MHz
- USB Connector
- 5-Pin Header (2 Nos)
This DIY PIC programmer is a continuation of our PIC programming basics tutorial. By using this USB PIC programmer, you can program microchip PIC series of 10F, 12F, 16F, 18F, 24F, 30F. This is also an EEPROM programmer as it supports 12Cxx EEPROM. The main component of this PIC microcontroller programming circuit is a PIC182550 microcontroller which controls the overall circuit. Serial port PIC programmers are the widely used PIC chip programmer Kit, but since laptops have no RS232 ports they require an USB to RS232 converter.
- PIC microcontroller Beginner’s guide: Basic connection circuit
- How to burn or program PIC Microcontroller
Now one of the main advantages of this circuit is that it does not require any external power supply, instead it uses USB power. It generates programming voltage of 13V through voltage multipliers. Linux PIC programmer software is also available for burning. You can program micro controller like pic16f84a, pic16f877a, pic18f4550, pic16f628a etc. and make your micro controller programming easier.
Circuit diagram of PIC Chip Programmer
Components Required
- Microcontroller PIC 18F2550
- Transistor (BC548-2Nos, BC547, BC557)
- Diode IN4148(6Nos)
- Resistor(IK-7Nos, 100K, 470-2Nos, 1M, 470K, 330-3Nos)
- Capacitor(0.01uF-3Nos,2.2uF-2Nos, 10uF, 22pf-2Nos)
- Crystal 8MHz
- USB Connector
- 5-Pin Header (2Nos)
Step by Step procedure
- PIC 18F2550 has an inbuilt USB port which makes PC interfacing much easier.
- First a firmware should be burnt to PIC 18F2550 using any PIC programmer and then connect the jumper as in the circuit diagram.[wpdm_file id=3]
- The jumper connection decides the mode of the programmer, i.e. boot loader mode or programmer mode. Boot loader is used to upgrade your firmware and programmer mode is to burn the PIC microchip.
- Next we need software to burn our PIC, USB PIC Prog is suitable for this hardware. Download USB PIC Programmer Software from the following link
File Name: x86 (32 Bit) USB_PIC_Programmer_Software_USB_PIC_Prog.rar
x64 (64 bit) USB_PIC_Programmer_Softwarex64
- Now connect the circuit to the USB port of your PC and open hex file to PIC programmer software.
- Connect any PIC microchip through the ICSP (In Circuit Serial Programming) Header, it include VPP, VDD, PGD, PGC, GND.
- Now you are done with it. So what are you waiting for? Start burning PIC microcontroller.
Components Pin Out