Cov txheej txheem:
- Kauj ruam 1: Sau tag nrho cov khoom
- Kauj Ruam 2: Xa ISP Program mus rau Arduino Board
- Kauj Ruam 3: Txuas Lub Hom Phiaj AVR Board rau Arduino Board
- Kauj Ruam 4: Hlawv Bootloader ntawm AVR Board
- Kauj Ruam 5: Kuaj AVR Board
- Kauj Ruam 6: Nws Ua tiav
Video: Yuav Ua Haujlwm Li Cas Pawg AVR Siv Pawg Arduino: 6 Kauj Ruam
2024 Tus sau: John Day | [email protected]. Kawg hloov kho: 2024-01-30 09:28
Koj puas muaj AVR microcontroller board tso ncig? Nws puas nyuaj rau program nws? Zoo, koj nyob hauv qhov chaw raug. Ntawm no, kuv yuav qhia koj yuav ua li cas rau txheej txheem Atmega8a microcontroller board siv Arduino Uno board ua tus programmer. Yog li tsis muaj ado ntxiv, cia peb pib!
Kauj ruam 1: Sau tag nrho cov khoom
Nov yog txhua yam koj yuav xav tau:
- Arduino UNO/MEGA/nano microcontroller board.
- AVR microcontroller board nrog lub microcontroller sib xws (xws li Atmega 8a)
- Qhov tsim nyog USB cable rau Arduino board
- Rau lub xov hlau jumper (ob qho rau lub zog, ib qho rau rov kho lub hom phiaj AVR pawg thawj coj thiab seem peb rau kev sib txuas lus)
Nyem rau ntawm daim duab saum toj no kom paub ntau ntxiv.
Kauj Ruam 2: Xa ISP Program mus rau Arduino Board
Pib Arduino IDE thiab mus rau Cov Ntaub Ntawv> Piv txwv> ArduinoISP. Xaiv lub rooj tsav xwm tsim nyog los ntawm Cov Cuab Yeej> Boards. Rub qhov program mus rau Arduino board.
Kauj Ruam 3: Txuas Lub Hom Phiaj AVR Board rau Arduino Board
Ua kev sib txuas raws li hauv qab no (AVR rau Arduino board):
VCC rau 5-volt
GND to CSY
RST/RESET rau D10
MYOB to D11
MYOB to D12
TXC to D13
Yog tias koj tsis tuaj yeem pom cov ntawv cim npe zoo li no, txheeb xyuas cov ntawv teev npe ntawm lub microcontroller nti ntawm lub vev xaib. Kuv tau ntxiv daim duab pinout ntawm qee qhov nrov Atmega microcontroller ICs saum toj no. Kuv lub AVR pawg thawj coj muaj Atmega 8a ntawm nws. Tsis tas li, txhua tus lej tseem ceeb ntawm lub rooj tsavxwm tau sau npe. Nco ntsoov tias koj tsis siv cov xaim xaim thiab flimsy.
Kauj Ruam 4: Hlawv Bootloader ntawm AVR Board
Mus Rau Cov Cuab Yeej> Boards> Xaiv Arduino NG lossis laus dua. Tom qab ntawd mus rau cov cuab yeej> Tus Txheej Txheem thiab xaiv ib qho tam sim no ntawm koj pawg AVR. Mus rau Cov Cuab Yeej> Programmer thiab xaiv Arduino ua ISP. Tam sim no mus rau Cov Cuab Yeej dua thiab tom qab ntawd nyem rau 'Hlawv Bootloader'. RX thiab TX LEDs ntawm Arduino pawg thawj coj yuav tsum nyem nrawm ob peb zaug thiab yog cov lus tshwm, hais tias 'Ua kom hlawv bootloader' tsis muaj qhov ua yuam kev, tom qab ntawd koj lub AVR board tau npaj los npaj!
Kauj Ruam 5: Kuaj AVR Board
Tshaj tawm txoj haujlwm yooj yim, xws li LED ntsais muag. Mus Rau Cov Ntaub Ntawv> Piv txwv> Hauv paus> Blink. Tuav tus yuam sij ua haujlwm thiab nyem rau ntawm Upload khawm. Tom qab rub tawm tiav, koj tuaj yeem tshem cov xov txuas thiab txuas koj lub AVR lub rooj tsavxwm thiab ntsuas seb nws puas tau ua haujlwm kom raug.
Kauj Ruam 6: Nws Ua tiav
Tam sim no koj tuaj yeem siv AVR pawg thawj coj los ua cov phiaj xwm hluav taws xob txias. Txij li thaum kuv nyiam tus qauv kev tsheb ciav hlau, Kuv tau tshaj tawm txoj haujlwm yooj yim kom khiav lub tsheb ciav hlau ntawm tus qauv siv tshuab. Txij li thaum kuv lub rooj tsav xwm AVR muaj ob lub cav tso tawm, kuv tuaj yeem siv lawv los tswj lub tsheb ciav hlau thiab cov neeg tawm mus. Cov ntaub ntawv txheej txheem ntawm tus lej no tuaj yeem nrhiav pom hauv cov kauj ruam tom ntej. Yog tias koj xav tau, koj tuaj yeem tshawb xyuas kuv ib yam.
Kuv xav paub tias koj tau ua dab tsi hnub no nrog nws. Txhua yam zoo tshaj plaws!
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 Upload C Code rau ِ AVR Siv Arduino Uno Raws Li Tus Kws Ua Haujlwm: 6 Kauj Ruam
Yuav Ua Li Cas Upload C Code rau ِ AVR Siv Arduino Uno Raws Li Tus Kws Ua Haujlwm: HI txhua tus: D Ntawm no kuv yuav qhia txoj hauv kev yooj yim rau kev teeb tsa ib qho AVR nti siv Arduino Uno R3 Txhua yam koj xav tau txhawm rau hlawv tus lej rau koj lub microcontroller yog Arduino Uno es tsis txhob siv tshwj xeeb programmer uas raug nqi ntau
Rotary Encoder: Nws Ua Haujlwm Li Cas thiab Yuav Siv Li Cas Nrog Arduino: 7 Cov Kauj Ruam
Rotary Encoder: Nws Ua Haujlwm Li Cas thiab Yuav Siv Li Cas Nrog Arduino: Koj tuaj yeem nyeem qhov no thiab lwm yam kev qhia zoo ntawm ElectroPeak lub vev xaib raug cai Ua ntej, koj yuav pom qee cov ntaub ntawv hais txog kev hloov pauv tus lej, thiab tom qab ntawd koj yuav kawm paub yuav ua li cas
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 Txheeb Xyuas Li Cas Yog Game Yuav Ua Haujlwm Hauv Koj Lub Computer Ua Ntej Koj Yuav Game: 4 Kauj Ruam
Yuav Txheeb Xyuas Li Cas Yog Game Yuav Ua Haujlwm Hauv Koj Lub Computer Ua Ntej Koj Yuav Game: Kuv tsis ntev los no tau txais Hu ntawm Duty 4 los ntawm tus phooj ywg (pub dawb kuv yuav ntxiv) vim tias yuav tsis khiav hauv nws lub computer. Zoo, nws lub khoos phis tawj yog qhov tshiab haum, thiab nws tsis txaus ntseeg kuv vim li cas nws yuav tsis khiav. Yog li tom qab ob peb teev ntawm kev tshawb nrhiav hauv internet, Kuv tau hla