Cov txheej txheem:

JDM2 Raws PIC Programmer: 4 Kauj Ruam
JDM2 Raws PIC Programmer: 4 Kauj Ruam

Video: JDM2 Raws PIC Programmer: 4 Kauj Ruam

Video: JDM2 Raws PIC Programmer: 4 Kauj Ruam
Video: Nitrous makes everything better!! #nos #turbo #racing #short #street #texas #nissan 2024, Hlis ntuj nqeg
Anonim
JDM2 Raws PIC Programmer
JDM2 Raws PIC Programmer
JDM2 Raws PIC Programmer
JDM2 Raws PIC Programmer

Schematic & txheej txheem rau hloov kho JDM2 PIC Programmer. Xws li lub moos & cov ntaub ntawv lim, Vpp qhov faib hluav taws xob rau PIC microcontrollers niaj hnub no (piv txwv li USB PIC 18F2455/4455). ntawm microcontrollers. Tom qab pom txhua qhov haujlwm txias uas tib neeg tau ua nrog Microchip PICs, Kuv YUAV TSUM muaj PIC programmer. Txog ib xyoos dhau los Kuv tau ua kuv tus thawj PIC programmer raws li uJDM tsim (https://www.jdm.homepage.dk/newpic3.htm). Tus programmer no siv 6 yam sib koom ua ke. Txawm hais tias qhov txuas hais tias '16F84 (a)' nkaus xwb, Kuv siv nws rau qhov tshiab (thiab pheej yig dua) 16F628 (a) cov txheej txheem tsis muaj teeb meem. Tus programmer no tau ua haujlwm rau kuv zoo heev, tab sis nws tau txwv rau (tsawg dua) 18 tus pin PICs nrog lub program Vpp ntawm 13 volts. Lub Circuit Court yog ua raws tus programmer JDM2 (https://jdm.homepage.dk/newpic.htm), nrog ob qhov kev txhim kho: moos thiab cov ntaub ntawv kab lim & xaiv tau qhov program voltage. ZIP cov ntawv khaws cia muaj tag nrho cov phiaj xwm phiaj xwm. UJDM schematic thiab teeb tsa tau suav nrog.

Kauj Ruam 1: Tsim Kev Txhim Kho

Kev Txhim Kho Ntxiv
Kev Txhim Kho Ntxiv
Kev Txhim Kho Ntxiv
Kev Txhim Kho Ntxiv

Moos thiab Lim Cov Ntaub Ntawv: Cov PIC tshiab dua tau npaj kom nrawm heev uas lub moos thiab cov kab ntawv tuaj yeem ntsib kev sib tham. Raws li tus neeg sau WinPic programming software (https://www.qsl.net/dl4yhf/winpic/): "Muaj ntawv ceeb toom ntawm Microchip lub rooj sab laj (los ntawm Olin Lathrop) txog kev ua haujlwm dsPIC30F201, hais kom muab 22.. 47 pF ntawm PGD thiab PGC kab mus rau hauv av ze rau lub hom phiaj nti. thaum nws tau tsav los ntawm lub hom phiaj nti. Qhov no txo qis qhov sib txawv uas tuaj yeem ua ob peb mus rau PGC kab. Lub hau ntawm PGC kab ua rau nws tsis muaj kev cuam tshuam rau ua suab nrov. Ib tus neeg siv Velleman PIC programmer qhia txog kev ua tiav nrog PIC18F4520 tom qab ntxiv 2 * 33 pF lub kaus mom thiab 100 Ohm series resistor. " (LINK: https://www.qsl.net/dl4yhf/winpic/#pgd_pgc_filtering) Cov ntawv ceeb toom no feem ntau siv rau kev tsim cov PICs los ntawm kab hluav taws xob thaum lawv tau muab tso rau hauv kab hluav taws xob. Thaum siv hom phiaj xwm no lub peev xwm ntxiv thiab tus tiv thaiv yuav tsum nyob ze rau lub hom phiaj - nws tsis pab kom muaj lawv ntawm tus programmer: "Qhov no txhais tau tias qhov teeb meem no tsis tuaj yeem daws tau ntawm tus programmer kawg ntawm kab hluav taws xob. ntse Circuitry ntawm tus programmer tuaj yeem ua qhov teeb meem no ploj mus. Nws yuav tsum tau daws nrog ntawm cov phiaj xwm phiaj xwm. (LINK: saib PGD rau PGC Crosstalk ntawm https://www.embedinc.com/picprg/icsp.htm) Kuv hais qhov no Yog li nws yog qhov tseeb koj tsis tuaj yeem npuaj ib ICSP lub taub hau ntawm pawg thawj coj no yam tsis muaj teeb meem. Kuv suav nrog cov ntxaij lim dej hauv kuv tus programmer tshiab vim tias cov ntaub ntawv/teev cov kab ntawv ntev.. Tus tiv thaiv tuaj yeem hloov pauv tau nrog cov hlua jumper. Selectable Programming Voltage (Vpp): Programming voltage (Vpp) tau siv rau MCLR tus pin txhawm rau tso PIC hauv hom programming. PICs laus dua (12F/16F/qee 18Fs) xav tau Vpp. ntawm 13 volts. PICs tshiab (xws li USB tau qhib 18F2455/4455) muaj qhov qis Vpp ntawm 12.5 volts. Ib qho kev faib hluav taws xob tau ntxiv rau JDM2 tsim los muab 12.5 volts los ntawm thawj 13 volt tso tawm. Lub diode tiv thaiv kom tsis txhob xau los ntawm qhov faib hluav taws xob thaum nws hla dhau. Vpp xaiv tau los ntawm peb tus pin jumper ntawm sab laug sab laug ntawm tus programmer. Hauv kev xyaum nws tsis zoo li tsis muaj teeb meem: Kuv tuaj yeem teeb tsa 13 ntu ntu nrog 12.5 volts, thiab 12.5 volt ntu ntawm 13 volts yam tsis muaj kev puas tsuaj.

Kauj Ruam 2: Kev tsim kho

Kev tsim kho
Kev tsim kho
Kev tsim kho
Kev tsim kho

Cov kab hauv qhov tsim qauv no yog qhov zoo thiab muaj roj kom yooj yim hloov pauv toner (lossis cov duab tub nkeeg). Kuv pib ua PCB nrog TT txoj kev, tab sis pom nws zoo nkauj heev. Kev nqis peev $ 10 tau txais kuv pib nrog daim duab PCBs (siv tus lej dav hlau ua kom pom kev zoo). Kuv yuav tsis rov qab mus.

Txhua qhov muaj nyob ntawm kuv lub khw hluav taws xob hauv nroog hauv Amsterdam, txawm hais tias kuv xaj cov khoom los ntawm Mouser ntau. Txhua lub rooj tsavxwm raug nqi kwv yees li $ 2.50 los ua - tus nqi loj tshaj yog tus pin 9 tus poj niam DB9 txuas ($ 1.60). Layout thiab BOM yog hauv qab no. Schematic thiab board cov ntaub ntawv yog rau EagleCad. Tsis txhob hnov qab 8 tus dhia, qhia ua liab. Tus Nqi C1 100uF/25V C2 22u/16V Tantal C3 22… 47… 100pf C4 22… 47… 100pf D1 1N4148 D2 5V1 Zener D3 1N4148 D4 1N4148 D5 1N4148 D6 8V2 Zener D7 1N4148 IC1 DIL18S IC2 D47 Q4 BC547B R1 10k R2 1k5 R3 100ohm R4 1K R5 15K SV3 Pin Header (3) X1 Poj niam DB9 9-tus pin txuas (F09H)

Kauj ruam 3: SIV

Siv
Siv

Tus programmer yuav ua haujlwm nrog txhua lub software software uas txhawb nqa JDM2. Kuv nyiam WinPic800 (LINK: https://perso.wanadoo.es/siscobf/winpic800.htm), thiab WinPIC kuj tseem tsim nyog tau txais txiaj ntsig zoo rau kev txhawb nqa cov ntaub ntawv zoo (LINK: https://www.qsl.net/dl4yhf/winpic /). Ob leeg txhawb nqa USB PICs tshiab tshaj plaws (18F2/4455). ICProg zoo heev, tab sis tseem tsis tau hloov kho qee lub sijhawm (LINK: https://www.ic-prog.com/). Txhua tus programmer no tau sim nrog PICs hauv qab no: Pins Tshooj #8 12F68314 16F68418 16F84 (a)*, 16F628 (a)*28 16F737, 18F245540 16F74, 18F4455*Thawj thiab 'A' kev hloov kho OK. Placement rau ntau yam PICs yog qhia hauv daim duab hauv qab no. Nws tsis txwv rau PICs no - nws yuav tsum ua haujlwm nrog txhua PIC uas muaj Vpp, Vss, Vdd, PGD, & PGC kev npaj raws li qhia.

Kauj Ruam 4: Kev txhim kho yav tom ntej

Kuv siv pheej yig AMP IC nyob ntawm Mouser vim tias kuv muaj lawv ntawm tes. Kuv tus qauv tsim tom ntej yuav hloov 28 thiab 40 tus pin nyob nrog 40 tus pin ZIF lub qhov (socket). Kev tshem tawm me ntsis ntxiv nyob ib puag ncig 18 tus pin ntsaws ua rau ZIF hloov pauv tau ib yam nkaus.

-ian (qhia-ntawm-qhov chaw-dot-com)

Pom zoo: