Cov txheej txheem:

Yuav Ua Li Cas Hlawv Bootloader Rau Atmega328p-AU (SMD): 5 Kauj Ruam
Yuav Ua Li Cas Hlawv Bootloader Rau Atmega328p-AU (SMD): 5 Kauj Ruam

Video: Yuav Ua Li Cas Hlawv Bootloader Rau Atmega328p-AU (SMD): 5 Kauj Ruam

Video: Yuav Ua Li Cas Hlawv Bootloader Rau Atmega328p-AU (SMD): 5 Kauj Ruam
Video: Samsung j2prime bypass qhia daws xov tooj 2024, Hlis ntuj nqeg
Anonim
Yuav ua li cas hlawv Bootloader rau Atmega328p-AU (SMD)
Yuav ua li cas hlawv Bootloader rau Atmega328p-AU (SMD)

Nyob Zoo Sawv Daws !!

Hauv Cov Lus Qhia no Kuv yuav Qhia koj Yuav ua li cas hlawv Bootloader ontp Atmega328p-AU (SMD) nti thiab Yuav ua li cas thiaj ua Arduino NANO txij thaum pib kom tiav.

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 Boot-loader 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 Yuav Tsum Tau

Cov Khoom Yuav Tsum Tau
Cov Khoom Yuav Tsum Tau
Cov Khoom Yuav Tsum Tau
Cov Khoom Yuav Tsum Tau
Cov Khoom Yuav Tsum Tau
Cov Khoom Yuav Tsum Tau

Atmega328P-AU Chip

CP2102 USB rau TTL Module (lossis zoo ib yam li CH340)

Arduino NCO

Jumper Hlau

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

Circuit Diagram thiab Ua Circuit Board
Circuit Diagram thiab Ua Circuit Board
Circuit Diagram thiab Ua Circuit Board
Circuit Diagram thiab Ua Circuit Board
Circuit Diagram thiab Ua Circuit Board
Circuit Diagram thiab Ua Circuit Board
Circuit Diagram thiab Ua Circuit Board
Circuit Diagram thiab Ua Circuit Board

Daim duab kos Circuit Court thiab PCB txheej txheem tau rub los ntawm Arduino Lub Vev Xaib. Tom qab ntawd kuv hloov kho me ntsis raws li txhua yam khoom siv hauv thawj lub rooj tsavxwm tsis muaj nrog kuv. Kuv xaj Circuit Board hauv online.

Thaum tau txais PCB, Kuv tau siv kuv lub tshuab cua tshuab cua tshuab cua sov los txhawm rau txhawm rau txhawm rau cov khoom siv thiab ICs. Cov duab ntawm pawg thawj coj ua tiav tau txuas nrog.

Kuv tsis tau piav qhia cov txheej txheem txheej txheem tam sim no vim nws yog lub ncauj lus ntawm kev nthuav dav rau kev qhia sib txawv. Kuv Thov siv cov tshuaj txhuam lo rau ntawm PCB siv stencil, Muab cov khoom sib txuas, thiab siv cov tshuab cua kub cua tshuab.

Kauj Ruam 3: Kev Sib Txuas thiab Txheej Txheem Hlawv Bootloader

Kev sib txuas thiab txheej txheem kom hlawv Bootloader
Kev sib txuas thiab txheej txheem kom hlawv Bootloader
Kev sib txuas thiab txheej txheem kom hlawv Bootloader
Kev sib txuas thiab txheej txheem kom hlawv Bootloader
Kev sib txuas thiab txheej txheem kom hlawv Bootloader
Kev sib txuas thiab txheej txheem kom 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

Kev Xeem los ntawm Kev Tshaj Tawm Txoj Cai
Kev Xeem los ntawm Kev Tshaj Tawm Txoj Cai
Kev Xeem los ntawm Kev Tshaj Tawm Txoj Cai
Kev Xeem los ntawm Kev Tshaj Tawm Txoj Cai
Kev Xeem los ntawm Kev Tshaj Tawm Txoj Cai
Kev 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: Troubleshoot and Finishing

Troubleshoot thiab Tiav
Troubleshoot thiab Tiav

Peb tau ua tiav kev ua tiav Arduino Nano. Tseem muaj txoj hauv kev rau qhov yuam kev tshwm sim. Nov yog cov npe ntawm yam uas koj tuaj yeem ua los kho qhov tsis raug.

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.

Ua tsaug

HS SANDESH HEGDE

Pom zoo: