Test ettiğim basit ve ucuz seri pic programlama devresi. Temeli meşur “JDM Programmer” pic programlama devresine ait. RDC Programmer adını direnç,diyot,kondansatör üzerine kurulu olmasından alıyor devrenin testini pic16f628a ile yaptım com kablosu kullanmadan direkt pc kasanın arkasında rs232 soketine bağladım kullandığım program IC-Prog
Programın bir çok programlama kartına desteği var fakat içlerinde rdc yoktu denemeyi jdm seçili iken yaptım sorun olmadı
ICProg Kullanımı hakkında detaylı bilgi Programlayıcılar için IC-Prog Kurulumu Kullanımı
RS232 Kablo kullanmadığımız için maliyet dahada düşük oluyor ayrıca daha sağlıklı nedde olsa arada ek bir bağlantı olmadan direkt pc ile haberleşiyor
Devrede 10k trimpot ile mclr üzerindeki voltaj ayarlanabiliyor ben hiç ayarlama yapmadan pic16f628 programladım
D7 13 Volt zenerin anot ucuna bağlı 200Ω direnci bulamadım yerine iki adet 100Ω direnç seri bağlayıp kullandım
Devrenin eski versiyonlarında C1 100uf 16v kullanılmış denediğim son versiyonda en sağlıklı stabil değer 470uf 16v olarak belirlenmiş daha düşük kapasite kullanmayın
Devre şeması V2.3
Baskı devre pcb çizimi
Kullandığım baskı devre yukarıda gördüğünüz çizimin aynısı bu tip cizimi sevmediğim için sprint layout ile basit şekilde kopyaladım
Devre üzerinde direkt pic16f84 progamlanabilir pic16f628 programlamak için 18pin soket üzerinde 11-16-17 pinlerini iptal edilmesi gerekli soket üzerine yerleştirip programlama yapabilirsiniz
Test ettiğim devrenin tamamlanmış halinin resimleri
Desteklediği pic serisi mikrodenetleyiciler
Tasımcının kişisel web sitesi: feng3.cool.ne.jp site kapandığı için sayfada ki açıklamaları ekliyorum
I believe that the “JDM Programmer” is cheap and very useful PIC Programmer. However, since “JDM Programmer” cannot control VDD, the algorithm “VPP before VDD” is inapplicable. Programming to the latest device from this reason may go wrong when using CONFIG settings as “Internal oscillator” “MCLR OFF”. These devices are given power from the “JDM programmer”,and execute program code. An error may come out by verification, or it may become impossible erasure and become impossible re-programming . In order to solve this problem, I designed a programmer based on the “JDM programmer.” Since this programmer was made of resistors, capacitors, and diodes, I named this the “RCD Programmer.” “Hardware settings” of IC-Prog are the same as the “JDM programmer.”
C1 is a charge pump capacitor*. This works voltage doubler. When TxD is negative voltage, C1 is charged through D7 from GND. If TxD carries out turn-on, since it will become positive voltage, the voltage charged in C1 is raised. The created high voltage is regulated by D7 to about 13V. If TxD carries out turn-on, both supply voltage will be created. CTS and RTS also join creation of supply voltage. This VDD is delayed and is applied by C2 and R4. D1-D5 are clump diodes. Since voltage drop is within the limits which can be disregarded, general purpose small rectifier is sufficient as the diode to be used. e.g. 1N4148,1S1588(Toshiba),1S2076A(Renesas or Hitachi),1S133(ROHM) . When not succeeding by the device which needs programming current like 16F84(A), the value of R3 is made small. Probably, it will be good using a trimmer resistor as R3.
After I published the RCD Programmer on my Web site, it has passed in one year. I obtained various questions about the RCD Programmer from many people. And Microchip newly developed Low-Pincount PICs which built in the memory exceeding 1k words. I recommend change capacity of C1 to 470uF now for stable programming.
*About general description of charge pump, please refer to DC/DC Conversion without Inductors(Maxim/Dallas Application Note 725). A important point is not a charge pump but controll of VDD in the RCD Programmer circuit. If this point is excluded, the JDM Programmer is far more excellent than the RCD Programmer. Because the RCD Programmer works by the pulse only once, the capacitor power cannot be continued for a long time.
Consideration for the computers which have poor surge protection (added: 2005-02-06 JST)
When you insert a RCD Programmer into the COM port of your computer during operation(“Hot Plug-in” or “Hot Socketing”), inrush current is generated. It seems that it is weak to an overcurrent and a short circuit although “EIA/TIA -562” is power saving and compatible with “EIA/TIA-232-E.” So, I added 200-ohm current limitation resistor. This resistor limits peak current and help computers which have poor surge protection circuit inside. However, the RCD programmer will not work well as for such a computer because the voltage of the COM port might be very low.
(1) WinPic– When both IntOSC and internal MCLR options are selected, programming is successful satisfactory. However, after exiting Program/Verify mode, the device may be unable to be read(or verify) correctly. Please feel easy ! The device can be Re-programmed.
(2)The Device ID of PIC12F683 is 0x0460. ID value “0x1280” shown in the data sheet(DS41204C) is not corrected for now(corrected in the autumn of 2004, DS41204D).
(3)Use an Adaptor, or ICSP Method for these devices ! Adaptor for SOT23 PIC10F2xx (example), for PIC16F57 (example), for PIC16F627A/628A/648A( See photo below).
(4)WinPic– Enable WinPic ‘s option “raise Vdd before MCLR=Vpp” !
(5)WinPic– Don’t use WinPic to programming to PIC16F84A with RCD Programmer! Use IC-Prog or PICProg4U!
Note: WinPic–The erasure and the re-programming might become impossible as for the devices afterwards when both IntOSC and internal MCLR options are selected besides by using WinPic that sets “InterfaceType” to “JDM Programmer 2”. In that case, please try after clearing all the check boxes in “Interface Test”.
IC-Prog Author: Bonny Gijzen
WinPic Author: Wolfgang Büscher
PICProg4U Author: FENG3
Requires .NET Framework 1.1 or later.
The available COM port and the RCD Programmer are detected automatically.
Supported devices are PIC10F200/202/204/206/220/222, PIC12F508/509/510, PIC16F54/57/59, PIC12F629/635/675/683, PIC16F627/628, PIC16F627A/628A/648A,PIC16F630/636/639/676, PIC16F684/685/687/688/689/690, PIC16F818/819, PIC16F84A, PIC16F87/88, PIC16F870/871/872/873/874/876/877, PIC16F873A/874A/876A/877A.)
Probably you should read “OSCCAL(internal OSCillator CALibration) word” and “BG(BandGap calibration) bits” in a device first, and should make a note of them on a piece of paper, before you start programming, so that it may not erase accidentally.
All OTP(One Time Programmable) devices and greater than 18-pin devices are not suppoerted !
PCB and other files (PDF format) can be downloaded from here.
“Dongle” type RCD Programmer
Note: J5 is a jumper wire or a jumper resistor.
PCB Components layout
RCD Programmer which I always use
This board requires a 90°printed board mount D sub connector and a trim resistor. It is the size which can also mount 18pin TEXTOOL. Note: “0R” is a jumper wire or a jumper resistor.
PCB Components layout Bill Of Material
RCD Programmer for the computers whitch have poor surge protection
PCB Components layout Bill Of Material
Download: En basit ucuz seri pic programlayıcı rcd programmer
Dosya indirme LINK listesi (TXT formatında) link-6295.zip şifre-pass: 320volt.com
Various Examples RDC Programmer
Q I have seen that there is a variable resistor in the circuit.Could you please explain how to calibrate this part or could you recommend a value which I have to turn the resistor?
A R3 value is 10k ohms for almost devices. But some old device such as PIC16F84A requires a little a lot programming current. Therefore, R3 value can be adjusted by using trimmer potentiometer since RCD Programmer Version 2.3(about 1k ohms or less, for PIC16F84A).
Q What is the resistor value “0R” ?
A “0R” is the zoro-ohm resistor. It is the jumper wire which have the shape of the resistor. Of course, ordinary jumper wire can be used as “0R”.