Cov txheej txheem:

Yuav Ua Haujlwm Li Cas thiab Rov Pib Dua Arduino Siv Android Smartphone: 8 Kauj Ruam
Yuav Ua Haujlwm Li Cas thiab Rov Pib Dua Arduino Siv Android Smartphone: 8 Kauj Ruam

Video: Yuav Ua Haujlwm Li Cas thiab Rov Pib Dua Arduino Siv Android Smartphone: 8 Kauj Ruam

Video: Yuav Ua Haujlwm Li Cas thiab Rov Pib Dua Arduino Siv Android Smartphone: 8 Kauj Ruam
Video: Computer Vision with Python! Resizing Images 2024, Hlis ntuj nqeg
Anonim
Yuav Ua Haujlwm Li Cas thiab Rov Pib Dua Arduino Siv Android Smartphone
Yuav Ua Haujlwm Li Cas thiab Rov Pib Dua Arduino Siv Android Smartphone

Koj yuav tau siv OTG adapter txuas Pendrives thiab cov tswj kev ua si, thiab muab lub zog rau cov cuab yeej me me. Koj tuaj yeem ua ntau yam ntxiv uas tsis yog txhawb koj li Arduino board nrog Smart Phone. Hauv qhov kev qhia no, peb yuav suav sau thiab xa Arduino code siv Android Application hu ua "ArduinoDroid" uas zoo ib yam li Arduino IDE.

Kauj Ruam 1: Cov Ntaub Ntawv Yuav Tsum Tau:

1. Arduino Board2. OTG cable3. Arduino USB cable4. Android Device

Kauj Ruam 2: Cia Pib Nrog Txhim Kho ArduinoDroid App:

Cia Peb Pib Nrog Txhim Kho ArduinoDroid App
Cia Peb Pib Nrog Txhim Kho ArduinoDroid App

Rub tawm App los ntawm qhov txuas hauv qab no lossis yooj yim mus rau tom khw thiab tshawb rau ArduinoDroid thiab nruab nws. Link-

Kauj ruam 3:

Duab
Duab

Qhib lub app tom qab kev teeb tsa. Nws yuav zoo li raws li tau hais hauv qab no:

Hauv lub qhov rai no koj tuaj yeem sau koj tus lej lossis yooj yim tau txais tus lej piv txwv los ntawm cov ntawv qhia zaub mov (qhia los ntawm peb tus lej ntawm kaum sab xis).

Kauj ruam 4:

Duab
Duab
Duab
Duab

Koj yuav pom Sketch xaiv hauv Dropdown menu raws li qhia hauv qab no. Hauv kab ntawv qhia zaub mov, muaj Piv txwv xaiv, nyem rau nws.

Hauv cov ntawv qhia zaub mov no koj yuav pom qee qhov piv txwv zoo li hauv Arduino IDE. Xaiv tus qauv piv txwv koj xav hlawv hauv Arduino. Ntawm no, peb yuav tso qhov Blink program.

Kauj ruam 5:

Duab
Duab
Duab
Duab
Duab
Duab

Txuas koj lub Rooj Tswjhwm Saib Arduino nrog Android ntaus ntawv siv USB cable thiab OTG

Kauj Ruam 6:

Duab
Duab
Duab
Duab

Xaiv koj lub rooj tsavxwm los ntawm Chaw> Pawg Hom

Hauv Arduino IDE, yog tias peb nyem rau khawm upload, peb qhov program tau suav ua ntej thiab tom qab ntawd muab tso rau. Tab sis ntawm no peb yuav tsum suav ua ntej los ntawm txhaj Compile khawm raws li qhia hauv qab no.

Koj tuaj yeem pom cov xwm txheej ntawm kev muab tso ua ke hauv Qhov rai Tso Tawm.

Thaum koj qhov kev sau ua ke tiav, nyem rau Upload khawm raws li qhia hauv qab no.

Kauj ruam 7:

Koj qhov program tau ua tiav xa tawm raws li koj tuaj yeem pom hauv lub qhov rai tso tawm. Sai li nws tau rub tawm koj yuav pom ntawm board LED yuav pib ntsais muag. Koj tuaj yeem tshawb xyuas cov txheej txheem ua tiav hauv Video muab hauv qab no.

Kauj ruam 8:

Yuav arduino nano - Hav, tshawb xyuas qhov kuv pom ntawm AliExpress https://s.click.aliexpress.com/e/wW8OOZa. Cov neeg siv tshiab tuaj yeem tau txais daim coupon US $ 4!

Pom zoo: