Thursday, June 23, 2011

Schema and realization of a universal PIC programmer

The program I propose to make all channels can be programmed PIC accepting or circuit serial programming ICSP ie all PIC 12Cxxx, 16Cxxx 16Fxxx and existing and future. The only circuits that can not be programmed are the old 16C54, 16C56 16C57 and in parallel programming, which are endangered. It connects to the parallel port of any compatible PC running at least Windows 95 even though the DOS versions of its software control available on the Internet. It requires a power supply, which can be AC ​​or DC, between 12 and 30 volts, and does not need to be stabilized. A power supply "outlet" or any diet laboratory can all agree that the flow rate required is less than 100 mA. Given the performance of its control software, it can read, verify, and compare the PIC program with no restrictions, so it can read and program their "fuse" configuration. He also knows erase circuits equipped with EEPROM and allows access to the data memory circuits that have such a memory EEPROM technology when it is too. In other words, it is really complete.

Schematic of the PIC universal programmer

My program connects to the PC parallel port and complete diagram is shown in the figure below.
The parallel port signals are TTL standards and being "abused" by their trip on cables, they are reshaped by the inverters contained in IC1. As this circuit has open-collector outputs it allows easy control of three transistors T1, T2 and T3. T1 and T2 allow the application of high programming voltage VPP to the legs of adequate support universal programmer. T3 controls the normal supply voltage VDD applied also to the universal support.

This allows the circuit to program only supply only when really necessary and to avoid any problems when inserting or extracting its programming support. Two red LEDs, D1 and D2 indicate the presence of tension on the media. D3 for its light just when the timer is turned on to signal the proper functioning of the diet.
The data to be programmed as they pass through IC1a IC1b go through during a reading of the circuit. The timer goes through IC1c. Support for receiving the circuit to program is a model 40 feet a bit special so they can receive the PIC cases: 8, 18, 20, 28 and 40 feet. The wiring of different foods, the data line and clock line is made in accordance with the pinouts of the various circuits.
The power of the controller is simple but very tolerant. Two stabilized voltages are required: 5 volts to 13 volts to VDD and the programming voltage VPP. IC2 is a 78L05 is in charge of 5 volts while IC3, a 78L08, produces 13 volts as it is not referenced to ground but the output of IC2 and thus produces 5 + 8 or 13 volts! To accept any external source, regulators are preceded by a generous and filtering of a bridge rectifier. Can be applied to any AC J1 between 12 and 20 volts, or between 16 and 30 volts. The flow required is only about 100 mA.

Achievement of universal PIC programmer

The supply of components is not a problem but read the whole text before you buy because there are two options at the level of programming support.

PCB


Nomenclature of components

Semiconductors
IC1: 7406 or 74LS06
IC2: 78L05
IC3: 78L08
PT1: Bridge 1 amp 100 volts molded
D1, D2: LED 5 mm red
D3: Green LED 5 mm
T1, T2, T3: BC 557, 558, 559
Resistors 1 / 2 or 1 / 4 watt 5%
R1, R2, R3, R4, R5, R6: 4.7 kohms ((yellow, purple, red)
R7: 680 ohms (blue, gray, brown)
R8: 1 Kohm (brown, black, red)
R9, R10, R11: 10 ohms (brown, black, orange)
Various
D1: 2.1 mm jack male PCB
J2: Centronics female connector 90 ° angled PCB
Support CI: 1 x 14 feet
Programming support, cost-effective option: 1 x 8 feet, 20 feet x 1, x 2 strips solder lugs 40, while contacts tulips.
Programming support, option "pro": a support 3M (Textool) reference 240-6182-00-0605
Capacitors
C1: 35 uF 470 volt radial chemical
C2, C3: 100 nF mylar
C4: 330 pF ceramic

Constituent assembly is to be done in order classic media components, passive components, paying attention to the meaning of chemical and active components. For programming support, I propose two solutions:
  • The cheapest is to go up, as in the photo visible on this site, several media tulips nested within each other. They can receive all types of boxes but do not support PIC insertions and extractions of repeated and frequent tours.
  • The most effective is to use a support zero insertion force. But be careful, do not use a ZIF socket to 40 feet standard because they can not receive channels in DIL housing 8, 18 and 20 feet because they are too "narrow" with respect to housings 28 and 40 feet . You must use a ZIF socket on the 3M brand, part number 240-6182-00-0605 or exact equivalent. Unfortunately this support costs alone as much as all other program components.
If you use the ZIF socket, solder it on the site to 40 feet for this purpose. Otherwise, solder a support bell 20 feet lower in the central part of the site to 40 feet, 8 feet tulip support in the central part of the same high position and two bands soldering contacts tulips of 20 feet each both sides of the two media.

Software PIC universal programmer

Given the pattern I used, virtually all software available on the Internet for PIC programmers parallel port can be used. I recommend the excellent "IC-Prog" Bonny Gijzen that you can download by clicking this link .
Connect your programmer to replace your printer with Centronics decision which it is provided and unzip the file in the directory of your choice. Then run the program and obtained that will install the program on your PC. Choose the language where French is offered and then set the software according to my schema using the screen feedback below namely:
  • Programmateur Propic = 2 Programmer.
  • Port = the one you have connected assembly.
  • Interface = Direct I / O
  • Reverse: Data Out, Data In and Clock
It only remains for you to use the program with the user manual speaks for itself since all menus are in French.
But WARNING! do not use the information to position components on the support legs 40 provided by the programmer. Use only the figure below.


No comments:

Post a Comment

Thematic Links :