Cov txheej txheem:

Arduino rau Pib: 5 Kauj Ruam
Arduino rau Pib: 5 Kauj Ruam

Video: Arduino rau Pib: 5 Kauj Ruam

Video: Arduino rau Pib: 5 Kauj Ruam
Video: Plab Plab Ntswg..(Pluav Pluav Ntswg) Maiv Twm New Song 2023-2024 2024, Kaum ib hlis
Anonim
Arduino rau Beginners
Arduino rau Beginners

Tam sim no, Cov Tsim, Cov Tsim Kho xav tau Arduino rau kev txhim kho sai ntawm cov qauv ntawm cov phiaj xwm.

Arduino yog lub platform siv hluav taws xob qhib raws qhov yooj yim-rau-siv-kho vajtse thiab software. Arduino muaj zej zog neeg siv zoo heev. Arduino pawg thawj coj tsim siv ntau yam tswj hwm uas suav nrog (Tsev Neeg AVR, nRF5x Tsev Neeg thiab tsawg dua STM32 cov tswj hwm thiab ESP8266/ESP32). Pawg thawj coj muaj ntau yam Analog thiab Digital Input/Output pins. Pawg thawj coj muaj USB rau Serial Converter ib yam uas pab ua haujlwm rau tus tswj.

Hauv kab ntawv no peb yuav pom Yuav siv Arduino IDE thiab Arduino boards li cas. Arduino yog ib qho yooj yim siv thiab qhov kev xaiv zoo heev rau kev tsim cov phiaj xwm phiaj xwm. Koj yuav tau txais ntau lub tsev qiv ntawv thiab tus lej kho vajtse tsim rau arduino board uas tau txais tus pin haum rau tus pin rau lub rooj tsav xwm module thiab Arduino board.

Yog tias koj tab tom siv Arduino board ces koj yuav tsis xav tau ib tus programmer lossis ib qho cuab yeej twg los ua haujlwm rau Arduino boards. Because cov board no twb tau flashed nrog serial bootloader thiab npaj kom nyem dhau usb mus rau qhov txuas.

Kauj Ruam 1: Cov ntsiab lus npog hauv Tutorial

Cov ntsiab lus hauv qab no tau hais hauv qhov kev qhia no. 1. Schematic Piav 2. Bootloader Piav 3. Yuav Siv Web Editor 4. Yuav Siv Arduino IDE 5. Piv txwv li ntawm LED Blink 6. Piv txwv ntawm Serial Interface 7. Piv txwv ntawm Hloov interface siv txoj kev pov npav 8. Piv txwv ntawm Hloov interface siv kev cuam tshuam 9. Piv txwv ntawm ADC.

Kauj Ruam 2: Cov Cheeb Tsam Xav Tau

Arduino UNOArduino Uno hauv Is Nrias teb-

Arduino Uno hauv UK -

Arduino Uno hauv Asmeskas -

Arduino Nano Cov

Arduino Nano hauv Is Nrias teb-

Arduino Nano hauv UK -

Arduino Nano hauv Asmeskas -

Kauj Ruam 3: Qhia:

Image
Image

Kauj Ruam 4: Hom Pawg Thawj Coj tuaj yeem siv rau Arduino Programming

Hom Board tuaj yeem siv rau Arduino Programming
Hom Board tuaj yeem siv rau Arduino Programming
Hom Board tuaj yeem siv rau Arduino Programming
Hom Board tuaj yeem siv rau Arduino Programming
Hom Board tuaj yeem siv rau Arduino Programming
Hom Board tuaj yeem siv rau Arduino Programming

Kauj Ruam 5: Ntau Ntxiv Txog Arduino Bootloader

Dab tsi yog bootloader?

Hauv Cov Lus Yooj Yim, Bootloader yog ib qho ntawm cov cai uas lees txais cov cai thiab sau nws rau peb tus kheej nyem.

Bootloader yog ib qho ntawm cov cai uas ua thawj zaug thaum twg koj tswj tau txais lub zog ON lossis rov pib dua ces pib daim ntawv thov.

Thaum bootloader tau ua tiav, nws yuav tshuaj xyuas qhov hais kom ua lossis Cov Ntaub Ntawv ntawm Kev Sib Txuas zoo li UART, SPI, CAN lossis USB. Bootloader tuaj yeem ua tiav ntawm UART, SPI, CAN lossis USB. Tab sis yog tias tsis muaj bootloader ntawm tus tswj hwm hauv qhov xwm txheej ntawd peb yuav tsum siv programmer/Flasher.

Thiab peb yuav tsum siv programmer/Flasherto flash bootloader. Thaum bootloader tau flashed ces tsis xav tau programmer/Flasher.

Pom zoo: