Cov txheej txheem:
- Kauj ruam 1: Upload ArduinoISP Code hauv Arduino UNO
- Kauj Ruam 2: Ua Kev Txhim Kho Breadboard rau ATmega328P
- Kauj ruam 3: Hlawv Bootloader
- Kauj Ruam 4: Tshaj Tawm Koj Txoj Cai rau ATmega328P
Video: Shrinkify Koj Cov Haujlwm Arduino - Arduino UNO Raws li ATmega328P Programmer (https://youtu.be/YO61YCaC9DY): 4 Kauj Ruam
2024 Tus sau: John Day | [email protected]. Kawg hloov kho: 2024-01-30 09:26
Link Video:
Programme ATmega328P siv Arduino ua ISP (Hauv-System Programmer) tso cai rau koj siv Arduino cov yam ntxwv ntawm lub khob cij lossis PCB. Nws feem ntau pab thaum koj tab tom ua koj txoj haujlwm hauv tsev kawm qib siab. Nws txo tus nqi ntawm txoj haujlwm thiab qhov loj ib yam. Yog li yooj yim ua qhov kev sim ntawm Arduino thiab ua tiav txoj haujlwm ntawm ATmega328P. Programming ATmega328P siv Arduino ua ISP nws tsuas yog siv ob peb kauj ruam. Ua ntej pib mus rau qhov program koj yuav tsum paub dab tsi yog Bootloader.
Lub bootloader hauv Arduino/ATmega328P: Lub bootloader yog cov duab kos uas tau teeb tsa rau hauv qhov programmable flash memory ntawm Arduino/ATmega328P (thiab nyob 4380 bytes tawm ntawm 32KBytes). Nws yog qhov sib txawv ntawm Arduino ATmega328P thiab lub Hoobkas qub Atmega328P. Arduino bootloader khiav thaum lub rooj tsav xwm tau qhib ON (lossis thaum peb nias lub pob pib dua). Lub bootloader no pib tos rau qhov kos duab tshiab ntawm qhov chaw nres nkoj txuas los ntawm Arduino IDE, yog tias nws tau txais qee yam, daim duab tshiab tau hlawv mus rau hauv lub cim xeeb flash lossis lwm yam nws sau cov duab uas tau hlawv yav dhau los. Feem ntau Arduino microcontrollers muaj lub luag haujlwm pib rov pib dua uas tso cai rau Arduino IDE rov pib dua thiab xa cov lej. Lub bootloader yuav tsum nkag siab dab tsi Arduino IDE xa thiab sau nws mus rau lub cim xeeb nyem ntawm lub microcontroller. Txhawm rau hlawv cov lej ntawm Atmega328P yam tsis muaj Arduino bootloader, koj yuav xav tau ISP programmer xws li AVR ISP.
Yog li ntawm no peb yuav pib hlawv lub bootloader rau tshiab yuav ATmega328P thiab tom qab ntawd siv Arduino ua ISP txhawm rau hlawv qhov xav tau kos duab hauv ATmega328P.
Arduino - Bootloader
Arduino - Ib puag ncig
Cov kauj ruam los siv Arduino UNO Raws li ATmega328P Programmer:
Kauj ruam 1: Upload ArduinoISP code hauv Arduino UNO.
Kauj Ruam 2: Ua kom yooj yim teeb tsa lub rooj rau ATmega328P.
Kauj ruam 3: Hlawv Bootloader.
Kauj ruam 4: Xa koj cov cai rau ATmega328P.
Kauj ruam 1: Upload ArduinoISP Code hauv Arduino UNO
ArduinoISP yog daim duab kos uas ua haujlwm zoo li bootloader kos duab tom qab hlawv nws mus rau hauv lub cim xeeb flash ntawm ATmega328P. Ua ntej tshaj plaws, txheeb xyuas qhov teeb tsa raws li hauv qab no:
Pawg thawj coj: "Arduino/Genuino Uno"
PORT: "COM2" // Koj li yuav txawv
Programmer: "AVRISP mkII"
Tom qab ntawd mus rau Cov Ntaub Ntawv> Piv Txwv> ArduinoISP> ArduinoISPA thiab xa nws mus rau Arduino Uno.
Kauj Ruam 2: Ua Kev Txhim Kho Breadboard rau ATmega328P
Saum toj no yog kev teeb tsa yooj yim ntawm ATmega328P kom ua haujlwm tau zoo. Tom qab teeb tsa lub khob cij, nws yog lub sijhawm los txuas nrog chav ua mov ci no nrog Arduino. Tam sim no ua raws qhov txuas txuas saum toj no hauv daim duab los txuas rau Arduino thiab cov khoom siv hluav taws xob.
Kauj ruam 3: Hlawv Bootloader
Vam tias koj tau nkag siab txog kev siv hlawv bootloader. Peb yuav tsum tau hlawv bootloader nkaus xwb thiab tom qab ntawd program ATmega328P ntau npaum li koj xav tau yam tsis tau hlawv bootloader dua. Tam sim no nws yog lub sijhawm los hlawv lub bootloader. Hloov kho cov cuab yeej teeb tsa raws li qhia hauv daim duab thiab tom qab ntawd hlawv Bootloader.
Kauj Ruam 4: Tshaj Tawm Koj Txoj Cai rau ATmega328P
Qhib cov cai koj xav rub tawm.
Khaws cov cuab yeej teeb tsa ib yam ib yam ntawm cov txheej txheem hlawv bootloader.
Tam sim no xa cov cai rau ATmega328P los ntawm kev siv "Ua haujlwm + Upload".
Yog li qhov no yog li cas koj tuaj yeem Program ATmega328P siv Arduino Uno. Yog tias koj muaj kev tsis ntseeg, thov nug hauv nqe lus.
Rub tawm:
Cov ntaub ntawv ATmega328P
Yuav:
ATmega328P los ntawm Amazon Is Nrias teb:
Arduino Uno Original los ntawm Amazon Is Nrias teb:
Tus nqi qis Arduino Uno los ntawm Amazon Is Nrias teb:
Pom zoo:
Tau Txais Email Cov Lus Ceeb Toom Los Ntawm Koj Cov Haujlwm IoT: 6 Cov Kauj Ruam
Tau Txais Email Cov Lus Ceeb Toom Los Ntawm Koj Txoj Haujlwm IoT: Txoj haujlwm email ceeb toom txuas koj li IoT cov haujlwm rau Adafruit IO thiab IFTTT.Kuv tau tshaj tawm qee qhov haujlwm IoT. Kuv vam tias koj tau pom lawv, Yog tias tsis yog kuv caw koj mus rau kuv qhov profile thiab txheeb xyuas lawv.Kuv xav tau txais qee qhov kev ceeb toom thaum muaj qhov txawv txav
Ultrasonics Raws Txoj Haujlwm Txoj Haujlwm: 4 Kauj Ruam (nrog Duab)
Ultrasonics Raws Qhov Txheej Txheem: Txhua qhov hloov pauv ntawm ultrasonic radars Kuv tau pom rau cov khoom siv arduino (Arduino - Radar/Ultrasonic Detector, Arduino Ultrasonic Radar Project) zoo heev radars tab sis txhua tus ntawm lawv yog "dig muag". Kuv txhais tau tias, lub radar pom qee yam tab sis kuv
Yuav Ua Li Cas Tau Txais Cov Nkauj Los Ntawm Txhua Qhov (Haha) Lub Vev Xaib (Ntev Li Koj Tau hnov Nws Koj Yuav Tau Txais Nws Ok Zoo Yog Nws Tau Ntxig Hauv Flash Koj Yuav Tsis Muaj Peev Xwm) EDITED !!!!! Ntxiv Info: 4 Cov Kauj Ruam
Yuav Ua Li Cas Tau Txais Cov Nkauj Los Ntawm Txhua Qhov (Haha) Lub Vev Xaib (Ntev Li Koj Tau hnov Nws Koj Yuav Tau Txais Nws … Ok Zoo Yog Nws Tau Ntxig Hauv Flash Koj Yuav Tsis Muaj Peev Xwm) EDITED !!!!! Ntxiv Cov Lus Qhia: yog tias koj tau mus rau lub vev xaib thiab nws ua nkauj nkauj uas koj nyiam thiab xav tau nws ntawm no yog cov lus qhia rau koj tsis yog kuv qhov txhaum yog tias koj cuam tshuam qee yam (tsuas yog txoj hauv kev nws yuav tshwm sim yog tias koj pib tshem cov khoom yam tsis muaj laj thawj. ) Kuv tuaj yeem tau txais cov nkauj rau
Xibtes Os Ntaus Ntawv Ua Haujlwm Raws Li LCD Cov Zaub Qhia. (tam sim no nrog cov duab!): 4 Cov Kauj Ruam
Xibtes Os Ntaus Ntawv Ua Haujlwm Raws Li LCD Cov Zaub Qhia. (tam sim no nrog Cov Duab!): Kab lus no yog txhua yam hais txog yuav siv koj lub xib teg OS li cas los ua kom pom cov xwm txheej LCD rau koj lub khoos phis tawj! Koj tuaj yeem tso saib cov kab ke stats (xws li: CPU teeb duab nraub qaum, CPU kub, tsis muaj chaw seem disk), ceeb toom xov xwm, ntsuas ntsuas ntsuas, WinAmp teeb duab, thiab lwm yam
Recycling Koj Tus Qub Dimmer Hloov Raws Li Kev Hloov Kub Txias rau Koj Cov Hluav Taws Xob: 7 Kauj Ruam
Recycling Koj Li qub Dimmer Hloov Raws Li Kev Hloov Kub Kub rau Koj Cov Hluav Taws Xob: Kuv tau pom ntau tus kws tshaj lij kev ntsuas kub sib txawv rau cov hlau txuas, tab sis kim heev. Yog li kuv ua ib qho tawm ntawm qhov qub dimmer hloov, qhov hluav taws xob, phaj loj thiab ntsaws uas twb tau khoob thiab qee qhov qub PVC hloov lub thawv uas tuaj nrog nws thiab yog li