ComputersProgramming

Arduino oob khab: kauj ruam yog kauj ruam cov lus qhia. Programming thiab tej yaam num Arduino: pib qhov twg?

Arduino yog ib tug nrov heev tsim ntawm tag nrho cov kiv cua. Yuav tsum tau paub nrog lawv thiab cov neeg uas yeej tsis tau hnov txog nws.

Yuav ua li cas yog Arduino?

Raws li luv luv yuav piav Arduino? Qhov zoo tshaj plaws cov lus yuav: hluav taws xob designer. Arduino yog ib lub cuab tam uas koj muaj peev xwm tsim ib tug ntau yam ntawm hluav taws xob. Nyob rau hauv qhov tseeb, qhov no yog ib tug tiag tiag kho vajtse xam platform universal lo lus uas peb. Nws yuav siv tau rau lub tsev yooj yim circuits, thiab kom muaj kev haum complex tej yaam num.

Designer raws li lawv kho vajtse, uas yog ib lub tswv yim-output card. Yuav kom pab cuam lub Rooj Tswjhwm Saib siv cov lus uas yog raws li nyob rau hauv C / C ++. Lawv hu ua, ntsig txog, ua / Thaiv. Los ntawm Group C lawv pub huab simplicity, yog li ntawd lawv yog heev sai sai mastered los ntawm leej twg, thiab mus thov kev paub no nyob rau hauv kev xyaum yog tsis heev ib tug tseem ceeb teeb meem. Hais tias koj to taub qhov yooj yim ntawm lub lag luam, feem ntau hais tias Arduino - oob khab Wizards designers. Txawm cov me nyuam muaj peev xwm to taub "Arduino" boards.

Yuav ua li cas nws yog ua tau rau sau?

Daim ntawv thov Arduino heev ntau haiv neeg, nws yuav siv tau raws li nws yog rau ib tug piv txwv yooj yim uas yuav tsum tau pom zoo nyob rau thaum kawg ntawm tsab xov xwm, thiab rau ib tug ncaj complex mechanisms, xws li manipulators, robots thiab muaj cov cav tov. Ib txhia craftsmen tswj rau lub hauv paus ntawm tej tshuab los ua cov ntsiav tshuaj, xov tooj, kev ruaj ntseg thiab kev soj ntsuam systems tsev, "ntse lub tsev" system los yog cia li lub computers. Arduino-tej yaam num rau beginners, leej twg yuav pib mus koom txawm cov neeg uas muaj tsis muaj kev paub, yog nyob rau hauv lub kawg ntawm tsab xov xwm. Lawv muaj peev xwm txawm yuav siv los tsim ib tug txheej thaum ub virtual kev muaj tiag systems. Tag nrho ua tsaug rau ib tug ncaj universal kho vajtse tivthaiv thiab lub caij muaj Arduino programming.

Qhov twg yuav Cheebtsam?

Xam tias yog tus thawj lub Cheebtsam, manufactured nyob rau hauv ltalis. Tab sis tus nqi ntawm xws units yog tsis tshua muaj. Yog li ntawd, ib tug xov tooj ntawm tuam txhab uas muag los sis txawm cov tib neeg handicraft ua los ntawm Arduino-tshaj kiag li lawm thiab yam uas jokingly nicknamed tsim clones. Thaum yuav cov clones yuav tsis tau hais tias nrog cog qoob loo uas lawv yuav ua hauj lwm, tab sis lub siab xav kom txuag tau koj xaiv.

Cheebtsam yuav tsum tau muas los yog nyob rau hauv poob lawm los yog ib lub zuj zus. Muaj txawm twb pre-npaj cov khoom siv los sib sau ua ke tsheb, helicopters nrog ntau hom kev tswj los yog ships. Teem, raws li nyob rau hauv cov kev yees duab saum toj no, manufactured nyob rau hauv Tuam Tshoj, yuav raug nqi $ 49.

Yog xav paub ntxiv txog cov khoom

Arduino lub rooj tsavxwm yog ib tug yooj yim microcontroller AVR, uas yog stitched bootloader thiab muaj tsawg kawg yog qhov tsawg kawg nkaus uas tsim nyog USB-UART chaw nres nkoj. Muaj tseem ib qho tseem ceeb Cheebtsam, tab sis tsis pub dhau lub tsab xov xwm yuav zoo dua rau siab rau xwb no ob lub Cheebtsam.

Ua ntej, lub microcontroller, lub mechanism ua rau ib tug tswvyim nyob rau hauv uas qhov kev pab cuam yog nyob thiab tsim. Cov kev pab cuam yuav cuam tshuam nias, cov Pib ntsais koj teeb ntawm lub Cheebtsam creation (resistors, transistors, sensors, etc ...), Etc. Lub sensors yuav tas li ntawd xwb yuav txawv raws li lawv npaj siv: .. teeb, acceleration, kub, deb, siab, obstacles thiab t. d. raws li cov zaub pab kiag li lawm tej zaum yuav nqa tawm siv tau yooj yim Cheebtsam ntawm lub LEDs thiab tweeters rau complex pab kiag li lawm, xws li duab qhia. Raws li cov actuators pom tau hais tias motors, li qub, relays, servos, solenoids, thiab ntau lwm tus neeg, uas teev ib tug ntev heev lub sij hawm. Nrog ib yam dab tsi los ntawm cov npe MK ua hauj lwm txoj cai, los ntawm txoj kev txuas nyob ntawm tej. Rau ib txhia mechanisms xav tau adapters. Tiam sis yog tias koj yeej pib tsim, koj yuav ua nyuaj mus ua txhaum tam sim ntawd. Tam sim no cia tus tham txog lub Arduino programming.

Yog xav paub ntxiv txog tus txheej txheem ntawm lub cajmeem

Twb npaj txhij mus ua hauj lwm rau ib tug microcontroller kev pab cuam hu ua firmware. Nws yuav ua tau ib zaug xwb project, thiab Arduino tej yaam num, yog li txhua firmware yog ntshaw kom cia nyob rau hauv ib tug nyias muaj nyias ib daim nplaub tshev, kom ceev li tus txheej txheem ntawm kev nrhiav txoj cai cov ntaub ntawv. Nws yog stitched mus rau tus siv lead ua los ntawm txoj kev tshwj xeeb pab kiag li lawm MK: programmers. Thiab ces "Arduino" muaj lwm kom zoo dua - nws tsis xav tau ib tug programmer. Txhua yam yog ua li ntawd hais tias cov Arduino programming rau beginners yog ib qho yooj yim. Sau code yuav loaded rau hauv lub MC los ntawm lub USB-cable. Tiav no kom zoo dua yog tsis yog ib co zoo ntawm ua-nyob rau hauv ua ntej programmer thiab spetsproshivkoy - bootloader. Bootloader yog ib tug tshwj xeeb kev pab cuam uas pib sai li sai tau tom qab txuas thiab mloog, yog muaj cov lus hais kom yog hais tias tus siv lead ua yog muaj los yog tsis Arduino tej yaam num rau ib ntsais tuaj. Los ntawm kev siv bootloader los tau ib co txaus nyiam heev zoo:

  1. Siv tsuas yog ib qho channel ntawm kev sib txuas lus uas tsis yuav tsum tau ntxiv sij hawm. Yog li, lub Arduino tej yaam num tsis kom koj yuav tsum mus cuag ntau yam nyob ntawm tej, thiab muaj yog tsis meej pem nyob rau hauv lawv cov kev siv. Mus ua hauj lwm ntse txaus ntawm ib tug USB-cable.
  2. Kev pab tiv thaiv nkhaus ob txhais tes. Nqa mus rau ib tug microcontroller bricks lub xeev los ntawm ncaj qha firmware yog haum yooj yim, ntau hom yog tsis tsim nyog. Thaum ua hauj lwm nrog cov bootloader rau uas yus chaw, koj tsis tau (los ntawm txoj kev loj hlob ntawm cov kev pab cuam, ntawm chav kawm, thiab koj yuav tawg txhua yam). Yog li ntawd Arduino rau beginners yog tsis tsuas yog los ntawm tus taw tes ntawm view hais tias yog tseeb thiab yooj yim rau siv, nws tseem txhob pliaj nyiaj nuj nqis muaj feem xyuam rau cov inexperience ua hauj lwm nrog lawv, tus txiv neej.

Tej yaam num yuav pib

Thaum koj tau txais ib pawg, ib tug soldering hlau, rosin thiab solder yuav tsum tsis txhob yuav cia li mus pwm heev designs. Lawv yog cov, ntawm chav kawm, koj muaj peev xwm dazzle, tab sis lub sij hawm ntawm kev vam meej nyob rau hauv lub Arduino oob khab haum uas tsis muaj nyob rau hauv cov projects. Rau txoj kev kawm thiab "tau txais" ob txhais tes koj yuav tau sim siv ib co ntau yooj yim lauj kaub, uas yuav pab tau kom koj to taub txog tus sis ntawm kev ua hauj lwm thiab "Arduino". Raws li ntawm thawj kauj ruam nyob rau hauv kev ua hauj lwm nrog Arduino rau beginners nws tej zaum yuav hu tau xav txog:

  1. Tsim ib tug flashing LED, uas yuav khiav lag luam los ntawm "Arduino".
  2. Txuas ib daim khawm kom "Arduino". Thaum zoo li no yuav ua tau li ntawd lub khawm yuav tau kho cov LED glow ntawm №1.
  3. Txuas ib potentiometer.
  4. servo tswj.
  5. Txuas thiab ua hauj lwm nrog cov tri-xim LED.
  6. Kev twb kev txuas ntawm lub piezoelectric caij.
  7. Siv cov photoresist.
  8. Txuas cov lus tsa suab sensor thiab Pib ntsais koj teeb txog nws ua hauj lwm.
  9. Txuas av noo los yog kub sensor.

Tej yaam num rau lub neej yav tom ntej

Nws yog tsis zoo li hais tias koj yog txaus siab nyob rau hauv "Arduino" nyob rau hauv kev txiav txim mus cuag cov neeg LEDs. Feem ntau cov yuav, koj muaj attracted los ntawm ib lub sij hawm los tsim lawv lub tsheb, RC nkoj , los yog ya lub chopper. Tej yaam num yog txoj nyob rau hauv lawv cov kev siv, lawv yuav tsum tau ib tug ntau lub sij hawm thiab kev rau siab, tiam sis los ntawm nram qab no rau lawv, koj tau txais yam koj xav tau: ib tug tseem ceeb kev nrog lub Arduino tsim rau beginners.

Similar articles

 

 

 

 

Trending Now

 

 

 

 

Newest

Copyright © 2018 hmn.unansea.com. Theme powered by WordPress.