Cov txheej txheem:

Pib Nrog Arduino Nano: 5 Kauj Ruam
Pib Nrog Arduino Nano: 5 Kauj Ruam

Video: Pib Nrog Arduino Nano: 5 Kauj Ruam

Video: Pib Nrog Arduino Nano: 5 Kauj Ruam
Video: tinyML Summit 2021: Edge ML hardware for every application 2024, Kaum ib hlis
Anonim
Pib Nrog Arduino Nano
Pib Nrog Arduino Nano
Pib Nrog Arduino Nano
Pib Nrog Arduino Nano
Pib Nrog Arduino Nano
Pib Nrog Arduino Nano

Arduino Nano yog ib qho ntawm avaible Arduino board qauv. Muaj qhov me me, ua kom tiav, thiab siv tau yooj yim.

Muaj qhov loj me 1.70 Nti x 0.7 Nti, Arduino nano muaj qhov ua tiav, xws li: Atmel ATmega 328 IC, khawm rov qhib, 4 tus cim LEDs, 3V3 Tus Tswj, USB rau Serial, Chaw nres nkoj I/O, thiab lwm yam.

Rau kev teeb tsa chaw nres nkoj ntau dua, saib daim duab saum toj no (daim duab 2 thiab 3).

Kauj ruam 1: Nruab Arduino IDE

Nruab Arduino IDE
Nruab Arduino IDE

Arduino IDE yog siv los sau thiab xa cov duab kos rau Arduino board. Yog tias koj tseem tsis tau teeb tsa nws, koj tuaj yeem pom hauv kuv kab lus yav dhau los hais txog Yuav Ua Li Cas Txhim Kho Arduino IDE ntawm Windows 10.

Kauj Ruam 2: Cov Cheeb Tsam Xav Tau

Yuav tsum tau Cheebtsam
Yuav tsum tau Cheebtsam
Yuav tsum tau Cheebtsam
Yuav tsum tau Cheebtsam

Yuav tsum muaj cov khoom siv:

  • Arduino Nano Cov
  • Mini USB

Kauj Ruam 3: Selec Pawg Thawj Coj uas Tau Siv

Selec Pawg Thawj Coj uas Tau Siv
Selec Pawg Thawj Coj uas Tau Siv

Qhib Arduino IDE> Cuab Yeej.

Pawg: "Arduino Nano"

Tus Txheej Txheem: "Atmega 328P (Old Bootloader)" ===> yog tias muaj qhov ua yuam kev tshwm sim, xaiv lwm txoj hauv kev.

Chaw nres nkoj: "COM4" ===> raws li USB chaw nres nkoj koj siv.

Kauj ruam 4: Qhib thiab Upload Sketch

Qhib thiab Upload Sketch
Qhib thiab Upload Sketch
Qhib thiab Upload Sketch
Qhib thiab Upload Sketch
Qhib thiab Upload Sketch
Qhib thiab Upload Sketch

Qhib Sketch

Qhib lub teeb ntsais piv txwv LED: Cov ntaub ntawv> Piv txwv> 01. Basics> Blink.

Rub tawm Sketch

Txhawm rau rub tawm qhov program. Nyem rau khawm upload. Tos ib pliag - Thaum lub sijhawm txheej txheem upload, RX thiab TX LEDs yuav ci ntsa iab. Yog tias kev tshaj tawm tiav, cov lus "Ua tiav xa tawm" yuav tshwm nyob rau hauv qhov xwm txheej bar.

Kauj Ruam 5: Cov txiaj ntsig

Qhov tshwm sim yog LED liab ntawm Arduino yuav ntsais muag zoo li cov vis dis aus saum toj no. Kuv siv txoj hauv kev no kom ntseeg tau tias Arduino board tuaj yeem siv tau. Thiab npaj kom siv los ua cov phiaj xwm zoo.

Yog tias muaj lus nug, tsuas yog sau hauv kab lus.

Pom zoo: