Cov txheej txheem:

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 Raws li Programmer: 10 Kauj Ruam

Video: Arduino Raws li ISP -- Hlawv Hex Cov Ntaub Ntawv hauv AVR -- Fuse hauv AVR -- Arduino Raws li Programmer: 10 Kauj Ruam

Video: Arduino Raws li ISP -- Hlawv Hex Cov Ntaub Ntawv hauv AVR -- Fuse hauv AVR -- Arduino Raws li Programmer: 10 Kauj Ruam
Video: Антикризисная замена Arduino - LGT8F328P! Дефицит полупроводников 2024, Kaum ib hlis
Anonim
Image
Image
Yuav tsum muaj
Yuav tsum muaj

………………………

Please SUBSCRIBE To my YouTube channel for more videos …… Ua tsaug ntau

Kab lus no yog txhua yam hais txog arduino li isp.

Yog tias koj xav xa cov ntawv hex lossis yog koj xav teeb koj lub fuse hauv AVR ces koj tsis tas yuav yuav tus programmer, koj tuaj yeem ua nrog arduino.

Hauv kab lus no kuv tau xa cov ntawv hex hauv atmega8 yog tias koj xav upload cov ntawv hex hauv lwm AVR ces nkag siab cov txheej txheem thiab ua raws tib theem.

……………………

Kauj ruam 1: Yuav tsum tau ua

Yuav tsum muaj
Yuav tsum muaj
Yuav tsum muaj
Yuav tsum muaj
  1. Arduino ib
  2. Qee cov xov hlau jumper
  3. Cov qhob cij
  4. Crystal oscillator (yeem yog tias koj tus tswj tau teeb tsa sab nraud oscillator)

*** yog tias koj tus tswj tsis tawm ntawm lub thawv ces tsis tas yuav txuas Crystal oscillator qhov no ****

Kauj Ruam 2: Txuas Arduino Nrog Pc

Txuas Arduino Nrog Pc
Txuas Arduino Nrog Pc
Txuas Arduino Nrog Pc
Txuas Arduino Nrog Pc
Txuas Arduino Nrog Pc
Txuas Arduino Nrog Pc
  • Txuas koj arduino nrog PC
  • Qhib arduino IDE thiab nyem rau ntawm cov cuab yeej
  • Tom qab ntawv nyem rau ntawm lub rooj tsavxwm, ntawm no xaiv arduino uno
  • Tam sim no nyem rau ntawm chaw nres nkoj hauv qab pawg thawj coj saib, ntawm no xaiv chaw nres nkoj qhov twg arduino txuas nrog.

***** kuv arduino txuas nrog ntawm COM2, nco ntsoov koj peb yuav siv nws tom qab.

Kauj ruam 3: Upload Code

Upload Code
Upload Code
Upload Code
Upload Code
Upload Code
Upload Code
  • Mus rau cov ntaub ntawv ces piv txwv
  • Nrhiav piv txwv ArduinoISP
  • Rub tawm ArduinoISP program
  • Tam sim no mus hauv cov cuab yeej thiab xaiv tus programmer "arduino as isp"

Tsis txhob yuam kev txog arduino isp thiab arduino li isp hauv programmer.

Kauj Ruam 4: Txuas Circuit Court

Txuas Circuit Court
Txuas Circuit Court
Txuas Circuit Court
Txuas Circuit Court
Txuas Circuit Court
Txuas Circuit Court
  • Ntawm no peb hlawv Hex cov ntaub ntawv thiab teeb fuse hauv Atmega8. Thov nkag siab lub tswvyim kom koj tuaj yeem hlawv cov ntaub ntawv hex hauv txhua hom avr ntawm arduino.
  • Txuas lub Circuit Court raws li tau hais hauv daim duab.
  • Crystal oscillator yog xaiv tau yog tias koj Avr tau teeb tsa rau sab nraud fuse, yog AVR tawm ntawm lub thawv ces tsis tas yuav txuas qhov no.

Kauj Ruam 5: Pin Out To taub

Pin Out To taub
Pin Out To taub
Pin Out To taub
Pin Out To taub
Pin Out To taub
Pin Out To taub
Pin Out To taub
Pin Out To taub
  • Raws li koj tuaj yeem pom hauv thawj daim duab muaj MISO, MOSI THIAB SCK tus pin, uas peb yuav txuas rau feem 13, 12, 11 tus pin ntawm arduino.
  • Raws li koj tuaj yeem pom hauv daim duab thib ob muaj Pib dua tus pin uas peb yuav txuas rau tus lej 10 ntawm arduino.
  • Hauv daim duab thib peb koj tuaj yeem pom VCC, AVCC thiab GND tus pin, txuas AVCC thiab VCC mus rau 5v ntawm arduino, GND rau GND ntawm arduino.

Kauj ruam 6: Rub tawm Zip File

Rub tawm Zip File
Rub tawm Zip File
  • Rub tawm cov ntawv zip muab hauv qab no
  • Extract zip ntaub ntawv

Daim iav Github:

codeload.github.com/vishalsoniindia/Arduin…

Kauj Ruam 7: Nrhiav Koj Tus Tswj Cov Cai

Nrhiav Koj Cov Cai Tswj
Nrhiav Koj Cov Cai Tswj
Nrhiav Koj Cov Cai Tswj
Nrhiav Koj Cov Cai Tswj
Nrhiav Koj Cov Cai Tswj
Nrhiav Koj Cov Cai Tswj
Nrhiav Koj Cov Cai Tswj
Nrhiav Koj Cov Cai Tswj

Muab tshuaj txhuam koj cov ntawv Hex hauv tib daim nplaub tshev uas peb tau rub tawm, qhov twg koj tuaj yeem pom cmd.txt ntawv.

  • Qhib cmd.txt ntawv hauv nplaub tshev
  • Luam thawj kab uas yog "avrdude -c arduino -b 19200 -p xyz"
  • Ntaus cmd nyob rau sab saum toj ntawm koj lub pc raws li qhia hauv duab.
  • Ntawm no qhov hais kom ua davhlau ya nyob twg tau qhib
  • Muab tshuaj txhuam koj kab thiab ntaus nkag
  • Hauv daim duab kawg koj tuaj yeem pom lub npe tswj hwm thiab tus lej tswj hwm kuv yog m8 rau atmega8.

Kauj Ruam 8: Tshawb Pom Kev Tswj

Ntsuas Tswj
Ntsuas Tswj
Ntsuas Tswj
Ntsuas Tswj
Ntsuas Tswj
Ntsuas Tswj
  • Luam kab thib ob hauv cov ntawv taxt uas yog "avrdude -c arduino -b 19200 -p m8 -P COM2 -n"
  • Muab tshuaj txhuam rau hauv qhov hais kom ua davhlau ya nyob twg
  • Tam sim no hloov koj com chaw nres nkoj kuv yog COM2 qhov koj txuas nrog arduino.
  • Hloov koj tus lej tswj hwm kuv li m8.
  • Ntaus nkag.
  • Thaum koj pom qee lub cuab yeej kos npe thiab fuse ok nws txhais tau tias koj tus tswj tau raug kuaj pom.

Kauj Ruam 9: Teeb Fuse

Teeb Fuse
Teeb Fuse
  • Luam kab no uas yog "avrdude -c arduino -b 19200 -p m8 -P COM2 -U lfuse: w: 0xE2: m -U hfuse: w: 0xD9: m"
  • Yav dhau los nws hauv cov lus txib davhlau ya nyob twg.
  • Tam sim no hloov koj com chaw nres nkoj kuv yog COM2 qhov koj txuas nrog arduino.
  • Hloov koj tus lej tswj hwm kuv li m8.
  • Qhov fuse no tau teeb tsa sab hauv 8MHZ, nws txhais tau tias koj tsis tas yuav txuas sab nraud Crystal oscillator.
  • Ntaus nkag.
  • Tam sim no fuse tau teeb tsa nws yog txheej txheem ib zaug tsis tas yuav mus rau lwm lub sijhawm.

Yog tias koj xav hloov fuse ces E2 qis dua fuse thiab D9 yog fuse siab dua, koj tuaj yeem hloov nws raws li koj xav tau.

Kauj ruam 10: Upload Hex File

Upload Hex Cov Ntaub Ntawv
Upload Hex Cov Ntaub Ntawv
Upload Hex Cov Ntaub Ntawv
Upload Hex Cov Ntaub Ntawv
Upload Hex Cov Ntaub Ntawv
Upload Hex Cov Ntaub Ntawv
Upload Hex Cov Ntaub Ntawv
Upload Hex Cov Ntaub Ntawv

    Ua ntej qhov no muab tshuaj txhuam koj cov ntawv hex hauv tib daim nplaub tshev, qhov twg koj tuaj yeem pom cmd.txt ntawv

  • Luam kab kawg thiab muab tshuaj txhuam rau hauv qhov hais kom ua davhlau ya nyob twg.
  • Qhov kawg ntawm kab koj tuaj yeem pom lub npe cov ntaub ntawv, hloov nws nrog koj lub npe cov ntaub ntawv hex.
  • Tam sim no hloov koj com chaw nres nkoj kuv yog COM2 qhov koj txuas nrog arduino

    Hloov koj tus lej tswj hwm kuv li m8

  • Ntaus nkag.
  • Yog tias koj pom zaws tib yam li hauv kuv daim duab thib peb ces koj cov ntaub ntawv hex tau hlawv hauv AVR.

…. Ua Tiav ……. HO HO HO..