Cov txheej txheem:
- Kauj ruam 1: Yam Koj Yuav Tsum Tau
- Kauj ruam 2: Circuit Court
- Kauj Ruam 3: Pib Visuino, thiab Xaiv Arduino UNO Board Type
- Kauj Ruam 4: Hauv Visuino Ntxiv Cheebtsam
- Kauj Ruam 5: Hauv Visuino Teeb Cov Khoom
- Kauj Ruam 6: Hauv Visuino Connect Components
- Kauj Ruam 7: Tsim, Ua Ke, thiab Tshaj Tawm Arduino Code
- Kauj ruam 8: Mount thiab Ua Si
Video: Arduino Tsheb kauj vab Speedometer Siv GPS: 8 Kauj Ruam
2024 Tus sau: John Day | [email protected]. Kawg hloov kho: 2024-01-30 09:26
Hauv qhov kev qhia no peb yuav siv Arduino thiab Visuino los tso saib lub tsheb kauj vab tam sim no los ntawm GPS ntawm ST7735 zaub.
Saib daim vis dis aus.
Kauj ruam 1: Yam Koj Yuav Tsum Tau
- Arduino UNO (Los yog lwm yam Arduino)
- LCD Zaub TFT 7735
- GPS Neo M6 V2 module
- Jumper xov hlau
- Cov qhob cij
- Visuino program: Rub tawm Visuino
- Roj teeb rau lub zog Arduino (Hauv kuv qhov xwm txheej kuv tsuas yog siv lub txhab nyiaj hluav taws xob)
- Qee lub npov kom muab txhua yam tso rau hauv.
- Tsheb kauj vab los sim nws
Kauj ruam 2: Circuit Court
LCD TFT ST7735
Txuas:
1.8 TFT Display PIN [LED] rau Arduino PIN [3.3 V]
1.8 TFT Display PIN [SCK] rau Arduino PIN [13]
1.8 TFT Display PIN [SDA] rau Arduino PIN [11]
1.8 TFT Display PIN [A0 lossis DC] rau Arduino PIN [9]
1.8 TFT Display PIN [RESET] rau Arduino PIN [8]
1.8 TFT Display PIN [CS] rau Arduino PIN [10]
1.8 TFT Display PIN [GND] rau Arduino PIN [GND]
1.8 TFT Display PIN [VCC] rau Arduino PIN [5V]
NCO TSEG: Qee lub Arduino cov laug cam muaj sib txawv SPI pins kom ntseeg tau tias koj txheeb xyuas koj cov ntaub ntawv teev tseg.
GPS neo 6m:
CONNECT gps neo 6m PIN [TXD] to Arduino PIN [RX]
Kauj Ruam 3: Pib Visuino, thiab Xaiv Arduino UNO Board Type
o pib tsim lub Arduino, koj yuav tsum muaj Arduino IDE teeb tsa los ntawm no:
Thov nco ntsoov tias muaj qee qhov teeb meem tseem ceeb hauv Arduino IDE 1.6.6. Nco ntsoov tias koj nruab 1.6.7 lossis siab dua, txwv tsis pub Cov Lus Qhia no yuav tsis ua haujlwm! Yog tias koj tsis tau ua raws cov kauj ruam hauv Phau Ntawv Qhia no teeb tsa Arduino IDE rau program Arduino UNO! Visuino: https://www.visuino.eu tseem yuav tsum tau teeb tsa. Pib Visuino raws li pom hauv thawj daim duab Nyem rau ntawm "Cov cuab yeej" khawm ntawm Arduino tivthaiv (Daim Duab 1) hauv Visuino Thaum qhov kev sib tham tshwm, xaiv "Arduino UNO" raws li qhia hauv daim duab 2
Kauj Ruam 4: Hauv Visuino Ntxiv Cheebtsam
- Ntxiv "Serial GPS" tivthaiv
- Ntxiv "TFT Xim Zaub ST7735" tivthaiv
Kauj Ruam 5: Hauv Visuino Teeb Cov Khoom
-
Xaiv "Display1" tivthaiv thiab teeb tsa "Hom" rau "dtST7735R_BlackTab" NCO TSEG: Qee Cov Lus Qhia muaj cov yam ntxwv sib txawv yog li sim los ntawm kev xaiv hom sib txawv los nrhiav qhov uas ua haujlwm tau zoo tshaj plaws, hauv kuv qhov xwm txheej kuv xaiv "dtST7735R_BlackTab"
- Ob npaug nias rau "Display1" tivthaiv thiab hauv "Elements" dialog drag 2x "Text Field" mus rau sab laug
Xaiv "Text Field1" (ntawm sab laug) thiab hauv qab "Properties" qhov rai teeb tsa:
- Loj: 3
- Thawj Tus Nqi: XEEM
- dav: 6
- X: 10 hli
- Y: 10 hli
Xaiv "Text Field2" (ntawm sab laug) thiab hauv qab "Properties" qhov rai teeb tsa:
- Loj: 5
- dav: 6
- Xwm: 5
- Y: 80 ib
Kauj Ruam 6: Hauv Visuino Connect Components
- Txuas "GPS1" tiv thaiv tus pin [Tawm] rau Arduino tus pin Hauv [Serial 0]
- Txuas "GPS1" tiv thaiv tus pin [Ceev] mus rau "Display1" tivthaiv Text Field2 tus pin [Hauv]
- Txuas "Display1" tiv thaiv tus pin [Tawm] rau Arduino tus pin SPI [Hauv]
- Txuas "Display1" tiv thaiv tus pin [Chip Xaiv] rau Arduino Digital tus pin [10]
- Txuas "Display1" tiv thaiv tus pin [Pib dua] rau Arduino Digital tus pin [8]
- Txuas "Display1" tiv thaiv tus pin [Sau Npe Xaiv] rau Arduino Digital tus pin [9]
Kauj Ruam 7: Tsim, Ua Ke, thiab Tshaj Tawm Arduino Code
- Hauv Visuino, Nias F9 lossis nyem rau ntawm lub pob uas qhia ntawm daim duab 1 los tsim Arduino code, thiab qhib Arduino IDE
- Hauv Arduino IDE, nyem rau ntawm Upload khawm, txhawm rau sau thiab xa cov cai (Daim duab 2)
Nco tseg: Nco ntsoov thaum koj tab tom tso cov cai rau Arduino rau Disconnect Arduino tus pin [RX]
Kauj ruam 8: Mount thiab Ua Si
Muab Arduino thiab GPS module rau qee lub thawv yas, siv lub roj teeb, teeb nws ntawm lub tsheb kauj vab, xyuas kom tseeb tias GPS antena pom thiab tig mus rau saum ntuj.
Yog tias koj siv zog Arduino UNO module, Cov Zaub yuav pib qhia qhov nrawm ntawm lub tsheb kauj vab tam sim no.
Nrog koj zoo siab! Koj tau ua tiav koj txoj haujlwm Speedometer nrog Visuino. Kuj txuas nrog yog Visuino qhov haujlwm, uas kuv tau tsim rau qhov Qhia Qhia no. Koj tuaj yeem rub tawm thiab qhib nws hauv Visuino:
Muaj ntau qhov hloov pauv tau rau txoj haujlwm no xws li ntxiv nrug, nrawm nruab nrab, thiab lwm yam Siv koj lub tswv yim thiab kev muaj tswv yim!
Pom zoo:
Tsheb kauj vab Speedometer Zaub: 10 Kauj Ruam (nrog Duab)
Tsheb kauj vab Speedometer Zaub: Nws Yog Dab Tsi? Raws li lub npe qhia, hauv txoj haujlwm no koj yuav kawm paub yuav tsim cov zaub rau koj lub tsheb kauj vab uas muaj ob lub ntsuas cua thiab lub ntsuas cua. Qhia lub sijhawm nrawm thiab nrug deb li cas. Tus nqi tag nrho ntawm txoj haujlwm no los txog rau
Tsheb kauj vab Speedometer: 3 Kauj Ruam
Tsheb kauj vab Speedometer: Nyob zoo cov phooj ywg … Hauv phau ntawv qhia no kuv yuav piav qhia yuav ua li cas thiaj ua lub ntsuas tsheb kauj vab nrawm, qhov tseeb kuv muaj lub tsheb kauj vab qub qub uas nws lub tshuab ntsuas hluav taws xob tau tawg ntev dhau los, thiab kuv txiav txim siab hloov nws nrog ib qho hluav taws xob, tab sis
Tus Ntxhais Lub Tsheb kauj vab Zoo Tshaj Plaws Tsheb Teeb: 12 Kauj Ruam (nrog Duab)
Tus Ntxhais Qhov Zoo Tshaj Plaws Tsheb Tom Qab: Qhov no yog hais txog lub roj teeb ua lub teeb pom kev tom qab hauv lub plawv zoo li daim ntawv.Rau qhov laj thawj kev nyab xeeb, lub teeb nraub qaum zoo yog qhov tseem ceeb rau menyuam yaus caij tsheb kauj vab. Yog li nws yuav tsum ntseeg tau tiag tiag.Koj ib txwm hnov qab tig lub teeb tom qab thaum lawv pib caij tsheb kauj vab. Yog li nws tsis yog
Tsheb kauj vab Infinity - Kev Qhia Tsheb kauj vab hauv tsev: 5 kauj ruam
Tsheb kauj vab Infinity - Kev Qhia Tsheb kauj vab sab hauv tsev: Hauv lub caij ntuj no, hnub txias thiab huab cua tsis zoo, cov neeg caij tsheb kauj vab tsuas yog muaj ob peb txoj hauv kev los qoj ib ce ua lawv nyiam ncaws pob. Peb tab tom nrhiav ib txoj hauv kev los qhia kev sab hauv tsev nrog tsheb kauj vab/tus kws qhia teeb tsa kev lom zem me ntsis tab sis feem ntau
Tsheb kauj vab GPS LOSSIS tsheb taug qab ntawm SMARTPHONE: 9 Kauj Ruam
GPS BIKE LOS YOG CAR TRACKING FROM SMARTPHONE: Nyob Zoo, Zoo Siab Txais Tos rau Kev Tsim Kho Buzz. Ntawm no kuv qhia koj Li Cas Koj Taug Qab Koj Lub Tsheb Tsheb lossis Tsheb. Koj tuaj yeem taug qab qhov chaw nyob ntawm lub tsheb kauj vab siv cov tswv yim no