Cov txheej txheem:
- Kauj Ruam 1: Schematics thiab PCB Tsim
- Kauj Ruam 2: Ua Pawg Thawj Coj
- Kauj ruam 3: Programming tus Programmer
- Kauj ruam 4: Siv PicKit
Video: Yuav Ua Li Cas PIC Programmer - PicKit 2 'clone': 4 Cov Kauj Ruam (nrog Duab)
2024 Tus sau: John Day | [email protected]. Kawg hloov kho: 2024-01-30 09:30
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
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
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
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
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:
YUAV UA LI CAS YUAV UA LI CAS YUAV TSUM ROBOT COOB SCARECROW: 16 Cov Kauj Ruam (nrog Duab)
YUAV UA LI CAS YUAV TSUM NYOB ROBOT COW SCARECROW: Kuv nyuam qhuav tsim Moo-Bot, tus neeg hlau nyuj scarecrow dhia hla lub hli, rau kev sib tw hauv zej zog scarecrow.Kuv kev tshoov siab yog los ntawm kuv tus tub hu nkauj "hey diddle diddle, miv thiab fiddle. .. " Txoj haujlwm zoo heev los ua haujlwm nrog kuv
Cov Duab Duab Duab thiab Cov Duab 1: 4 Cov Kauj Ruam (nrog Duab)
Cov Duab Duab Cubes thiab Cov Duab 1: Thaum sim nrog qee cov ntoo ntoo thiab cov duab los qhia, kuv pom ob peb txoj hauv kev los ua cov voos thiab lwm yam duab los ntawm cov khoom siv yooj yim. Los ntawm kev muab cov no los ua Cov Ntawv Qhia, Kuv vam tias yuav txhawb nqa kev ua si thiab kev kawm. Kev hloov pauv ntawm qhov kev qhia no
Yuav Ua Li Cas Thiaj Li Tshem Tawm Lub Computer Nrog Cov Kauj Ruam Yooj Yim thiab Duab: 13 Kauj Ruam (nrog Duab)
Yuav Tsum Tshem Tawm Lub Khoos Phis Tawj Li Cas Nrog Cov Kauj Ruam Yooj Yim thiab Duab: Nov yog cov lus qhia txog yuav ua li cas tshem lub PC. Feem ntau ntawm cov khoom siv yooj yim yog hloov pauv thiab tshem tawm tau yooj yim. Txawm li cas los xij nws yog ib qho tseem ceeb uas koj tau koom nrog nws. Qhov no yuav pab tiv thaiv koj kom tsis txhob poob ib feem, thiab tseem ua rau kev rov ua dua tshiab
YUAV UA LI CAS YUAV UA LI CAS NYOB ZOO TSHAJ PLAWS NROG IR IR LIGHT: 5 Kauj Ruam (nrog Duab)
YUAV UA LI CAS Ua Ib Lub Koob Yees Duab Tsis Muaj IR IR LIGHT: Kuv tau pom lub koob yees duab Infrared thiaj li siv nws hauv lub kaw lus kaw suab. Nrog nws koj tseem tuaj yeem tau txais cov duab txias no: cov khoom ci hauv lub zeem muag lub koob yees duab uas ib txwm muaj nyob hauv qhov tseeb. Koj tuaj yeem tau txais cov txiaj ntsig zoo nkauj rau tus nqi pheej yig Nws
Yuav Ua Li Cas Thiaj Li Sib Koom Cov Yees Duab thiab Cov Ntaub Ntawv Network Los Ntawm Ethernet Cable: 6 Cov Kauj Ruam (nrog Duab)
Yuav Ua Li Cas Thiaj Li Ua Ke Cov Yees Duab thiab Network Cov Ntaub Ntawv Los ntawm Ethernet Cable: Kuv xav tau los khiav Video thiab Suab mus rau lwm qhov ntawm kuv lub tsev. Teeb meem yog, Kuv tsis muaj AV cable ntau, tsis yog lub sijhawm thiab nyiaj txiag los teeb tsa zoo. Txawm li cas los xij kuv tau muaj Cat 5 Ethernet Cable ntau nyob ib puag ncig. Nov yog qhov kuv tuaj nrog