قسم الهاردوير مناقشة كل ما تعلق بمجال Hardware وعتاد الحاسب الآلي

أدوات الموضوع

mtc2015
:: موقوف ::
تاريخ التسجيل: May 2008
المشاركات: 13
نشاط [ mtc2015 ]
قوة السمعة:0
قديم 05-08-2008, 09:07 PM المشاركة 1   
Arrow حصريا تعديل دائرة الشحن PCB3bw الىPCB4.5 بالصور Twitter FaceBook Google+



السلام عليكم ورحمة الله وبركاتة

هذا هو تعديل دائرة الشحن PCB3bw الىPCB4.5 كاملا بالصور وهو منقول عن احد المواقع للفائدة وسوف يتم وضعه على اجزاء لكبر حجم الشرح وجزاكم الله خيرا.

بسم الله الرحمن الرحيم

الجزء الاول



Converting Willem Programmer PCB3b to PCB4.5







"( NEW!!! The PCB4.5C design by an engineer who developed (Original Version : (Willem EPROM Programmer PCB3B Standard and Universal)) and developed software 0.98D2 / (Now!! Download Free 0.97ja) /0.97j / 0.97i+ / (0.98i more Copy Software version) / 0.97i / 0.97h / 0.97g )"


Summarizing, own Gitti was involved in the updates. And anything of the available current versions for download, only the old and already known. They put, researching in google, I ended up finding at a Russian forum, a copy of the up-to-date software, in the case the version 0.98D2.




To the you test it logically it didn't work in the old PCB3b, I already eat alerted. Then starting from my "mission", summarized to do reverse engineering through the software for to lift which were the modifications and to turn compatible the old PCB3b, with the new software.
Well, then we are going the modification properly said. Before I will include two modifications done by min, that seek improvements in programmer, which I recommend the everybody do before even of update the board to version PCB4.5
Four improvements will be described, being:

Improving converter DC-DC.
The "heel of Aquiles" of this version of willem is DC-DC converter, that generates the different voltages to Vpp (12.5, 15, 21 and 25V). The main item that cause a series of problems is the coil, which must have mass to not saturate with the drain demanded for eprom in the programming. The biggest problem is in the programming old eproms , which demands much current in the Vpp. The maximum current supplied by the converter in my original board was of only 35mA approximately, what he is little for some eproms.
To obtain coil of 100uH that it has supported a current up to 100mA without saturating is something complicated, therefore the majority them coil, and XRF found in the commerce has nucleus very small e saturates quickly with currents of this order. Solution?
Make a new coil, using a toroid core. The place to find an ideal nucleus is the box of scraps. Seeking I found toroid cores in old mother-board of PC and in battery charger for cellular phone, for vehicular use. Besides in these last ones, also found the MC34063 or the JRC2360D that it is direct equivalent, done made by Japan Radio Co. LTD. Below see a board of these battery charger.


The coil can be used directly, it is enough remove and to place in the board. In the case of re-taking use core from PC Board, the coil should have been re-wound. See the same core in an old board "PC-chips SiS530":




This is the dimensions of the core for who wants to seek a similar one in another board:

Height: 5mm



Internal diameter: 8mm



External diameter: 13mm



Color of core: I yellow with a white border.



Remove original coil, and wind 55 turns of 24AWG enamel wire distributed uniform on the core.





Other modifications that seek a better performance in the DC-DC converter:





Replace:

Transistor Q4, original: BC557, change to BC327 or BC328.



Resistor R9, original 2K2, change to 1K2.


Resistor R17, original: 0.5, change to 0.33Ω In case doesn't find, do use my solution, 3 resistor of 1Ω in parallel, what will give us exactly 0.33Ω.

Capacitor C2, original: 220pF, change tor 1nF, it seeks to lower chopper frequency.

Diode D3, original: 1N4148, change to BYV26, BYV95C or other any schottky diode.









The voltage regulator, 7805 more heat a little more than the normal, is convenient to place a small heatsink. It is finally, use a GOOD power supply, I am using one from an old scanner, of 12V x 1200mA.





With these modifications, the current supplied by the DC-DC converter, up-to 100mA. The block of schematic below were made the modifications, the components in blue are they mentioned above.


It is the section of the board where all components, except the resistor R9, that is between the 74HC04 and the ZIF socket. The resistor R17, was in below of coil.

Protecting PIC against mistakes in the adjustment of Vpp.
The poor of the pics are the largest ones you slay in case you change the Vpp for 21 or 25V and forget to come back the jumps for the position of 12.5V.
Myself already made twice this mistake and burning two PIC16F877A.
The solution for that is simple, it is enough to add a resistor in series with the line of Vpp, that is going to the ICS connector and for 18 pins socket. And a zener diode to limit the tension in a safe value.
If you already made here this modification, it is necessary to move wire for the other extremity where was the jump, because I marry I thwart in this point the modification it will be tied up to protected Vpp of 12V of pics and not more to direct Vpp after the modification. In the illustration I already placed the resistor (in blue) that will be added in the place of the jump.

The modification in the board is quite simple, it is not necessary to cut any track, it is enough to remove two jumps and to proceed the modification. In the photo below show the position of the jumps, and notice that already installed the resistor 560R in the place of one of jumps, the other jump is empty.

Inside of ellipse 1, a jump was removed and ellipse 2, the jump was removed and installed the resistor of 560R x 1/8W in its place. Now it lacks only a small bridge on the side under the board and to install the zener diode, 13V x 1W, according to the photo below.

The yellow rectangle indicates the socket of 18 pins. The wire that passes on the socket of 18 pins is the bridge that should be added. Already take advantage of and place the resistor of 1K that this in the pin 10 of the socket, linked to GND. This resistor ground the pin Low Voltage Program, of the PIC16F628. The diode zener this with its anode attached to the pins 1 and 2 of the socket of 24Cxx. With this this modification this completes.

تابع معى باقى الموضوع
م/ محمد فوزى

اعلانات

mtc2015
:: موقوف ::
تاريخ التسجيل: May 2008
المشاركات: 13
نشاط [ mtc2015 ]
قوة السمعة:0
قديم 05-08-2008, 09:25 PM المشاركة 2   
Arrow


الجزء التانى

Correcting the pull-up of pins SELIN and AUTO.
In the original project it was lacking the pull-up in the pins Select In and Auto. Although this mistake has already been alerted by Gitti and also in the forum of Willem, I solved you place it here. See in the outline this correction. It is not a critical correction, but it is advisable to make.

And see the local to place the resistors in the board. They are tied up to the pin 16 of own U2 IC.

Don't look at for the wire-up confusion and IC in the song right bottom. They are part of the last modification.

Improve to work on LPT port from Notebooks.
It can seem strange, but several notebooks has differences in the parallel port, they use lower of pull-up, to provide a port with larger imunit to noises and faster.

Only that this causes problems and to badly operation.

This owes to the fact of CI's series CD40xx they support a drain of smaller current. The tip is to substitute the buffers CD4503 and 4069 for 74HC367 and 74HC14, that support a very larger drain.

My programmer didn't work correctly in my notebook, a IBM ThinkPad 600. After the change of the buffers it now work perfectly.
Conversion to PCB4.5 or when the hell breaks loose
When I intended to discover as converting the old PCB3b to work with the new software, my first providence went make a small giga, to facilitate the debug & test, this way it is much faster to verify changes of the signals in the socket ZIF.

Willeprom uses a cascade of 3 shift double registers (CD4015) and it carries the 24 bits that it composes addresses bus, just as in the illustration below.

That is places one bit per time in data pin of the first 4015 and it is going pulse clock line, it makes this operation 24 times until carrying the whole bus (obs. in the case of a smaller bus, as of a 27C512, for example he carries only the necessary bits, to know, 16 bits), but what matters it is that he carries a bit per time.
When beginning the debug, using the hardware test with my leds giga, I noted that the software carried the bits from A0 to A7, correctly they put above of A7, it didn't carry anything and eventually appeared "junk" in the in the addresses above A7.
A careful observation, allowed to note that when only carrying the bit A0, when selecting the bit A0 for the first time, it was carried correctly, they put when give-selecting, the bit A0 turned off, they put the bit A8 on, and when selecting the bit A0 again, the bit A8 turned off and on bit A0 and A16...

Thinking a little, it is enough to note that 8 bits are only being carried, accompany below:
When carrying the bit A0 in 1, corresponds to send 00000001 for the shift register.

When carrying the bit A0 in 0, corresponds to send 00000000 for the shitf register.



Now remember that the data are loaded serial, soon the first 8 loaded bits, they should be moved upward, soon the stack in the shift-register is being: 0000000010000000, what corresponds exactly to light the bit A8!
Now, carrying the bit A0 again in 1 a new sequence 00000001 will be a correspondent, soon the 16 bits that are already in the shift-register should be moved above, soon the sequence in the shift register is being: 000000001000000000000001, what will correspond exactly to set the bits A0 and A16!!!
Therefore it is ended that the bus is parted in smaller blocks. Analyzing the schematic of programmer, and the sequences above, it is easy to deduce that the bus went divide in three segments of 8 bits! Just lacked to discover through where the other two groups of 8 bits should come. Researching with the scope, I found these two segments, presents in the pins DO4 and DO5 of the printer port.
Give it was just enough to segment the bus and to tie the pin 15 of U5 to the pin D04 and the pin 15 of U6 to the pin DO5 of the parallel port, and voilá! Therefore the outline was accordingly below:

Now to stop and analyze, will discover the because the programmer is much faster when used in the new bus format. Because now instead of carrying all the necessary bits to the bus of one by one, they are divided in three groups of 8 bits, what means that in any case will just be necessary 8 clock pulses to carry the whole bus, while in the old method it was necessary the same amount of pulses that the amount of bits of the bus of the eprom.

Simple, practical and efficient!
Note that I opted including the jumps for the selection of modes, so that the board it can work on PCB3b mode, an also PCB4.5. The jumps was installed close to the leds Vcc and Vpp, there, underneath of the board is a massive copper area linked to GND, with a small drill I made the 6 pads for installation of jumps.

Even so when doing this modification, I noted that during the reading of an eprom, the programmer didn't still work correctly, in spite of the correct address in the bus, they were not read consistent data of eprom. That is to say, still has more some thing to be altered.

We are going the research again.

The data bus is read by another shift register, now a CD4014, that reads the 8 bits in a step, and it transmits them serial for the parallel port. To send the 8 bits for the parallel port they are necessary 8 pulses of individual clock, that is to say, it pulse clock and reads bit, it pulse clock and reads the bit. Just as in the illustration below:

This way notes that the program needs to be change to have written in the pin clock and reading of the data. To thick way they are necessary at least 16 operations for the reading of a byte.

When analyzing the operation of the board under the new software, I noted that 2 bits were just read of the data bus, what indicated a new bus division, now in the data bus. When placing pull-up resistors in the lines of data, to set up the bit 0FFh, I observed that was read as being 090h.

The 4014 have exits outputs in its last 3 stages of the shift register, and observed the reads data, notes that the bits are being read of 3 by 3 by software. Note: 10010000

What does the one happen then? The software this waiting the other two bits for some way, they put as there is not connected, he reads as zero. The form as the reading and done to 3 bits and exemplified below:

This way, note that are loaded 3 bits for pulse with 3 pulses of simultaneous clock. Making one analyzes as I did previously, they would be necessary at least 12 operations for the reading of the byte (three clock pulses, a reading, three clock pulses, a reading and more three clock pulses and a reading)

Researching with a resistor connected to 5V line, discovered that the reading of the bits lost is made by the pins paper end and select of the parallel port.

Therefore it would be enough to connect the pins Q6 and Q7 of the 4014 to these pins of the parallel port and ready. But... there is a problem, the pin Q8, originally it goes by a inverter gate (NOT) and observing the photo of the board in the site of the sivava, there is no extra ic, and all gates of 74HC14 they are used. Thinking a little, I believe that the circuit have been modify in way to liberate two of the gates of 74HC14, I believe the circuit of transistor Q5 to have been altered, to liberate the gate U12D and also the circuit of transistor Q3 to liberate the gate U12C.

This would be a problem because it would involve more modifications in the board. Then I opted for add a 74HC14 SMD in bottom of board to use the two extra inverter gates. In the portion of schematic below, see as it was this part:



And in this last image, as I installed extra CI in bottom of board. The pins 2 and 4 was directly connected to pins of DB25.


تابع معى باقى الموضوع

م/ محمد فوزى

اعلانات اضافية ( قم بتسجيل الدخول لاخفائها )
  

الصورة الرمزية م/احمد محمود
م/احمد محمود
:: عضو ذهبي ::
تاريخ التسجيل: Sep 2006
الدولة: مصر... الجيزة .. الهرم
المشاركات: 1,557
نشاط [ م/احمد محمود ]
قوة السمعة:149
قديم 05-08-2008, 09:30 PM المشاركة 3   
افتراضي


مشكور اخى الكريم وبارك الله فيك


mtc2015
:: موقوف ::
تاريخ التسجيل: May 2008
المشاركات: 13
نشاط [ mtc2015 ]
قوة السمعة:0
قديم 05-08-2008, 10:04 PM المشاركة 4   
Exclamation


الرجاء من ادارة المنتدى التكرم بحل مشكلة الصور واظهارها حيث انها محدده ب 34 صورة فقط حتى نتمكن من وضع باقى الشرح وجزاكم الله كل خير


فهد المنصور
:: مؤسس موقع القرية الالكترونية ::
تاريخ التسجيل: Feb 2004
المشاركات: 11,350
نشاط [ فهد المنصور ]
قوة السمعة:314
قديم 05-08-2008, 10:16 PM المشاركة 5   
افتراضي


شكراً لك مهندس محمد على المشاركة ..

بالنسبة للصور .. فأن تحديد عدد الصور في المشاركة الواحدة يسهل تصفح الموضوع خاصة لمن يملك اتصال بطىء ..


الصورة الرمزية NOOOOR
NOOOOR
:: عضو ذهبي ::
تاريخ التسجيل: Nov 2005
الدولة: مصر المنصورة
المشاركات: 1,143
نشاط [ NOOOOR ]
قوة السمعة:191
قديم 06-08-2008, 01:11 AM المشاركة 6   
افتراضي


جزاكم الله خيرااا


mtc2015
:: موقوف ::
تاريخ التسجيل: May 2008
المشاركات: 13
نشاط [ mtc2015 ]
قوة السمعة:0
قديم 06-08-2008, 04:34 AM المشاركة 7   
افتراضي


السلام عليكم ورحمة الله وبركاته

تم تجميع الشرح والصور والمخططات فى ملف واحد



الصورة الرمزية EN.SaMeH
EN.SaMeH
:: عضو ذهبي ::
تاريخ التسجيل: Apr 2007
المشاركات: 1,436
نشاط [ EN.SaMeH ]
قوة السمعة:111
قديم 06-08-2008, 07:51 AM المشاركة 8   
افتراضي


يمكنك دمج اكثر من 50 صوره فى صوره واحده

ولاكن قم بدمج كل 5 صور فى صوره واحده افضل ووضعها بالموضوع

ويا ريت لو تقدر تترجملنا الشرح بالعربى حتى يستفيد الجميع

موضوع مغلق

العلامات المرجعية

«     الموضوع السابق       الموضوع التالي    »
أدوات الموضوع

الانتقال السريع إلى


الساعة معتمدة بتوقيت جرينتش +3 الساعة الآن: 07:00 PM
موقع القرية الالكترونية غير مسؤول عن أي اتفاق تجاري أو تعاوني بين الأعضاء
فعلى كل شخص تحمل مسئولية نفسه إتجاه مايقوم به من بيع وشراء وإتفاق وأعطاء معلومات موقعه
التعليقات المنشورة لا تعبر عن رأي موقع القرية الالكترونية ولايتحمل الموقع أي مسؤولية قانونية حيال ذلك (ويتحمل كاتبها مسؤولية النشر)

Powered by vBulletin® Version 3.8.6, Copyright ©2000 - 2025