Yuav Ua Li Cas Cov Kev Pab Cuam Avr

Cov txheej txheem:

Yuav Ua Li Cas Cov Kev Pab Cuam Avr
Yuav Ua Li Cas Cov Kev Pab Cuam Avr

Video: Yuav Ua Li Cas Cov Kev Pab Cuam Avr

Video: Yuav Ua Li Cas Cov Kev Pab Cuam Avr
Video: Yuav ua li cas kom tus txiv neej huam ua ntej yuav siv aim 2024, Hlis ntuj nqeg
Anonim

Txoj kev yooj yim tshaj plaws los kawm paub yuav ua li cas rau cov txheej txheem AVR series microcontrollers yog siv Arduino hardware platform. Lub plhaub software ntawm lub platform no txhawb Linux, Android thiab Windows operating systems.

Yuav ua li cas cov kev pab cuam avr
Yuav ua li cas cov kev pab cuam avr

Cov Lus Qhia

Kauj ruam 1

Tau txais Arduino board-ready los yog ib qho ntawm nws cov clones ntau. Lub clone yuav muaj lwm lub npe. Yog tias xav tau, tsim ib qho ntawm cov pob zeb no koj tus kheej siv qee yam ntawm AVR microcontrollers hauv qab no: ATmega8, ATmega168, ATmega328. Yog tias lub koos pis tawj tsis muaj qhov chaw nres nkoj COM, nco ntsoov muab lub USB-COM hloov rau ntawm lub rooj tsavxwm, lossis siv lub tshuab hluav taws xob sab nraud npaj txhij. Hauv txhua qhov teeb meem, tsis txhob hnov qab txog qib hloov pauv ib yam nkaus, vim tias COM chaw nres nkoj ntawm cov khoos phis tawm feem ntau ua haujlwm ntawm 12V, thiab microcontroller xav tau 5 lossis 3, 3.

Kauj ruam 2

Program microcontroller nrog tshwj xeeb Arduino firmware, yog tias nws tsis tau ua tiav thaum pib (piv txwv, nyob hauv pawg thawj coj saib tiav). Koj yuav tsum sau cov firmware rau microcontroller tsuas yog ib zaug, yav tom ntej koj yuav sau cov programmes uas koj txhim kho rau nws ntawm USB lossis COM-port tsis tas siv programmer. Lawv yuav khiav ntawm nws cov khoom tib yam nkaus li cov khoos phis tawm ntawm lub khoos phis tawm ntawm sab saum toj ntawm lub operating system.

Kauj ruam 3

Yog tias koj lub khoos phis tawm tsis muaj lub Java Virtual Machine, rub tawm thiab nruab nws.

Kauj ruam 4

Rub tawm thiab teeb tsa lub official Arduino IDE. Qhov kev pabcuam no, nyob hauv lub vev xaib ntawm txoj haujlwm, yog sib raug nrog ob daim thawj ntawm Arduino boards thiab lawv cov pob zeb tsis raws cai.

Kauj ruam 5

Txuas lub rooj tsavxwm hauv lub computer thiab tsuas yog tom qab ntawv thov lub hwj chim rau nws.

Kauj Ruam 6

Pib plhaub. Xaiv hom board hauv nws. Yog tias nws tsis yog qhov qub, thov xaiv lub rooj tsav xwm uas nws tau sib haum. Kuj xaiv qhov chaw nres nkoj uas nws txuas nrog.

Kauj Ruam 7

Txheeb xyuas cov qauv piv txwv nrog rau lub khauj khaum. Lawv tau sau ua hom lus tshwj xeeb hu ua Wiring. Sim sau ib qho ntawm ib qho mus rau microcontroller uas nyob ntawm lub rooj tsavxwm thiab khiav lawv.

Kauj ruam 8

Tom qab xyuas cov piv txwv, sim pib sau koj tus kheej cov programs. Siv cov txiag nrog cov khoom siv txuas ntxiv raws li xav tau. Ib zaug programmed, yav tom ntej nws yuav tuaj yeem ua haujlwm nyob tus kheej tsis muaj computer.

Pom zoo: