Cov txheej txheem:
- Khoom siv
- Kauj ruam 1: Arduino ISP
- Kauj Ruam 2: Nrhiav Daim Ntawv Teev Npe rau Koj AVR thiab Txheeb Tus Pin
- Kauj Ruam 3: Txuas Arduino rau AVR
- Kauj Ruam 4: Tau Txais Koj Lub Fuse Teeb thiab AVRDUDE APP
- Kauj Ruam 5: Tau Txais Koj Cov Ntaub Ntawv HEX Los Ntawm Koj Li C Code
- Kauj Ruam 6: Qhov Kawg
Video: Yuav Ua Li Cas Upload C Code rau ِ AVR Siv Arduino Uno Raws Li Tus Kws Ua Haujlwm: 6 Kauj Ruam
2024 Tus sau: John Day | [email protected]. Kawg hloov kho: 2024-01-30 09:26
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 los hlawv cov cai rau koj lub microcontroller yog Arduino Uno es tsis txhob yuav cov programmer tshwj xeeb uas raug nqi ntau.
Khoom siv
Koj yuav xav tau:
- Arduino uno r3 nrog nti tshem tau (1)
- Jumper xov hlau
- 10uF electrolyte capacitor (1)
- Hex cov ntaub ntawv tsim los ntawm koj li C code
Kauj ruam 1: Arduino ISP
Ua ntej: qhib koj Arduino IDE thiab xa Arduino ISP rau hauv koj Arduino
koj tuaj yeem pom nws hauv File -> Piv txwv
Ua ntej nias tus yuam sij upload koj yuav tsum txheeb xyuas Pawg Thawj Coj thiab chaw nres nkoj COM.
NCO TSEG: cov cai no yuav tig koj Arduino rau tus programmer!
Kauj Ruam 2: Nrhiav Daim Ntawv Teev Npe rau Koj AVR thiab Txheeb Tus Pin
Tus Pin 1 yog tus pin uas muaj qhov me me nyob ze nws
peb xav tau (VCC, GND, Pib dua, UCSK, MISO, MOSI) nrhiav lawv hauv koj AVR.
Kauj Ruam 3: Txuas Arduino rau AVR
txuas Arduino rau AVR raws li Daim Duab thiab koj cov ntaub ntawv AVR
thiab tsis txhob hnov qab txuas tus 10uF capacitor nruab nrab ntawm GND ib qho RST ntawm koj Arduino rau kev xiam qhov pib pib dua ntawm Arduino
Kauj Ruam 4: Tau Txais Koj Lub Fuse Teeb thiab AVRDUDE APP
mus rau
www.engbedded.com/fusecalc/
thiab xaiv koj AVR, kuv yog Atmega16
Kuv yuav tsis hloov dab tsi yog li kuv tsis rhuav kuv AVR, tab sis kuv yuav hloov sab hauv RC mus rau 8 MHZ "Koj tuaj yeem xaiv sab nraud 16 MHZ siv lead ua" nws nyob ntawm koj.
scroll down thiab luam avrdude kev sib cav
muab nws tso rau hauv AVRDUDE programe.
kuv yog
-U lfuse: w: 0xe4: m -U huse: w: 0x99: m
AVEDUDE download link:
download.savannah.gnu.org/releases/avrdude/
tom qab ntawd qhib nws thiab hloov chaw teeb tsa zoo li cov duab thiab nyob ntawm koj lub khoos phis tawj thiab tsis txhob hnov qab muab cov fuse teeb tsa tso rau hauv kab lus hais ntxiv
Kauj Ruam 5: Tau Txais Koj Cov Ntaub Ntawv HEX Los Ntawm Koj Li C Code
Kuv yuav sau tus lej c yooj yim rau ntsais LED hauv tus lej 20
upload cov ntaub ntawv hex rau avrdude hauv Flash ntu thiab ntaus qhov program
Kauj Ruam 6: Qhov Kawg
Rau txhua lo lus nug tawm hauv qab no
Pom zoo:
Yuav Ua Li Cas Upload Txoj Haujlwm Arduino Pro Mini 328P los ntawm Kev Siv Arduino Uno: 6 Kauj Ruam
Yuav Ua Li Cas Txhim Kho Qhov Txheej Txheem Arduino Pro Mini 328P los ntawm Kev Siv Arduino Uno: Arduino Pro Mini yog lub chipboard me tshaj plaws uas muaj 14 I/O pins, nws ua haujlwm hauv 3.3 volts - 5 volts DC thiab yooj yim rau upload cov cai hauv lub tshuab ntaus ntawv. digital input/output ports RX, TX, D2 ~ D13, 8 analog input ports A0 ~ A7 1
ARUPI - Tus Nqi Tus Nqi Tus Nqi Uas Tau Txais Tus Nqi Uas Tau Txais Tus Nqi/Tus Kheej Tus Kheej (ARU) rau Soundscape Ecologists: 8 Kauj Ruam (nrog Duab)
ARUPI - Tus Nqi Tus Nqi Uas Tau Txais Tus Nqi Tus Nqi Uas Tau Txais Tus Nqi/Tus Kheej Tus Kheej (ARU) rau Soundscape Ecologists: Cov lus qhia no tau sau los ntawm Anthony Turner. Txoj haujlwm tau tsim los nrog ntau qhov kev pab los ntawm Shed hauv Tsev Kawm Ntawv ntawm Kev Suav, University of Kent (Mr Daniel Knox tau pab zoo!)
Yuav Tsim Li Cas 2d Tus Cwj Pwm Nrog Tus Cwj Pwm Tus Cwj Pwm hauv Unreal Engine 4 Siv Cov Ntawv Pom Zoo rau PC: 11 Kauj Ruam
Yuav Ua Li Cas Tsim Tus 2d Tus Cwj Pwm Nrog Tus Tswj Tus Cwj Pwm hauv Unreal Engine 4 Siv Cov Ntawv Pom Zoo rau PC: Yuav ua li cas los tsim 2d Tus Cwj Pwm nrog tus cwj pwm tswj hauv Unreal cav 4 siv cov ntawv pom rau PC Nyob zoo, Kuv yog Jordan Steltz. Kuv tau tsim kho cov vis dis aus ua si txij li thaum kuv muaj 15. Phau ntawv qhia no yuav qhia koj li cas los tsim tus yam ntxwv yooj yim nrog rau hauv
Yuav Ua Li Cas Upload Txoj Haujlwm lossis Txoj Cai Rau Hauv Arduino Pro Mini los ntawm Kev Siv CH340 UART Serial Converter Cable: 4 Cov Kauj Ruam
Yuav Ua Li Cas Txhim Kho Txoj Haujlwm lossis Txoj Cai Rau Hauv Arduino Pro Mini los ntawm Kev Siv CH340 UART Serial Converter Cable: USB TTL Cov lej txuas yog ntau yam ntawm USB rau txuas txuas txuas txuas uas muab kev sib txuas ntawm USB thiab txuas UART cuam tshuam. Ntau cov kab hluav taws xob tau muaj kev sib txuas ntawm 5 volts, 3.3 volts lossis cov neeg siv tau teev tseg cov teeb liab theem wi
Yuav ua li cas thiaj hais kom sai rau ntawm lub khoos phis tawj uas nws tau xauv, thiab Nkag mus rau Tus Thawj Coj Tus Kheej Tus Kheej: 3 Kauj Ruam
Yuav ua li cas kom hais kom sai rau ntawm lub khoos phis tawj uas nws tau xauv, thiab Nkag mus rau Tus Thawj Tswj Password: Lub npe hais nws txhua. Cov lus qhia no yuav qhia koj yuav ua li cas khiav CMD (Command Prompt) thiab hloov tus password