Cov txheej txheem:
- Kauj Ruam 1: Cov Khoom Npe
- Kauj Ruam 2: Daim Duab Circuit Court thiab Ua Lub Rooj Tsav Xwm
- Kauj Ruam 3: Kev Sib Txuas thiab Txheej Txheem Hlawv Bootloader
- Kauj Ruam 4: Xeem los ntawm Kev Tshaj Tawm Txoj Cai
- Kauj ruam 5: Troubleshooting
Video: YUAV UA LI CAS UA ARDUINO NANO/MINI - Yuav Ua Li Cas Hlawv Bootloader: 5 Kauj Ruam
2024 Tus sau: John Day | [email protected]. Kawg hloov kho: 2024-01-30 09:28
Hauv Cov Lus Qhia no Kuv yuav Qhia Koj Yuav Ua Li Cas Ua Arduino MINI los ntawm Kos.
Cov txheej txheem sau rau hauv cov lus qhia no tuaj yeem siv los ua cov laug cam rau koj li kev xav tau ntawm txoj haujlwm.
Thov Saib Cov Video Kom nkag siab zoo
Muaj peb ntu hauv qhov kev qhia no
1. Tsim thiab sib sau tag nrho cov Cheebtsam
2. Hlawv Bootloader mus rau Chip tshiab
3. Uploading Test Code
Kuv Tau Txuas Cov Ntaub Ntawv PCB tom kawg ntawm kab lus no.
Yog li cia peb Pib!
Kauj Ruam 1: Cov Khoom Npe
- CP2102 USB rau TTL Module (lossis zoo ib yam li CH340)
- Arduino NCO
- Jumper Hlau
- Atmega328P-AU Chip
- AMS1117 5V Regulator
- 16 MHz Crystal
- SMD LED teeb
- SMD Resistor (330R, 10K) (0604 pob)
- Khawm Hloov
- Cov Capacitors (0.1uF, 22pF, 10uF) (Kuv Siv Hom Ceramic, tab sis pawg thawj coj tau tsim los rau SMD_0612 Pob)
- Terminal Sawb
- Txhua yam cuab yeej thiab khoom siv ntxiv rau SMD Soldeing.
Kauj Ruam 2: Daim Duab Circuit Court thiab Ua Lub Rooj Tsav Xwm
Kuv tau ua Arduino MINI board hauv kuv li SMD Soldering qhia. Koj tuaj yeem tshawb xyuas cov vis dis aus yog tias koj xav kawm paub yuav ua li cas.
Rov ua dua… Kuv tau siv cov tshuaj txhuam lo rau ntawm PCB siv stencil, Muab cov khoom sib txuas, thiab siv cov khoom siv Kub Cua Tshuab.
Kuv tau siv qhov qhib Qhov Chaw Arduino PCB Cov Ntaub Ntawv los ntawm Arduino Lub Vev Xaib thiab hloov kho me ntsis raws li kuv xav tau thiab muaj ntu. Tom qab ntawd kuv xaj PCB Online los ntawm JLCPCB.
Kauj Ruam 3: Kev Sib Txuas thiab Txheej Txheem Hlawv Bootloader
Thov Ua Raws Li Cov Lus Sib Txuas (Xa Cov Duab/Video txuas Kom nkag siab yooj yim*)
Homemade ArduinoMINI …………….. Arduino NANO
Pin 15 (MOSI) ………………………………. D11
Pin 16 (MISO) ………………………………. D12
Pin 17 (SCK) ………………………………… D13
Pin 29 (RESET) …………………………….. D10
VCC ……………………………………………. VCC (5V)
NCO …………………………………………………………………
Cov Txheej Txheem Txhawm rau hlawv Boot loader tom qab ua qhov sib txuas raug.
1) Txuas Arduino NANO rau USB ntawm koj lub PC
2) Xaiv lub Rooj Tswjhwm Saib tsim nyog thiab Com Port
3) Hauv cov cuab yeej ntawv qhia zaub mov xaiv ARDUINO AS ISP Programmer. Txoj hauv kev: Cov cuab yeej> Programmer> Arduino Raws li ISP
4) Mus rau Cov Cuab Yeej thiab xaiv Hlawv Boot Loader. Txoj hauv kev: Cuab Yeej> Hlawv Boot Loader
5) Qhov no yuav siv sijhawm txog ib pliag thiab cov lus "Ua Tiav Hlawv Boot Loader" yuav tshwm.
Tom qab qhov no koj tuaj yeem tshem tag nrho cov xov txuas thiab txuas thiab koj tus AVR Micro-Controller tshiab tau npaj los siv ua khoom siv ib leeg rau koj cov haujlwm.
*Txhua daim duab yog ua raws li txheej txheem
Kauj Ruam 4: Xeem los ntawm Kev Tshaj Tawm Txoj Cai
Hauv qib no peb yuav kawm upload cov cai mus rau Homemade Arduino MINI tshiab. Koj Yuav tsum tau ua raws cov txheej txheem no txhua lub sijhawm kom xa cov cai.
Xa cov Duab/vis dis aus txuas rau kev nkag siab yooj yim.
Kuv yuav tso lub ntsej muag ntsais muag LED coj los sim yog tias tus tswj hwm micro tshiab ua haujlwm tau zoo.
Cov Lus Qhia Sib Txuas:
Ua Tsev Arduino MINI …………….. CP2102
Rx ………………………………………………………… Txs
Tx …………………………………………………………. Rx
VCC ……………………………………………. VCC (5V)
NCO …………………………………………………………………
1. Tom qab ua qhov txuas, Txuas USB rau TTL Converter Board (CP2102) rau koj lub Computer.
2. Qhib Blink LED Sketch los ntawm Cov Piv Txwv Ntawv Qhia.
3. Hauv cov cuab yeej ntawv qhia zaub mov, xaiv AVRISP programmer thiab xa cov cai.
4. Xaiv qhov tsim nyog COM chaw nres nkoj thiab Pawg Chaw.
5. Thaum lub khoos phis tawj tshuaj ntsuam pom tias rub tawm, nias lub pob pib dua vim peb tsis txuas nrog DTR Pin kom rov pib dua.
Lub Teeb Tsoo LED qhia tias lub micro tswj tau ua haujlwm kom raug, thiab Arduino Mini board sib npaug tuaj yeem siv rau koj cov phiaj xwm. Yog li peb tau kawm paub yuav ua li cas rau khau raj-thauj khoom tshiab ATMEGA 328P-AU nti.
Kauj ruam 5: Troubleshooting
Los ntawm ua raws cov txheej txheem los ntawm cov kauj ruam dhau los koj tuaj yeem yooj yim koj tuaj yeem yooj yim khau raj-thauj khoom Atmega nti.
Tab sis vim qee qhov software lossis tib neeg yuam kev nws yuav dhau los ua tsis tiav. Nov yog qee cov lus qhia los ntawm kuv:
1) Txheeb xyuas koj cov Circuit sib txuas thiab cov khoom siv (feem ntau yog Crystal) yog tias hlawv Boot loader tsis ua haujlwm.
2) Nco ntsoov tias koj tau hais txog lub rooj tsavxwm raug thiab COM chaw nres nkoj hauv software
3) Txheeb xyuas qhov ua tsis raug USB Cable.
4) Yog tias Micro Controller kub dua thaum siv zog tej zaum koj muaj IC tsis raug.
5) Txheeb xyuas txuas ntxiv hauv PCB thiab cov laug tsis xav tau txuas thaum peb siv SMD Cheebtsam.
Pom zoo:
Hlawv Bootloader Rau Hauv Arduino Nano 3.0 Clone Board: 11 Kauj Ruam
Hlawv Bootloader Rau Hauv Arduino Nano 3.0 Clone Board: tsis ntev los no tau yuav Arduino Nano 3.0 Clone los ntawm AliExpress uas tuaj tsis muaj bootloader. Kuv paub tseeb tias muaj ntau tus neeg uas nyob hauv tib qhov xwm txheej zoo ib yam li kuv, thiab tej zaum yuav ua rau kuv npau taws me ntsis thaum xub thawj! Tsis txhob txhawj xeeb, hauv phau ntawv qhia no
Hlawv Cov Khaub Ncaws Zoo Nkauj: 8 Kauj Ruam
Hlawv Cov Khaub Ncaws Zoo Nkauj: nyob zoo!, Lub sijhawm no kuv yuav qhia qhia kev hlawv cov kua nplaum zoo nkauj uas siv arduino, kua nplaum, duab los qhia, kab xev, thiab cov yeeb nkab acrylic
Arduino Raws li ISP -- Hlawv Hex Cov Ntaub Ntawv hauv AVR -- Fuse hauv AVR -- Arduino Raws li Programmer: 10 Kauj Ruam
Arduino Raws li ISP || Hlawv Hex Cov Ntaub Ntawv hauv AVR || Fuse hauv AVR || Arduino As Programmer: ……………………… Please SUBSCRIBE To my YouTube channel for more videos …….. Kab lus no yog txhua yam hais txog arduino li isp. Yog tias koj xav xa cov ntawv hex lossis yog tias koj xav teeb tsa koj lub fuse hauv AVR ces koj tsis tas yuav yuav tus programmer, koj tuaj yeem ua
Atmega328P-PU Bootloader (Optiboot) Hlawv Qhia: 12 Cov Kauj Ruam
Atmega328P-PU Bootloader (Optiboot) Hlawv Qhia: Tsis tau lwm qhov Atmega bootloader hlawv giude. Tab sis lub sijhawm no kuv twv thawj qhov kev sim koj yuav ua tiav !! Qhov no yog Nick Gammons bootloader hlawv qhia rau Arduino boards
Hlawv LED: 4 Kauj Ruam
Hlawv LED: nyob zoo cov neeg! lub sijhawm no kuv xav qhia qhov tshwm sim ntawm kuv qhov project, piv txwv li coj kev siv zog. coj kev siv yog ib qho xwm txheej uas qhov kev siv ntawm LED hloov pauv txhua 200 milliseconds. ua tus nqi ntawm LEDs sib txawv kom cov LEDs zoo li cov khoom hlawv