Cov txheej txheem:

Teeb Koj Tus Kheej Tus Kheej GPS Saib Xyuas Neeg rau ntawm Raspberry Pi: 8 Kauj Ruam
Teeb Koj Tus Kheej Tus Kheej GPS Saib Xyuas Neeg rau ntawm Raspberry Pi: 8 Kauj Ruam

Video: Teeb Koj Tus Kheej Tus Kheej GPS Saib Xyuas Neeg rau ntawm Raspberry Pi: 8 Kauj Ruam

Video: Teeb Koj Tus Kheej Tus Kheej GPS Saib Xyuas Neeg rau ntawm Raspberry Pi: 8 Kauj Ruam
Video: G-Shock Gulfmaster Showdown | Мастер G Gulfmaster Сравнение | GN-1000 | GWN-1000 | GW... 2024, Kaum ib hlis
Anonim
Teeb Koj Tus Kheej GPS Saib Xyuas Neeg Ua Haujlwm ntawm Raspberry Pi
Teeb Koj Tus Kheej GPS Saib Xyuas Neeg Ua Haujlwm ntawm Raspberry Pi

Hauv qhov haujlwm no kuv yuav qhia koj yuav teeb tsa koj li GPS tus neeg rau zaub mov ntawm Raspberry pi li cas. Nws tsis tas yuav yog Raspberry pi, vim tias software uas peb tab tom yuav siv rau kev taug qab cov neeg rau zaub mov muaj rau Windows thiab Linux ib yam nkaus, yog li koj tuaj yeem tuav qhov no ntawm koj lub tshuab Windows lossis hauv lub tshuab virtual ntawm kev pabcuam huab, nws nyob ntawm koj, tab sis cov lus qhia ntawm no yog rau Raspberry pi 4.

Lub tswv yim pib ib pliag rov qab, hauv Voltlog #272 thaum kuv tau txais lub GPS tracker no zais rau hauv lub hom phiaj dav dav tsheb txuas. Hauv kev xav qhov no yuav tsum tuaj nrog kev pabcuam online online dawb ntawm qee tus tswv hauv Suav tab sis kuv tsis muaj peev xwm txuas mus rau lub server ntawd thiab yog li kuv xav tias vim li cas tsis teeb tsa kuv tus kheej server thiab sim ua ke nrog tus tracker no. Txoj hauv kev no kuv yuav muaj kev ua haujlwm taug qab cov neeg rau zaub mov thiab txhim kho kev ceev ntiag tug vim tias nws yuav yog tus kheej tuav. thiab tsis muaj leej twg yuav nkag tau rau kuv cov ntaub ntawv taug qab.

Kauj ruam 1: Saib Cov Tsim Video

Image
Image

Cov vis dis aus piav qhia tag nrho txoj haujlwm ib qib zuj zus yog li kuv pom zoo kom saib cov vis dis aus ua ntej kom tau txais cov ntsiab lus ntawm txoj haujlwm, cov teeb meem kuv ntsib thiab kuv yuav daws lawv li cas. Tom qab ntawd koj tuaj yeem rov qab los thiab nyeem cov theem hauv qab no rau kev piav qhia ntxaws ntxiv.

Kauj Ruam 2: Muab Cov Khoom Uas Yuav Tsum Tau

Teeb Chaw Xa Ntawv Xa Mus
Teeb Chaw Xa Ntawv Xa Mus

Ntawm qhov tseem ceeb ntawm txoj haujlwm no dag raspberry pi, txhua tus qauv yuav tsum ua haujlwm, tab sis yog tias koj siv ib qho ntawm cov qauv tshiab koj yuav tsum tau txais kev ua tau zoo dua, txhais tau tias software yuav ua haujlwm du dua thiab nws yuav nrawm dua rau nruab. Txog kev siv Kuv tau siv raspberry pi 4 thiab thaum koj yuav twb muaj qhov no Kuv tseem yuav tso qee qhov txuas hauv qab no mus rau qhov chaw uas koj tuaj yeem tau txais raspberry pi 4.

Kuj tseem ceeb heev yog GPS tracker. Kuv tau siv tus qauv uas tsis zoo li lub tsheb txuas. Qhov no yog lub tswv yim ci ntsa iab vim tias yog koj zais qhov no hauv qab ntawm lub dashboard, tsis muaj leej twg yuav xav tias lub luag haujlwm tiag tiag yog dab tsi. Txog GPRS kev sib txuas ntawm GPS tracker thiab server koj yuav xav tau muab cov ntaub ntawv qhib siv daim npav SIM. Xaiv qhov koj nyiam tus neeg teb xov tooj rau qhov no tab sis nco ntsoov cov qauv GPS no tsuas yog ua haujlwm ntawm 2G tes hauj lwm.

Yog tias koj nyob hauv ib lub tebchaws uas 2G tes hauj lwm tau raug tshem tawm koj yuav tsum tau yuav lub 3G qhib GPS tracker, lawv kim dua thiab cov lus qhia muab ntawm no rau teeb tsa lub tracker, tej zaum yuav tsis yog 100% sib xws nrog 3G qhib GPS tracker.

  • Raspberry Pi 4 Qauv B: Txuas 1, Txuas 2, Txuas 3, Txuas 4.
  • Txuas GPS Tracker (2G nkaus xwb): Txuas 1, Txuas 2, Txuas 3, Txuas 4.
  • 3G GPS Trackers: Txuas 1, Txuas 2, Txuas 3.

Kauj Ruam 3: Txhim Kho Tshiab ntawm Raspbian

Kuv yuav pib nrog kev teeb tsa tshiab ntawm Raspbian, Kuv tau rub tawm qhov tseeb ntawm Raspbian Buster Lite los ntawm lub vev xaib raug cai thiab npaj daim npav sd nrog daim duab no siv Balena lwm yam. Qhov no yuav tsum yooj yim ua, nws tsuas yog ib txoj hauv kev teeb tsa raspberry pi. Tom qab Balena lwm yam ua tiav txoj haujlwm, Kuv tau mus rau lub khau raj muab faib ntawm daim npav SD thiab tsim cov ntawv tsis muaj npe hu ua ssh, tsis muaj txuas ntxiv. Qhov no yog txhawm rau pab SSH server ntawm raspberry pi vim tias nws xiam oob qhab los ntawm lub neej ntawd. Thaum ua tiav ntxig daim npav SD rau hauv koj lub raspberry pi, txuas nws mus rau lub network thiab siv lub zog.

Kauj Ruam 4: Teeb tsa Cov Neeg Ua Haujlwm Saib Xyuas Software: Traccar

Cov kauj ruam tom ntej yog teeb tsa tus neeg rau zaub mov taug qab, lub npe ntawm software yog Traccar thiab ntawm no yog lawv lub vev xaib. Peb tab tom yuav siv lub linux caj npab tso tawm, vim tias raspberry pi khiav ntawm caj npab. Lob qhov rub tawm txuas, txuas rau raspberry pi siv koj txoj kev nyiam, Kuv siv SSH ntawm lub network hauv zos. Tom ntej no txhua cov lus txib xav tau los teeb tsa server tau piav qhia hauv qab no:

sudo mkdir/opt/traccar && cd/opt/traccarsudo wget https://github.com/traccar/traccar/releases/download/v4.6/traccar-linux-arm-4.6.zip sudo unzip traccar-linux-arm- 4.6.zip sudo rm -f traccar-linux-arm-4.6.zip sudo./traccar.run // khiav qhov nruab sudo systemctl pib traccar.service

Thaum ua tiav qhib qhov browser ntawm tib lub network thiab sim txuas rau server siv tus IP chaw nyob thiab chaw nres nkoj 8082. Koj yuav tsum tau txais tos nrog lub vev xaib sib tham, lub npe siv tsis raug thiab tus password yog admin. Kuv qhia koj hloov qhov tam sim ntawd. Cov kev pabcuam yuav pib rau khau raj yog li nws tsis tas yuav ua lwm cov kauj ruam ntawm qhov no.

Kauj Ruam 5: Teeb Chaw Xa Ntawv Xa Mus

Yog tias koj tus raspberry pi zaum tom qab lub router lossis firewall zoo li hauv kuv qhov xwm txheej koj yuav xav tau xa mus rau qhov chaw nres nkoj yog li cov cuab yeej sab nraud zoo li GPS tracker tuaj yeem txuas rau peb cov neeg tsim khoom tshiab. Nyob rau hauv rooj plaub ntawm kev xa xov gps tracker uas kuv muaj, nws siv chaw nres nkoj 5013 tab sis qhov no yuav txawv yog tias koj muaj lub cuab yeej sib txawv. Qhov chaw nres nkoj no tseem ceeb heev thiab koj yuav tsum paub seb qhov chaw nres nkoj twg koj tus tracker siv los tsim kev sib txuas. Kuv tab tom siv tp-txuas router ntawm no yog li kuv tsuas yog xa chaw nres nkoj 5013 mus rau qhov chaw nyob IP ntawm raspberry pi server.

Kauj Ruam 6: Sau npe GPS Tracker rau Server

Sau npe GPS Tracker rau Server
Sau npe GPS Tracker rau Server

Tom ntej no peb tuaj yeem ntxiv peb GPS tracker hauv lub vev xaib sib tham ntawm Traccar, ntawm sab laug kuv nyem ntxiv, xaiv lub npe rau koj lub cuab yeej thiab sau rau hauv 10 tus lej cim uas yog daim ntawv lo ntawm ob sab ntawm koj li cas trackers. ntaus ntawv yuav raug qhia ua offline kom txog rau thaum tus neeg rau zaub mov pib tau txais cov ntaub ntawv.

Kauj Ruam 7: Kho lub GPS Tracker

Kho lub GPS Tracker
Kho lub GPS Tracker

Kauj ruam kawg yog teeb tsa GPS tracker thiab cov lus txib tshwj xeeb no siv rau tus tracker uas kuv tab tom siv, koj yuav tsum tau siv cov lus txib sib txawv rau lwm tus tracker tab sis lub tswv yim yog rov pib dua tus tracker, teeb tsa koj tus lej admin, teeb tsa apn teeb tsa rau koj tus neeg teb xov tooj network, teeb tsa tus IP chaw nyob sab nraud peb tau cawm ua ntej, qhov chaw nres nkoj yog 5013. Teev qhov tso tawm zaus hauv vib nas this thiab pab kom GPRS txuas. Rov qab mus rau Traccar lub vev xaib sib tham, xwm txheej yuav tsum hloov mus online thiab peb yuav tsum pib pom cov ntaub ntawv hais txog peb lub cuab yeej.

Kauj Ruam 8: Kev Xav Thaum Kawg

Yog tias koj muaj teeb meem nrog tag nrho cov txheej txheem teeb tsa no, Kuv yuav muab qee qhov kev qhia rau koj los tshuaj xyuas thaum teeb meem. Ua ntej ntawm tag nrho cov tracker no tsuas yog ua haujlwm nrog 2G tes hauj lwm, yog li ua kom ntseeg tau tias koj tus neeg teb xov tooj network txhawb 2G. Daim npav SIM yuav tsum tsis muaj tus pin xauv siv vim tias tus tracker tsis tuaj yeem hla dhau qhov ntawd. Daim npav SIM yuav tsum muaj kev pabcuam cov ntaub ntawv qhib thiab muaj credit txaus los ua cov haujlwm hauv lub network.

Hais txog tus neeg rau zaub mov yog qhov tseem ceeb heev kom tau txais chaw nres nkoj xa mus raug thiab siv qhov raug sab nrauv sab nraud txwv tsis pub koj li khoom siv yuav tsis taw rau tus neeg rau zaub mov raug. Nws kuj tseem ceeb heev kom tau txais qhov chaw nres nkoj raug rau koj lub cuab yeej taug qab tshwj xeeb. Traccar muaj qee cov ntaub ntawv zoo ntawm qhov no yog li ua kom ntseeg tau tias koj txheeb xyuas lawv cov ntaub ntawv thiab rooj sib tham.

Muaj blog tshaj tawm ntawm cov ncauj lus yog tias koj xav xa kuv qee cov lus tawm tswv yim koj tuaj yeem ua tau hauv cov lus pom thiab koj tseem tuaj yeem txheeb xyuas kuv li Youtube channel rau ntau txoj haujlwm txaus: Voltlog Youtube Channel.

Pom zoo: