Cov txheej txheem:

Yuav Ua Haujlwm Li Cas thiab Bootload ATtiny85 Nrog USBasp: 5 Kauj Ruam
Yuav Ua Haujlwm Li Cas thiab Bootload ATtiny85 Nrog USBasp: 5 Kauj Ruam

Video: Yuav Ua Haujlwm Li Cas thiab Bootload ATtiny85 Nrog USBasp: 5 Kauj Ruam

Video: Yuav Ua Haujlwm Li Cas thiab Bootload ATtiny85 Nrog USBasp: 5 Kauj Ruam
Video: qhia ລ້າງ xov tooj tsis nco qab password / ສອນລ້າງເຄື່ອງ ssa10 / สอนล้างเครื่องลืมรหัสผ่าน 2024, Hlis ntuj nqeg
Anonim
Yuav Ua Haujlwm Li Cas thiab Bootload ATtiny85 Nrog USBasp
Yuav Ua Haujlwm Li Cas thiab Bootload ATtiny85 Nrog USBasp

Hauv Cov Lus Qhia no koj yuav kawm paub yuav ua li cas rau khau raj thiab ua haujlwm ATtiny85 microchip hauv txoj kev yooj yim tshaj plaws uas kuv tuaj yeem paub. Nov yog kuv thawj Phau Ntawv Qhia yog li yog tias koj muaj lus qhia lossis tswv yim yuav ua li cas thiaj ua tau cov lus qhia zoo dua tuaj yeem xav tawm tswv yim thaum kawg lossis txawm tias koj muaj lus tawm tswv yim los ntawm kuv kab lus.

Kauj ruam 1: Rub tawm thiab Cov Ntaub Ntawv

Rub tawm thiab Cov Ntaub Ntawv
Rub tawm thiab Cov Ntaub Ntawv

Thawj kauj ruam los teeb tsa koj li ATtiny85 yog rub cov ntaub ntawv tsim nyog kom ua tiav qhov no. Rub tawm cov khoom hauv qab no ua ntej koj pib:

ATtiny85 Core:

Qhov hloov tshiab kawg ntawm Arduino IDE (Windows):

Qhov hloov tshiab kawg ntawm Arduino IDE (MacOS):

Yog tias koj xav tau kev pab txhim kho Arduino IDE xa mus rau nplooj ntawv no:

Cov khoom kuv yuav siv yog cov txiv neej-rau-txiv neej, ISP 10 tus pin-rau-6 tus pin txuas thiab ISP Programmer, lub khob cij thiab ntawm chav kawm, ATtiny85.

Kauj Ruam 2: Siv ATtiny Core Cov Ntaub Ntawv

Siv ATtiny Core Cov Ntaub Ntawv
Siv ATtiny Core Cov Ntaub Ntawv

Ua ntej koj yuav tsum rho cov ntaub ntawv los ntawm hauv cov ntawv zip. Txhawm rau ua qhov no koj yuav tsum nyem rau ntawm cov ntaub ntawv zipped thiab nyem nyem rho tawm ntawm no. Tom qab ntawd koj yuav tsum xa cov ntaub ntawv los ntawm koj cov rub tawm lossis txhua qhov chaw koj khaws cia rau hauv cov ntaub ntawv kho vajtse uas nyob hauv koj phau Sketchbook (koj tuaj yeem pom lossis hloov qhov sketchbook qhov chaw nyob hauv Nyiam, mus rau File> Prefrences> Sketchbook Loaction), yog tias tsis muaj tsis yog cov ntaub ntawv kho vajtse koj tuaj yeem tsim daim nplaub tshev tshiab hu ua 'hardware'.

Kauj ruam 3: Txuas tus Pins

Txuas tus Pins
Txuas tus Pins

Txuas cov pins los ntawm tus programmer mus rau lawv cov koob ntawm ATtiny85 siv tus pinout qhia.

Kauj Ruam 4: Xa Koj Daim Duab

Uploading Koj Sketch
Uploading Koj Sketch

Cov theem kawg yog xa cov duab kos mus rau lub microchip. Tab sis ua ntej koj yuav tsum bootload lub microchip, ua ntej xaiv lub rooj tsavxwm raug (Cov Cuab Yeej> Pawg Thawj Coj> Scroll Down> ATtiny45/85 (Optiboot)) tom qab ntawd xaiv qhov programmer raug (mus rau Cov Cuab Yeej> Programmer> USBasp), tom qab ntawd mus rau Cov Cuab Yeej> Hlawv Bootloader thiab tom qab ob peb lub vib nas this nws yuav tsum hais tias Ua tiav Hlawv Bootloader. Thaum koj tau bootloaded lub nti qhib qhov Blink piv txwv li qub (mus rau Cov Ntaub Ntawv> Piv txwv> Hauv paus> Blink) thiab tom qab ntawd hloov LED_BUILTIN mus rau 3. Tom qab ntawv xaiv ATtiny85 los ntawm kev mus rau Cov Cuab Yeej> Pawg Thawj Coj> Scroll Down> ATtiny45/85 (Optiboot). Tom qab ntawd xaiv tus programmer los ntawm kev mus rau Cov Cuab Yeej> Programmer> USBasp. Thaum kawg rub cov duab kos los ntawm kev siv CTRL+SHIFT+U lossis los ntawm Sketch> Upload siv Programmer.

Kauj ruam 5: Txaus siab rau

Cov kauj ruam kawg yog tsuas yog txaus siab rau koj tam sim no me me Arduino. Nrog rau txoj hauv kev no koj tuaj yeem xa cov duab kos rau nws thiab siv nws qhov twg ib qho Arduino board ib txwm yuav loj los siv. Yog tias koj nyiam Txoj Haujlwm no lossis nyiam nws tsis txhob hnov qab qhia ib daim duab ntawm koj qhov ua tiav thiab yog tias koj xav tau, mob siab rau.

Pom zoo: