Cov txheej txheem:
Video: Yuav Ua Li Cas Program PIC MCU Nrog PICkit Programmer Siv Breadboard: 3 Kauj Ruam
2024 Tus sau: John Day | [email protected]. Kawg hloov kho: 2024-01-30 09:26
Koj tsis xav tau cov cuab yeej kim thiab ntse los ua si nrog PIC (lossis lwm yam) microcontrollers. Txhua yam koj xav tau yog daim ntawv qhia zaub mov qhov twg koj sim koj lub Circuit thiab programming. Tau kawg qee yam ntawm tus programmer thiab IDE yog qhov tsim nyog. Hauv cov lus qhia no kuv yuav siv MPLAB X IDE thiab PICkit3 programmer.
Kuv tau xaiv PIC18F14K22. Tsis muaj qhov laj thawj tshwj xeeb rau qhov tshwj xeeb PIC, Kuv tsuas yog siv nws tam sim no. Nws ua haujlwm nyob rau qhov ntsuas hluav taws xob nruab nrab ntawm 2.3 V thiab 5.5 V. Cov txheej txheem txheej txheem yuav pom nrog cov lej yooj yim uas tso cai rau LED ntsais ntsais ib ntus.
Kauj Ruam 1: Yam Peb Xav Tau
- PICkit3 programmer
- daim ntawv qhia zaub mov
- PIC18F14K22 MCU NCO
- 6-tus pin header
- qee cov kab
- tog twg los 4.5 V roj teeb lossis USB cable (koj tuaj yeem siv qee qhov los ntawm nas qub lossis keyboard lossis ua rau koj tus kheej)
- ib qho xim LED thiab 470 resistor rau kev ntsuas lub hom phiaj
Cov ntaub ntawv:
PIC18F14K22
PICKIT 3
Kauj ruam 2: Kev thaiv kab
PICkit 3
Cia peb saib PICkit3 programmer. Pom qhov 6-tus pin poj niam lub taub hau nyob hauv qab. Tus lej tus lej ib tus tau kos npe nrog daim duab peb sab dawb yog li los ntawm lub hauv ntej pins tus lej los ntawm sab xis mus rau sab laug. Pins cov lus piav qhia:
- MCLR
- Vdd
- Hauv av
- Cov ntaub ntawv ICSP
- ICSP Moos
- Tsis txuas nrog
Cov qhob cij
Thawj qhov 6-tus pin header thiab PIC kaw txaus rau ib leeg ntawm lub khob cij. Hauv PIC cov ntaub ntawv peb yuav tsum nrhiav kom paub cov phiaj xwm ua haujlwm:
- Vd - pin 1
- Vss (hauv av) - tus pin 20
- PGD (ICSP Cov Ntaub Ntawv) - tus pin 19
- PGC (ICSP Moos) - tus pin 18
- MCLR - pin 4
- RC0 - tus pin 16 (tus pin uas LED yuav tsav)
Cov phiaj xwm hluav taws xob tau qhia hauv daim duab Fritzing.
Hwj chim
Raws li nws tau hais ua ntej lub Circuit tuaj yeem siv tau los ntawm 4.5 V roj teeb lossis USB qhov hluav taws xob (5 V). Kom ua kom pom tseeb 5 V zoo rau qhov tshwj xeeb PIC tab sis tsis tas yuav yog rau lwm tus. Ib txwm tshuaj xyuas cov ntawv teev tseg rau qhov ntau qhov hluav taws xob siv rau lub cuab yeej.
Kauj ruam 3: Programming
Kuv tau npaj cov cai yooj yim zoo nkauj rau kev ntsuas lub hom phiaj. Thaum koj muaj MPLAB txoj haujlwm npaj rau kev ua haujlwm txuas rau PICkit3 rau tus pin lub taub hau ntawm lub khob cij. Tsis txhob hnov qab kom muaj lub tshuab hluav taws xob txuas ntxiv yog li kev sib txuas ntawm PIC thiab tus programmer tsis ua haujlwm. Nyem rau "Ua thiab Program Device Device Main Project" khawm thiab tos kom txog thaum lub program tiav. Tom qab ntawd LED yuav tsum ntsais - 500 ms rau thiab 500 ms tawm.
Pom zoo:
YUAV UA LI CAS YUAV UA LI CAS YUAV TSUM MUAJ KEV LAG LUAM CIRCUIT Siv D882 Tus Neeg Soj Ntsuam: 3 Kauj Ruam
YUAV UA LI CAS YUAV UA LI CAS YUAV TSUM TAU LWM YAM CIRCUIT Siv D882 Tus Kws Tshaj Lij: HELLO phooj ywg, Zoo siab txais tos rau kuv CHANNEL, Hnub no kuv yuav qhia koj li cas kom ua tau CIRCUIT ntawm kev siv hluav taws xob tsis siv neeg lub teeb pom kev siv D882
Yuav ua li cas nyem lossis Program ESP8266 AT Firmware los ntawm Kev Siv ESP8266 Flasher thiab Programmer, IOT Wifi Module: 6 Kauj Ruam
Yuav ua li cas nyem lossis Program ESP8266 AT Firmware los ntawm Kev Siv ESP8266 Flasher thiab Programmer, IOT Wifi Module: Nqe lus piav qhia: Cov Qauv no yog USB adapter /programmer rau ESP8266 cov qauv ntawm hom ESP-01 lossis ESP-01S. Nws tau yooj yim haum nrog 2x4P 2.54mm poj niam lub taub hau los ntsaws ESP01. Tsis tas li nws tawg tawm txhua tus pin ntawm ESP-01 ntawm 2x4P 2.54mm txiv neej h
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
Yuav Siv Mac Terminal Li Cas, thiab Yuav Siv Li Cas Tseem Ceeb: 4 Kauj Ruam
Yuav Siv Mac Terminal Li Cas, thiab Yuav Siv Li Cas Cov Haujlwm Tseem Ceeb: Peb yuav qhia koj li cas qhib MAC Terminal. Peb kuj tseem yuav qhia koj ob peb yam hauv Terminal, xws li ifconfig, hloov cov npe, nkag mus rau cov ntaub ntawv, thiab arp. Ifconfig yuav tso cai rau koj los tshuaj xyuas koj tus IP chaw nyob, thiab koj li MAC ad
Yuav Ua Li Cas PIC Programmer - PicKit 2 'clone': 4 Cov Kauj Ruam (nrog Duab)
Yuav Ua Li Cas PIC Programmer - PicKit 2 'clone': Nyob Zoo! Nov yog qhov qhia qhia luv luv ntawm kev ua tus 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 tsim khoom ntawm PIC microcontrollers thiab PicKit programmer, pr