F84-Programmer using pic microcontroller
Build a low-cost and very simple serial programmer for a PIC16F84 Microchip Flash Microcontroller. Below picture is my personal writer for F84 chip, it works very nice with Nigel WPicProg V1.20.
I finally found a very nice universal window based software designed to work with any serial programmers for PIC16F84, i.e., WPicProg16 V1.20, written by Nigel Goodwin. Build this programmer before started experimenting the forthcoming many interesting F84 projects. Some PIC programmers can be used for in circuit programing, some provide many PIC chips including eeprom, say. The F84-Programmer, however is suitable for beginners. It’s so simple and cheap.
Figure 1 shows a circuit diagram of the F84-Programmer. The programmer connects some bits shown in the figure through printer port LPT1, say. Vdd is controlled by D2 with invert setting, logic ‘0’ at this pin turns 2N2907 on applying +5V to pin14. Similarly for Vpp with invert setting, D3 controls 2N2907, gating approx. +14V to MCLR pin. A programming voltage Vpp is derived by lifting GND pin of the 78L09 to +5V as shown. Data read and write use RB7, D0 sends serial packet while ACK reads back during verify. D1 is clock output synchronizing programming flow. DC input should be approx. 17V.
The button shown in the hardware settings can be used to set or clear the desired bit manually for checking hardware. WPicPro16 is also easily invoked by PIC C Compiler via command line setting. Hex file generated after compiling will then be downloaded to buffer memory. To write the hex code in buffer to the chip may done automatically by pressing WRITE PIC, that all. Have fun…
For more detail: F84-Programmer
EasyEDA: Ideas for Circuit Design, Innovation for Electronics Access
Free Circuit Design: Schematic – Simulation – PCB Layout – Gerber Viewer
Cheapest PCB Prototype: Only $2 for 10pcs 10×10cm PCBs, 24 hours Quick Turn, DHL Delivery in 3 Days