Cov txheej txheem:
- Khoom siv
- Kauj Ruam 1: Laum Lub Thawv
- Kauj ruam 2: Soldering
- Kauj ruam 3: Programming
- Kauj Ruam 4: Txuas Yam
- Kauj Ruam 5: Xeem thiab Daim Ntawv Qhia
- Kauj Ruam 6: Ua tiav thiab sau tseg
Video: Arduino GPS Logger: 6 Kauj Ruam
2024 Tus sau: John Day | [email protected]. Kawg hloov kho: 2024-01-30 09:26
Koj puas tau xav teev koj qhov chaw nyob thiab tshuaj xyuas koj txoj hauv kev hauv daim duab qhia chaw? Txheeb xyuas lub tsheb lossis tsheb txoj kev? Pom koj lub tsheb kauj vab taug qab tom qab taug kev ntev? (Los yog neeg soj xyuas ntawm y̶o̶u̶r̶ someonew̶i̶f̶e ib tus neeg siv koj lub tsheb?:)) Nws yog txhua yam ua tau los ntawm kev pab ntawm lub cuab yeej me me no. Nws hu ua GPS logger, tsis yog GPS tracker, vim koj tsis muaj lub sijhawm los tshuaj xyuas nws thaum mus. Cov ntaub ntawv raug khaws tseg rau hauv SD daim npav thiab koj tuaj yeem tshawb xyuas koj cov lus tom qab.
Cov cuab yeej yog lub thawv yas me me nrog Arduino sab hauv. Lub Nano siv GPS tus qauv txhawm rau taug qab nws txoj haujlwm thiab daim npav SD kom teev nws. Kuj tseem muaj me me RGB LED rau kev tawm tswv yim. Yog tias koj paub txog yam khoom siv, koj tuaj yeem ua cov cuab yeej no hauv ib teev. Kuv tab tom yuav sau ib qib zuj zus qhia ntawm kev tsim kom peb pib ua.
Kuv ib txwm siv kab lus 'SD card' thaum lub sijhawm qhia tab sis kuv txhais li cas tiag yog daim npav micro SD.
Kuv paub tias leej twg tuaj yeem siv lub xov tooj smartphone los ua qhov no, tab sis qhov kev lom zem nyob qhov twg?
PS: Kuv ntseeg tag nrho kuv tus poj niam (tam sim no:))
Khoom siv
Yam uas koj xav tau:
- Arduino Nano tau tshaj lub rooj tsavxwm
- GPS module (U-blox NEO 6M nrog UART)
- SD daim npav module
- SD daim npav
- RGB LED (yeem, tab sis muaj txiaj ntsig zoo)
- Resistors rau LED (3 daim ntawm ib puag ncig 330 Ohm, tuaj yeem yog 1K nrog qhov siab siv LEDs)
- Lub thawv yas me me
- DC txuas
- 12V Tsheb luam yeeb sib zog ntsaws (xaiv tau)
Cov Cuab Yeej:
- Soldering hlau thiab solder
- Cov cuab yeej yooj yim
- Fais laum
- Ob daim kab xev los yog kua nplaum kub (Tuaj, txhua tus nyiam kub kua nplaum)
- PC rau program Arduino
Kauj Ruam 1: Laum Lub Thawv
Tu siab kuv tsis muaj lub tshuab luam ntawv 3D, yog li kuv yuav tsum xaj lub thawv yas me me los ntawm Tuam Tshoj thiab tho qhov rau nws. Lub thawv yuav tsum me me, tab sis loj txaus kom haum txhua lub tshuab hluav taws xob sab hauv. Yog tias koj sau cov khoom sib xyaw koj yuav paub tseeb tias nws yuav tsum loj npaum li cas. Kuv xaj 5 daim ntawv me me dub, zoo li kuv kuj xav tau ob peb ntawm lawv rau lwm qhov haujlwm. Lub casing yuav tsum tsis yog hlau, raws li GPS module yuav tsis tuaj yeem taug qab ib qho GPS satellites.
Koj yuav xav tau ob lub qhov. Ib qho rau DC txuas thiab ib qho rau LED. Yog tias koj xav tsis siv LED, koj pom tseeb tsuas yog yuav tsum tau tho ib lub qhov. Rau kuv DC txuas, Kuv xav tau lub qhov taub 8 hli, thiab rau lub LED 5 hli qhov.
Kauj ruam 2: Soldering
Yog tias koj Nano los tsis muaj lub taub hau laug, koj tuaj yeem muab lawv tso rau hauv qhov chaw lossis tso nws raws li nws yog, yog li nws yuav tiaj tus tiag tiag. Yog tias koj xaiv tsis siv lub taub hau, muab cov khoom sib txuas rau Arduino hauv Cov Khoom Txuas Txuas. Yog tias koj siv Nano nrog tus txiv neej lub taub hau, muab cov poj niam txuas rau lub xov hlau. Koj yuav xav siv cov raj cua sov kom tiv thaiv txhua yam zoo.
Yog tias koj xaiv siv RGB LED zoo li kuv tau ua, koj yuav tsum tau muab cov tshuaj tiv thaiv rau cov cathodes. Kuv siv hom anode nquag ntawm LED. (Yog tias koj siv hom cathode ib txwm, koj yuav tsum tau muab cov tshuaj tiv thaiv rau cov anodes, hloov kho cov cai thiab txuas nws mus rau GND tsis yog 5V.)
NEO-6M GPS module muaj 4 txuas. Peb tsuas yog siv 3 ntawm lawv, VCC, GND thiab Tx. Tus qauv GPS siv kev sib txuas lus txuas thiab peb yuav siv software txuas mus nyeem nws. VCC mus rau 5V, GND rau GND thiab Tx rau Arduino tus pin D9.
Lub micro SD daim npav muaj 6 txuas. Nws siv SPI kev sib txuas lus. Arduino D11 yuav mus rau MOSI, D12 rau MISO, D13 rau SCK thiab D4 rau Chip Xaiv lossis CS.
Koj xav tau ob lub xov hlau rau DC txuas. Ib qho yog rau GND thiab lwm qhov rau 5-12V DC. Koj tuaj yeem siv ntau yam khoom siv fais fab los txhawb lub cuab yeej. Koj tuaj yeem siv lub 12V tsheb luam yeeb ntsaws ntsaws (tsis yog 24V lub tsheb ntsaws ntsaws ntsaws), 2 lossis 3 cell LiPo roj teeb, 5V lub txhab nyiaj fais fab lossis txhua yam uas muab rau koj 5-12V DC.
Kauj ruam 3: Programming
Koj tuaj yeem siv kuv daim duab kos los teev cia txoj haujlwm ntawm lub cuab yeej lossis koj tuaj yeem sau koj tus kheej.
Yog tias koj xaiv siv kuv daim duab, koj yuav tsum rub cov program program thiab SdFat lub tsev qiv ntawv. Luam cov ntaub ntawv thiab txav cov ntawv mus rau koj daim ntawv Arduino. SdFat nplaub tshev mus rau cov ntawv tais ceev tseg.
Txuas koj Arduino rau koj lub PC. Nco ntsoov tias koj muaj tag nrho cov tsav tsheb tsim nyog tau teeb tsa. Hauv Arduino IDE xaiv koj pawg thawj coj thiab chaw nres nkoj tsim nyog. Qhib qhov haujlwm, ntaus upload thiab thov Vajtswv. Yog tias txhua yam mus tau zoo, koj yuav tsum tsis muaj qhov yuam kev thiab koj li GPS logger firmware tau npaj siv.
Koj tsis tas yuav tsim cov ntaub ntawv teev cia tus kheej, txoj haujlwm yuav tsim ib qho, yog tias nws pom tsis muaj log.txt ntawm SD card.
Kauj Ruam 4: Txuas Yam
Koj yuav tsum ua cov kev sib txuas raws li sau hauv qab no. Cov duab tuaj yeem pab tau. Nco ntsoov kom muaj kev tiv thaiv kev nyab xeeb, vim lub cuab yeej tuaj yeem ua rau poob siab lossis tshee thaum caij.
Txuas lub LED Anode rau Arduino 5V, RED rau D3, GREEN rau D5 thiab XEEB rau D6. Koj tuaj yeem siv lwm tus pin yog tias koj xav tau, tab sis nco ntsoov, tias koj yuav tsum hloov pauv cov ntsiab lus hauv txoj haujlwm program ib yam nkaus.
Txuas lub GPS VCC rau Arduino 5V, GND rau GND thiab Tx rau D9.
Txuas SD module MOSI rau Arduino D11, MISO rau D12, SCK rau D13 thiab CS rau D4. Koj tsis tuaj yeem siv lwm tus pin rau cov kev sib txuas no, qhov sib txawv tsuas yog CS, uas koj yuav tsum tau hloov pauv hauv txoj haujlwm program.
Txuas GND ntawm DC txuas rau Arduino GND. Txuas 5-12V ntawm DC txuas rau Arduino VIN. Tsis txhob txuas nws rau 5V!
Nws tau qhia kom nce tag nrho cov khoom siv mus rau lub hauv paus ntawm cov ntaub thaiv kom sab saum toj tuaj yeem raug tshem tawm. (Kuv ruaj ntseg txhua yam mus rau sab saum toj kom kuv tuaj yeem nkag mus rau SD daim npav tau yooj yim. Tsuas yog ib qho ntawm lub hauv paus yog DC txuas. Qhov no yuav tsis muaj teeb meem nrog kev cai tsim 3D luam ntawv.)
Koj tuaj yeem siv daim kab xev ob tog lossis kua nplaum kub. Koj tseem tuaj yeem ruaj ntseg cov qauv nrog cov ntsia hlau me.
Kauj Ruam 5: Xeem thiab Daim Ntawv Qhia
Txhawm rau ntsuas lub cuab yeej, koj yuav tsum ua kom muaj zog. Cov lus tawm tswv yim LED yuav qhia koj txog cov xwm txheej ntawm lub cuab yeej. Nws yuav xav tau ob peb feeb (tshwj xeeb tshaj yog thawj zaug) txhawm rau taug qab cov hnub qub txaus. Thaum nws tuaj yeem pom lub hnub qub txaus, lub sijhawm thiab txoj haujlwm yuav nkag mus rau hauv daim npav micro SD, thiab txoj haujlwm yuav tos 20 vib nas this. Koj tuaj yeem qhia nws los ntawm LED. Nws yuav ntsuab rau lub sijhawm luv luv, tom qab ntawd xiav. Koj tuaj yeem fiddle nyob ib puag ncig hauv kuv cov cai, yog tias lub sijhawm txiav luv luv rau koj (teeb lub sijhawm pw tsaug zog raws li xav tau hauv milliseconds). Yog tias lub cuab yeej pom tsis muaj lub hnub qub, LED yuav nyem RED. Yog tias nws pom qee qhov, tab sis tsis txaus, nws yuav nyem YELLOW. Lub cuab yeej tsuas yuav nkag mus rau txoj haujlwm yog tias nws taug qab ntau dua, ntau dua 5 lub hnub qub thiab cov ntaub ntawv qhia tau zoo los ntawm GPS yog 1. Nws yuav teev hnub tim, sijhawm, ntev, ntev, latitude, nrawm, cov ntaub ntawv zoo thiab tus lej ntawm cov hnub qub taug qab. Yog tias tsis muaj daim npav SD txuas lossis nws tsis pom, lub LED yuav nyem nrog RED thiab XEEB teeb.
Txhawm rau pom koj txoj hauv kev ntawm daim ntawv qhia, koj xav tau cov ntaub ntawv los ntawm daim npav micro SD. Koj yuav tsum luam cov ntsiab lus ntawm txt cov ntaub ntawv teev tseg thiab muab tshuaj txhuam rau kom zoo. Koj yuav tsum theej kab ntawv ntev thiab kab rov tav ntawm koj daim ntawv.
Muab cov ntaub ntawv tso rau hauv lub vev xaib no kom pom cov txiaj ntsig:
www.gpsvisualizer.com/map_input?form=data
Koj yuav tsum uncheck qhov 'Qhib hauv lub qhov rai tshiab' xaiv. Nws yuav ceeb toom txog cov ntaub ntawv, tab sis tsis txhob txhawj, nws yuav ua haujlwm. Ntaus 'Kos daim duab qhia chaw' khawm nrawm thiab nyuaj thiab nyob ntawd koj muaj nws.
Kauj Ruam 6: Ua tiav thiab sau tseg
Koj ua tiav! C̶o̶n̶g̶r̶a̶t̶h̶s̶u̶t̶i̶o̶n̶! ̶ ̶C̶o̶n̶g̶r̶a̶s̶u̶l̶a̶t̶i̶o̶n̶! Ua tsaug!
Sau ntawv:
- Kev sib txuas GPS xav tau qee lub sijhawm los tsim
- Nws nrawm dua yog tias koj sim nws hauv huab cua qhib, tab sis nws tseem ua haujlwm hauv tsheb thiab tsheb thauj khoom
- Tsis txhob siv ntau dua 12V los txhawb lub cuab yeej
- Cov lus tawm tswv yim LED yog nyob ntawm yeem
- Cov ntaub ntawv hnub thiab sijhawm tuaj yeem ua tsis ncaj, qhov xwm txheej tshwj xeeb tshwm sim hauv txoj haujlwm ntawm cov cim tsis ncaj. GPS module xa cov ntaub ntawv tsis ncaj ncees, yog li kuv tsis tuaj yeem nrhiav kev daws teeb meem.
- Tsis txhob saib ncaj qha ntawm qhov ua haujlwm kawg ntawm lub cuab yeej
- Tsis txhob submerge lub cuab yeej ua kua, txawm tias ib nrab
Thaum siv lub cuab yeej los ntawm 12V rau lub sijhawm ntev, qhov ntsuas hluav taws xob ntawm Arduino yuav kub. Nws tsis yog nyob hauv qhov tsis ua haujlwm lossis rov teeb tsa kub ntau, tab sis nyob rau hauv qhov hottothetouchbutitshouldbeokay ntau. Kev siv ntau dua 12V tuaj yeem ua rau lub ntsuas hluav taws xob nyob hauv tsev puas.
Tam sim no koj tau npaj los siv lub cuab yeej me me no los teev koj txoj kev taug thiab qhia nws thaum muaj ncuav mog qab zib. Thaum koj ua tiav, kuv yuav tsum hais: Tsis ntseeg! Koj, Lub Npe Lub Npe Ntawm No, yuav tsum yog kev khav theeb ntawm Lub Tsev Kawm Hauv Ntej Ntawm No.
Pom zoo:
GPS Cap Cov Ntaub Ntawv Logger: 7 Kauj Ruam (nrog Duab)
GPS Cap Cov Ntaub Ntawv Logger: Nov yog qhov haujlwm zoo rau hnub so, yog tias koj tab tom taug kev lossis caij tsheb kauj vab ntev, thiab xav tau GPS cov ntaub ntawv logger txhawm rau taug qab txhua qhov koj taug kev/caij koj tau coj … Thaum koj ua tiav kev tsim thiab rub tawm cov ntaub ntawv los ntawm GPS module ntawm tr
OpenLogger: Kev daws teeb meem siab, Wi-nkaus Enabled, Qhib Qhov Chaw, Portable Logger Logger: 7 Kauj Ruam
OpenLogger: Kev daws teeb meem siab, Wi-nkaus Enabled, Open Source, Portable Data Logger: OpenLogger yog lub tshuab nqa tau, qhib qhov chaw, tus nqi qis, daws teeb meem cov ntaub ntawv logger tsim los muab kev ntsuas zoo uas tsis tas yuav siv software kim lossis sau software. los ntawm kos. Yog tias koj yog tus kws tshaj lij, kws tshawb fawb, lossis tus neeg txaus siab uas tsis yog
Nest Thermostat History Logger Logger: 6 Cov Kauj Ruam (nrog Duab)
Nest Thermostat Keeb Kwm Cov Ntaub Ntawv Logger: Zes thermostat ntsuas qhov ntsuas kub, av noo thiab cua sov/siv AC thiab cov neeg siv tuaj yeem pom cov ntaub ntawv keeb kwm tsuas yog 10 hnub. Kuv xav sau cov ntaub ntawv keeb kwm (> 10 hnub) thiab tuaj hla google spreadheets tsab ntawv uas pings zes txhua lub sijhawm
Arduino GPS Logger: 3 Kauj Ruam
Arduino GPS Logger: Nyob zoo cov phooj ywg, Kuv tau tawm mus zoo rau cov haujlwm me me uas tso cai rau tib neeg nkag siab ntau ntxiv ntawm cov thev naus laus zis uas peb muaj nyob ib puag ncig txhua hnub. Txoj haujlwm no hais txog GPS tawm thiab SD txiav tawm. Kuv kawm ntau yam tsuas yog tsim cov khoom no. Th
GPS Logger Arduino OLed SD: 6 Cov Kauj Ruam (nrog Duab)
GPS Logger Arduino OLed SD: GPS logger los qhia koj tam sim no thiab qhov nruab nrab nrawm thiab taug qab koj txoj kev. Qhov nruab nrab nrawm yog rau cov cheeb tsam uas muaj kev tswj ceev nrawm. Arduino muaj qee qhov zoo uas koj tuaj yeem luam tau:- Kev tswj hwm tau khaws cia rau hauv cov ntaub ntawv txhua hnub, cov ntaub ntawv npe yog lub hauv paus