Cov txheej txheem:

Arduino GPS Shield Tutorial: Kev Txheeb Ze Ze: 5 Kauj Ruam
Arduino GPS Shield Tutorial: Kev Txheeb Ze Ze: 5 Kauj Ruam

Video: Arduino GPS Shield Tutorial: Kev Txheeb Ze Ze: 5 Kauj Ruam

Video: Arduino GPS Shield Tutorial: Kev Txheeb Ze Ze: 5 Kauj Ruam
Video: GSM/GPRS Shield, модуль A6 для Arduino/Piranha 2024, Hlis ntuj nqeg
Anonim
Arduino GPS Shield Tutorial: Zauv Tshuab Zauv
Arduino GPS Shield Tutorial: Zauv Tshuab Zauv

GPS lossis Txheej Txheem Thoob Ntiaj Teb yog lub xov tooj cua raws xov tooj cua qhia uas tso cai rau koj kom tau txais koj qhov chaw nyob thiab coj koj mus rau lwm qhov chaw los ntawm daim ntawv pom zoo thiab tau npaj ua ntej zoo li Google daim duab qhia chaw, thiab hauv ntiaj teb Arduino, qhov no yog ua tiav los ntawm Arduino GPS ntaub thaiv npog.

GPS paub koj qhov chaw nyob dhau ntawm qhov latitude thiab longitude qhov tseem ceeb ntawm koj qhov chaw uas qhia meej tias koj nyob qhov twg los ntawm lub ntiaj teb thiab peb yuav siv ob qhov kev ntsuas no los xam qhov deb ntawm koj qhov chaw tam sim no thiab lub hom phiaj xav tau siv GPS npog ntawm 1Sheeld hauv qhov nrawm thiab lom zem Arduino GPS Shield Tutorial.

Cia peb tham txog lub tswv yim tom qab Arduino GPS Shield Tutorial …

Lub tswv yim:

Hauv Arduino GPS Shield Tutorial, peb tab tom siv GPS Shield los ntawm 1Sheeld ntawm nws tus khub Android/iOS App kom tau txais qhov chaw tam sim no.

Peb ua tiav qhov no los ntawm kev qhia rau App (los ntawm kev siv lub ntsej muag lees paub lub suab), ob qho tib si latitude thiab longitude ntawm qhov chaw xav tau peb xav mus txog thiab Arduino yuav suav qhov nrug deb nruab nrab ntawm 2 qhov chaw hauv km chav (los ntawm kev siv GPS ntaub thaiv npog)) thiab qhia koj (los ntawm kev siv daim ntawv-rau-hais lus daim thaiv) dab tsi yog qhov nrug.

Pib:

Yog tias qhov no yog koj thawj zaug cuam tshuam nrog 1Sheeld lossis koj xav kawm paub ntau ntxiv txog nws, Kuv pom zoo txheeb xyuas qhov no sai thiab yooj yim tau pib qhia.

Tam sim no, tom qab koj tau dhau los paub me ntsis nrog 1Sheeld, cia pib!

Kauj Ruam 1: Cov Khoom Kho Vajtse:

Kho vajtse Cheebtsam
Kho vajtse Cheebtsam
Kho vajtse Cheebtsam
Kho vajtse Cheebtsam
Kho vajtse Cheebtsam
Kho vajtse Cheebtsam
Kho vajtse Cheebtsam
Kho vajtse Cheebtsam
  1. Arduino Ib.
  2. 1Sheeld+ board.
  3. Arduino USB cable lossis 9-12v roj teeb.
  4. Xov tooj Android/iOS nrog 1Sheeld App teeb tsa rau nws.

Kauj Ruam 2: Cheeb Tsam Software:

  1. Arduino IDE Cov.
  2. 1sheeld tsev qiv ntawv, 1sheeld Android App lossis iOS App.

Kauj Ruam 3: Kev Sib Txuas thiab Schematic:

Kev Sib Txuas thiab Schematic
Kev Sib Txuas thiab Schematic
Kev Sib Txuas thiab Schematic
Kev Sib Txuas thiab Schematic
Kev Sib Txuas thiab Schematic
Kev Sib Txuas thiab Schematic
  1. Txuas 1Sheeld board rau hauv koj Arduino li duab 1.
  2. Txuas lub LCD 16*2 raws li duab 2.
  3. Hloov 1Sheeld zog los ua haujlwm ntawm 5v (Tsis yog 3.3v) raws li duab 3.

1Sheeld muaj 2 hom: Uploading mode and Operating mode. Koj tuaj yeem hloov nruab nrab ntawm lawv siv qhov hloov pauv ze rau Digital pins thiab hu ua "UART SWITCH" ntawm 1Sheeld thiab "SERIAL SWITCH" ntawm 1Sheeld+.

  • Ua ntej tshaj, koj xaub qhov hloov pauv mus rau "SWITCH" cov cim raws li duab 4 uas tig 1Sheeld board rau hauv Hom Kev Tso Tawm kom cia koj upload Arduino code.
  • Qhov thib ob, tom qab koj ua tiav kev xa cov cai, xaub qhov hloov mus rau "UART" cov cim (lossis "SERIAL" ntawm 1Sheeld+ board) raws li duab 5 uas tig 1Sheeld board rau hauv Hom Kev Ua Haujlwm sib txuas lus nrog koj lub smartphone 1Sheeld App.

Thaum kawg, txuas Arduino ntawm koj lub PC siv Arduino USB cable.

Kauj ruam 4: Code

Kuv xav kom txheeb xyuas Arduino GPS Shield cov ntaub ntawv kom paub ntau ntxiv txog Arduino GPS Shield ua haujlwm thiab yuav siv lawv li cas.

Tam sim no, hloov 1Sheeld pawg thawj coj saib mus rau hom kev rub tawm, xa cov lej txuas rau Arduino Digital Clock. Hloov 1Sheeld board mus rau Hom Kev Ua Haujlwm tom qab qhib 1Sheeld app thiab txuas nws mus rau 1Sheeld board ntawm Bluetooth.

Kauj ruam 5:

Duab
Duab
Duab
Duab

Raws li koj pom hauv Arduino GPS Shield Tutorial video, koj yuav tsum xaiv GPS, Terminal, Text-to-speech and Voice recognition shields.

Thaum koj taug kev mus rau lub ntsej muag lees paub lub suab thiab qhia koj lub xov tooj qhov chaw koj xav tau raws li txoj kab nruab nrab thiab qhov ntev, nws yuav suav qhov nrug ntawm qhov chaw tam sim no thiab qhov chaw cuam tshuam nrog kev nkag mus latitude & longitude thiab qhia koj nrov nrov ntawm qhov deb thiab kuj tau sau rau hauv Terminal shield tab.

Hauv qhov kev qhia no, Kuv xav paub qhov kev ncua deb ntawm kuv qhov chaw tam sim no "Lub tuam txhab Sib Koom" thiab Ramsis Tsheb ciav hlau Chaw Nres Tsheb hauv Cairo lub nroog thiab nws yog 8.327 km thiab kuv suav nws los ntawm Google maps ib yam uas qhov yuam kev me me (Google maps nrug deb: 8.22km raws li cov screenshots).

Pom zoo: