Cov txheej txheem:

Kuv yuav tswj Arduino nrog kuv lub smartphone li cas?
Kuv yuav tswj Arduino nrog kuv lub smartphone li cas?

Video: Kuv yuav tswj Arduino nrog kuv lub smartphone li cas?

Video: Kuv yuav tswj Arduino nrog kuv lub smartphone li cas?
Video: 09 Nkauj Ntseeg Tshiab 2022 Cag Peb Cov Ntseeg Pheej Tsis Loj Hlob By SuabPov Offcial Vdieo Music 2024, Kaum ib hlis
Anonim

Tswj lub Arduino nrog koj lub xov tooj

  1. Kauj Ruam 1: Cov ntaub ntawv. Koj yuav xav tau:
  2. Kauj ruam 2: Download tau tus App. Mus rau tus app khw / google play store ntawm koj lub xov tooj thiab rub tawm blynk, tom qab ntawd tsim ib tus account blynk.
  3. Kauj ruam 3: Configure tus App. Ib zaug koj muaj tus appinstalled.
  4. Kauj ruam 4: Upload tus Code.
  5. Kauj Ruam 5: Saib tus Kev ua!
  6. 23 Kev sib tham.

Ib yam li ntawd, tib neeg nug, yuav ua li cas txuas kuv Arduino rau kuv lub smartphone?

Tsuas yog txuas raws li hauv qab no:

  1. Txuas 3.3V ntawm Arduino rau VCC ntawm HM-10.
  2. Txuas GND ntawm Arduino rau GND ntawm HM-10.
  3. Txuas D8 ntawm Arduino rau RX ntawm HM-10.
  4. Txuas D7 ntawm Arduino rau TX ntawm HM-10.
  5. Txuas D2 ntawm Arduino rau sab ceg ntev ntawm LED nrog rau 220ohm resistor.
  6. Txuas cov ceg luv ntawm LED nrog GND ntawm Arduino.

Tom qab ntawd, lo lus nug yog, koj puas tuaj yeem khiav Android ntawm Arduino? Cov Arduino IDE khiav zoo thiab koj ua tau nkag mus code los ntawm lub vev xaib, los ntawm huab, lossis hauv zos. Nrog Android , koj tsis tuaj yeem ncaj qha nruab code los ntawm Arduino qhov project as Android tsis yog ib qho kev txhawb nqa kev ua haujlwm. Tab sis muaj cov programmers porting Linuxversions rau Android.

Hauv qhov no, kuv yuav txuas kuv Arduino rau kuv lub xov tooj Android li cas?

Sib txuas lus nrog koj Arduino Los ntawm Android

  1. Android Xov tooj uas txhawb USB hom tswv (piv txwv li, OTG Support) - Feem ntau cov khoom siv khiav hauv 3.1+ txhawb qhov no.
  2. Arduino - Txhua yam yuav ua.
  3. Arduino USB Cable.
  4. USB OTG Cable - Koj yuav xav tau qhov no los txuas USB cable ntawm Arduino mus rau micro-USB chaw nres nkoj ntawm Smartphone.

OTG muaj nuj nqi yog dab tsi?

USB On-The-Go (USB OTG los yog xwb OTG ) yog aspecification thawj zaug siv nyob rau hauv lig 2001 uas tso cai rau USB li, xws li ntsiav tshuaj los yog smartphones, los ua ib tug tswv tsev, tso cai rau lwm yam USBdevices, xws li USB flash drives, cov koob yees duab, nas los yog keyboards, yuav tsum tau txuas rau lawv.

Pom zoo: