Cov txheej txheem:

Yuav Ua Li Cas PIC Programmer - PicKit 2 'clone': 4 Cov Kauj Ruam (nrog Duab)
Yuav Ua Li Cas PIC Programmer - PicKit 2 'clone': 4 Cov Kauj Ruam (nrog Duab)

Video: Yuav Ua Li Cas PIC Programmer - PicKit 2 'clone': 4 Cov Kauj Ruam (nrog Duab)

Video: Yuav Ua Li Cas PIC Programmer - PicKit 2 'clone': 4 Cov Kauj Ruam (nrog Duab)
Video: LDmicro 2: Create Ladder Diagram (Microcontroller PLC Ladder Logic Programming with LDmicro) 2024, Kaum ib hlis
Anonim
Yuav Ua Li Cas PIC Programmer - PicKit 2 'clone'
Yuav Ua Li Cas PIC Programmer - PicKit 2 'clone'

Nyob zoo! Qhov no yog Cov Lus Qhia luv luv ntawm kev ua PIC programmer uas ua raws li PicKit 2. Kuv ua qhov no vim nws yog txoj hauv kev pheej yig dua li yuav thawj PicKit thiab vim tias Microchip, cov tuam txhab tsim PIC microcontrollers thiab PicKit programmer, muab cov lej thiab software, ua nws yooj yim heev rau peb los tsim peb tus kheej programmers, twv yuav raug hu qhov zoo ntawm kev siv PICs.

Cov Cuab Yeej Xav Tau:

  • Soldering Iron thiab solder
  • Hlau Snips
  • Koob Ntshav Ntshav
  • PCB cov cuab yeej kos thiab cov khoom siv - tuaj yeem hloov nrog lub khob cij tab sis yuav siv sijhawm ntau dua
  • Twb ua haujlwm programmer (Qhov no yog qhov tsis zoo, tej zaum koj tuaj yeem qiv ib qho)
  • PC (rau kev teeb tsa PIC uas nkag mus rau hauv PicKit)

Cov Ntaub Ntawv Xav Tau:

  • 2 x 100nF ceramic capacitor
  • 2 x 15pF ceramic capacitor
  • 2 x 47uF 16v electrolytic capacitor
  • 1 x 10uF 16v electrolytic capacitor
  • 2 x 1N4148 diode
  • 1 x PIC18F2550
  • 1 x 28 pin thin IC socket (rau PIC18F2550)
  • 1 x 680uH inductor, pob zoo li tus tiv thaiv
  • 2 x 3mm LED (ib qho ntsuab thiab ib qho liab)
  • 3 x BC548 transistor
  • 1 x BC557 transistor
  • 1 x 20MHz oscilator siv lead ua
  • 3 x 33 ohm resistor
  • 1 x 100 ohm resistor
  • 2 x 330 ohm resistor
  • 1 x 1 k resistor
  • 1x2k7 ua
  • 2x4k7 ua
  • 3 x 10k resistor
  • 1 x 100k resistor
  • 1 x 2-pin tactile hloov (khawm)
  • 1 x pin strip (tsuas yog 6 xav tau)

Kauj Ruam 1: Schematics thiab PCB Tsim

Schematics thiab PCB Tsim
Schematics thiab PCB Tsim
Schematics thiab PCB Tsim
Schematics thiab PCB Tsim

Txog cov lej, kuv ua raws li kuv tus qauv tsim los ntawm Felixls hauv nws nplooj ntawv:

sergiols.blogspot.com.ar/2009/02/pickit-2-c…

Nws kuj tau muab PCB tsim, tab sis kuv pom tias cov ntawv me me dhau los ua hauv tsev, yog li kuv rov tsim kho PCB ntawm Proteus.

Nov yog cov ntaub ntawv ntawm kev tsim qauv thiab pdf rau luam tawm los ua PCB.

Kauj Ruam 2: Ua Pawg Thawj Coj

Ua Pawg Thawj Coj
Ua Pawg Thawj Coj
Ua Pawg Thawj Coj
Ua Pawg Thawj Coj
Ua Pawg Thawj Coj
Ua Pawg Thawj Coj

Yog tias koj xav kawm yuav ua li cas thiaj ua PCB nyob hauv tsev muaj ntau Cov Lus Qhia hauv online uas koj tuaj yeem kawm.

Thaum koj tau ua tiav lub rooj tsavxwm koj yuav xav tau cov khoom sib txuas, koj tuaj yeem siv cov duab no los pab.

Cov npe khoom:

C1 100 nxf

C2 47uf 25v

C3 100 nf

C4 47uf 25v

C5 10uf 50v

C815 wb

C915 wb

D1 1N4148

D2 1N4148

IC1 PIC18F2550

L1 680 ua

LED RED LED 3MM

LED GREEN LED 3MM

Q1 BC548

Q2 20MHZ

3q548 ua

Q4 BC548

Q5 BC557

R1 33 ib

R2 33 ib

R3 33 ib

R4 4k7 ua

R5330 ua

R61k ib

R7303 ua

R8100k ua

R9 2k7 ua

R104k7 ua

R 11 10k os

R12 100 ib

R1310k ua

R1410k ua

BTN tactile hloov

SV 36 pin

X3 USB B poj niam

Kauj ruam 3: Programming tus Programmer

Programmer tus Programmer
Programmer tus Programmer
Programmer tus Programmer
Programmer tus Programmer
Programmer tus Programmer
Programmer tus Programmer
Programmer tus Programmer
Programmer tus Programmer

Txhawm rau program PIC18F2550 los siv hauv tus programmer koj yuav xav tau PicKit ua haujlwm. Thaum koj tau txais ib lossis qiv ib qho, koj yuav tsum tau teeb tsa PicKit 2 software: PicKit 2 v2.61

Ua ntej qhib PicKit 2 thiab ntsaws koj tus programmer ua haujlwm. Yog tias nws tsis hais 'PicKit txuas' hauv kab lus, sim nyem 'Cuab Yeej> Txheeb xyuas kev sib txuas lus'.

Tom qab ntawd txuas PIC18F2550 rau koj tus kws ua haujlwm ua haujlwm siv lub khob cij thiab ua kom pom kev sib txuas, zoo li cov duab saum toj no qhia.

Yog tias nws tsis pom PIC, qhia 'PIC Ntaus Pom', tom qab ntawd nyem nyem 'Cuab Yeej> Txheeb xyuas kev sib txuas lus' ob peb zaug. Yog tias nws tseem tsis pom PIC, kos cov kev sib txuas.

Txhawm rau rub qhov program mus rau PIC mus rau 'Cov Ntaub Ntawv> Ntshuam', tom qab ntawv 'C: / Program Files (x86) Microchip / PICkit 2 v2 / PK2V023200.hex' thiab nyem 'Qhib'

Tos kom txog thaum nws hais tias 'Cov ntaub ntawv Hex tau ua tiav kev xa khoom' thiab nyem 'Sau', tos kom nws hais tias 'Kev ua haujlwm tau zoo'

Kauj ruam 4: Siv PicKit

Siv PicKit
Siv PicKit
Siv PicKit
Siv PicKit
Siv PicKit
Siv PicKit

Ua ntej txuas rau peb tus programmer thiab qhib PicKit 2. Tos rau PicKit txhawm rau txheeb xyuas tus programmer, thiab yog tias nws tsis yog, nyem 'Cuab Yeej> Txheeb Xyuas Kev Sib Txuas'.

Txuas PIC peb xav ua haujlwm rau peb tus programmer. Yog tias koj tsis paub yuav ua li cas koj tuaj yeem tshawb nrhiav online rau tus pin faib ntawm PIC thiab nrhiav cov MCLR, VDD, VSS, PGD thiab PGC pins txuas rau tus programmer.

Tos rau PicKit txhawm rau txheeb xyuas PIC qhia 'PIC Ntaus Pom', yog tias nws tsis yog ces nyem nyem 'Cuab Yeej> Txheeb xyuas kev sib txuas lus' ob peb zaug. Yog tias nws tseem tsis pom PIC, kos cov kev sib txuas.

Qhib MPLAB, MPLAB X, lossis qhov twg IDE koj tab tom siv thiab sau qhov program.

Tom qab ua tiav, rov qab mus rau PicKit 2 thiab mus rau 'Cov Ntaub Ntawv> Ntshuam Hex'. Nrog MPLAB X koj tuaj yeem pom cov ntaub ntawv hex ntawm koj txoj haujlwm hauv 'Project_Directory> dist> default> production> Project_Name.production.hex'

Nyem 'Sau' thiab tos nws los qhia 'Programming Successful'

Yog tias koj xav hloov kho koj li program koj tsis tas yuav ntshuam cov ntaub ntawv hex ntxiv, koj yuav tsum sau nws ib qho nyem 'Sau' hauv PicKit software. Ntawm cov lus nws qhia nws yuav tsum nyeem 'Reloading hex file'.

Qhov ntawd yog nws!

Raws li cov kauj ruam kawg, koj tuaj yeem tsim cov ntawv plaub fab yooj yim rau 3d luam tsuas yog los tiv thaiv PicKit, koj yuav tsis xav kom nws tawg lossis luv-Circuit Court, Kuv yuav tso nws rau koj.

Zoo siab programming

Pom zoo: