You are on page 1of 2

PIC16C54 Programmer

This is a simple PIC16C54 programmer. I've tested it on a project board, and later built it on a simple PCB. The power supply can be any dc power supply capable of supplying at least 14-15V at current of about 200mA. My 12V wall adapter was unable to supply that (voltage dropped from about 15V to 9V) so in order to test I used batteries. For the PCB version I found an adapter supplying about 17V. The maximum voltage can be up to say 25V - 78L05 has absolute max voltage of 35V. Make sure the electrolytic capacior's voltage rating is more than the input voltage. The best way to check the required voltage is to check for 13V with a voltmeter (before plugging the progammer into PC and inserting a PIC). The resistor (and even capacitor) values are not critical, as well as the transistor types - any general purpose will do. You can even use buffer IC with open collector outputs instead of the npn switching transistors. I have used a 7805 on my pcb since 78L05 was getting very hot after a minute or so with my transformer (7805 also gets hot), but it was fine with batteries (?). NOTE: it is better to insert the PIC only when the software asks you to. NOTE: with currect version of software you have to include the Configuration Word in your asm file as __CONFIG. WARNING!!!: I take no responsibility whatsoever for any damage this device may cause you. Use it on your own risk. Photographs: Photo of the programmer on the project board Photo of the pcb Photo of the built devide Photo of the copper underside Schematics: sch54.gif(14KB) sch54.png(9KB) Zipped sch54.wmf (9KB) My schematic scribbles. PCB: The following are pcb layouts I have designed for a single layer pcb (to be drawn by hand). For top layer I will use wire links. The pcb conforms to the netlist with no errors. PDF and PS zip archives also contain bottom negative and bottom mirrored negavie layouts. pcb NET list (sch54.net) pcb-ps.zip(75KB) - Postscript pcb-pdf.zip(137KB) - PDF Decription PNG GIF

All layers together Component Overlay Top Layer Bottom Layer

pcb-full.png(25KB) pcb-full.gif(48KB) pcb-over.png(10KB) pcb-over.gif(21KB) pcb-top.png(5KB) pcb-bot.png(10KB) pcb-top.gif(16KB) pcb-bot.gif(25KB)

Bottom Mirrored Layer pcb-bom.png(10KB) pcb-bom.gif(25KB) Tell me if you want TraxMaker PCB file as well. Software: Software with source and example (53kB) To test my programmer I wrote a program that does two things: 1. HEX Commom Cathode 7 segment LED display driver (full hex notation, not just decimal as in 4511 IC 2. Phone Card reader One pin is used to select the option. I have tested the program on flash PIC16F84 first and then ported it to OTP PIC16C54. All these examples are included in the above mensioned archive, but here are my scribbles and photo of the working circuit. This is a photo of two of the phone cards I used to test. CORRECTION: don't forget to put a pull-up resistor (say 10k) on the I/O pin of the smart card - its pin is open collector

You might also like