Cov txheej txheem:

Nkag mus rau OEM GPS Rau Txhua Yam: 7 Kauj Ruam
Nkag mus rau OEM GPS Rau Txhua Yam: 7 Kauj Ruam

Video: Nkag mus rau OEM GPS Rau Txhua Yam: 7 Kauj Ruam

Video: Nkag mus rau OEM GPS Rau Txhua Yam: 7 Kauj Ruam
Video: Qhia ລ້າງເຄືອງ oppo A5 2020 tsis pub muaj teeb meem 2024, Hlis ntuj nqeg
Anonim
Nkag mus rau OEM GPS rau txhua yam
Nkag mus rau OEM GPS rau txhua yam
Nkag mus rau OEM GPS rau txhua yam
Nkag mus rau OEM GPS rau txhua yam

Kuv yuav qhia koj yuav ua li cas txhawm rau kho qhov kho tau zoo heev OEM GPS chav nyob. Cov no yog cov khoom siv zoo uas tuaj yeem siv rau hauv txhua yam. Kev tsim cov txheej txheem ua kom tiav yog ua haujlwm ntau. Nws ib txwm xav tau kev paub tshwj xeeb txog ob peb yam. Txawm tias tom qab txhua qhov kev kawm tau kawm, nws tseem siv sijhawm ntau los ua txhua yam ua ke. Kuv xub txiav txim siab sim tsim kuv tus kheej GPS tus txais, tab sis tom qab saib daim ntawv hais txog GPS thiab GLONASS txoj kev xav, Kuv txiav txim siab tawm tsam qhov kev mob siab rau vim tias nws yuav siv sijhawm ib nrab xyoo. rau hauv peb cov phiaj xwm kev cai (Kuv siv lawv hauv kev siv neeg hlau), lossis tsuas yog kawm paub ntau ntxiv, muaj kev xaiv loj ntawm OEM GPS chav. Qhov OEM txhais tau tias nws txhais tau tias yog koom nrog lwm cov haujlwm thiab tsis tuaj nrog lub vijtsam, casing., los yog tej yam ntxiv. Qhov zoo tshaj plaws txog feem ntau ntawm cov cuab yeej no yog tias lawv muaj ntau yam sib txawv thiab yooj yim rau kev sib txuas. Raws li ib txwm muaj, Kuv tau muab cov lus qhia no hauv cov vis dis aus ib yam nkaus: Kuv yuav ua qhov zoo tshaj plaws los piav qhia txhua ntu hauv kev nthuav dav thaum peb ua mus ntxiv.

Kauj Ruam 1: Cov Khoom Xav Tau

Cov Khoom Siv Xav Tau
Cov Khoom Siv Xav Tau
Cov Khoom Siv Xav Tau
Cov Khoom Siv Xav Tau
Cov Khoom Siv Xav Tau
Cov Khoom Siv Xav Tau

1. Lub zog nyob ib puag ncig 5v (3 AA lossis AAA roj teeb hauv koob yog 4.5V lossis 9V nrog lub ntsuas hluav taws xob) 2. Yog tias siv 9V - 5v tus tswj hluav taws xob 3. Hlau txuas rau lub roj teeb 9v4. daim ntawv qhia zaub mov 5. poj niam serial chaw nres nkoj 6. qee cov xov hlau los txuas rau qhov chaw nres nkoj serial7. tooj liab hlau 8. Yog tias koj muaj teeb meem nrhiav chaw nres nkoj, koj tuaj yeem sib cais cov khoom qub. Kuv tore sib nrug ib lub qub digital lub koob yees duab adapter. Tus qauv uas kuv yuav ua qauv qhia tias yuav ua li cas txhawm rau siv thiab siv yog Garmin GPS15L. Txawm li cas los xij, cov lus qhia no yuav tsum siv tau zoo thoob plaws cov qauv sib txawv. GPS15L tso tawm raws RS232 qib ntu uas yog Parallax Gps chav tso tawm ntawm qib TTL. Qhov no txhais tau tias Parallax tus qauv yuav tsis ua haujlwm zoo li peb tau txuas rau chav no. TTL qib feem ntau yog siv rau kev sib txuas lus hauv Circuit Court. Yog li Parallax chav yuav zoo dua yog tias koj xav kom nws txuas txoj cai rau lub micro tswj thiab tsis yog rau koj lub PC.

Kauj ruam 2: Hooking Up

Nqis Nws
Nqis Nws
Nqis Nws
Nqis Nws
Nqis Nws
Nqis Nws

Qhov tseeb sib txuas ntawm chav tsev yog yooj yim zoo nkauj. Yog tias koj siv tus tswj hluav taws xob, nco ntsoov txuas hauv av mus rau qhov tsis zoo ntawm lub roj teeb, chaw nres nkoj txuas, thiab GPS. Koj tuaj yeem siv txhua hom khoom siv hluav taws xob uas koj xav tau tsuav yog koj muab nws nyob hauv thaj tsam uas tau muab hauv phau ntawv tsim khoom. (GPS15L 3.3 - 5.4VDC) USB chaw nres nkoj tso tawm 5.05V ib txwm, yog li ntawd tseem yog qhov kev xaiv. Kuv thaum xub thawj muaj lub teeb fiber ntau optic tawg uas coj 3 AA roj teeb. Ib lub roj teeb AA lossis AAA yog 1.5 volts. Lub teeb fiber ntau optic muaj lub roj teeb txuas hauv kab, yog li qhov tso tawm tiag yog 3x1.5 = 4.5volts. Kuv xub siv cov khoom siv hluav taws xob fiber ntau lub zog txiav tawm thiab muab tso rau hauv Tupperware ntim nrog GPS chav nyob. Qhov sib txawv tsuas yog tias tsis muaj tus tswj hluav taws xob. Kuv tsuas yog nqes cov av ua ke thiab ncaj qha txuas cov xov hlau.

Kauj Ruam 3: Xeem ntawm Linux

Kuaj ntawm Linux
Kuaj ntawm Linux
Kuaj ntawm Linux
Kuaj ntawm Linux
Kuaj ntawm Linux
Kuaj ntawm Linux

Kev nkag mus rau chaw nres nkoj Ua ntej koj tuaj yeem ua dab tsi nrog koj lub GPS chav nyob ntawm Linux, koj yuav zaum yuav tsum tau ua kom ntseeg tau tias tau txais kev nyeem thiab sau nkag mus rau qhov chaw nres nkoj koj yuav tau sim nrog. Feem ntau cov chaw nres nkoj nyob hauv /dev /ttys0, /dev /ttys1, … thiab lwm yam Yog tias koj siv cov ntawv txuas rau usb adapter, koj yuav tuaj yeem pom nws ntawm /dev /ttyUSB Minicom Tawm ntawm txhua qhov kev thov uas kuv tau sim ua ntej los siv rau kev tshuaj xyuas qhov chaw nres nkoj/sib txuas ntawm Linux, qhov yooj yim tshaj plaws uas kuv pom siv yog "minicom". Daim ntawv thov no raug tsoo thiab ploj yog nws tau teeb tsa ua ntej lossis tsis yog nyob ntawm kev faib khoom koj siv. Ubuntu 8 tsis tuaj nrog nws ua ntej teeb tsa, tab sis raws li koj tuaj yeem pom los ntawm kev tshuaj ntsuam, nws tsuas yog siv ob peb feeb kom nws tau teeb tsa thiab ua haujlwm. Thawj qhov koj yuav tsum tau ua nrog minicom yog teeb tsa nws kom siv tsis raug Koj tuaj yeem teeb tsa daim ntawv thov los ntawm kev siv kab hais kom ua hloov -s Ntxiv rau thaum koj tab tom khiav minicom, koj tuaj yeem nkag mus rau cov ntawv qhia zaub mov los ntawm nias "ctrl" thiab "a" thiab tom qab ntawd nias "z" Serial rau USB Adapter Tus adapter uas kuv tam sim no siv, Kuv tsim kuv tus kheej. Txawm li cas los xij, Kuv xav pom zoo kom yuav lub adapter raws li FTDI series ntawm cov chips. FTDI muab kev txhawb nqa tsav tsheb zoo thoob plaws txhua lub platform! Sparkfun muaj qee qhov kev daws teeb meem ua ntej ua ke. Lawv kuj tseem muaj kev qhia zoo txog kev siv RS232RL nti nrog Eagle txhawm rau ua koj tus kheej.

Kauj ruam 4: Xeem ntawm Windows

Kev Xeem ntawm Windows
Kev Xeem ntawm Windows
Kev Xeem ntawm Windows
Kev Xeem ntawm Windows
Kev Xeem ntawm Windows
Kev Xeem ntawm Windows

Txhawm rau sim cov khoom zoo li no ntawm Windows Kuv ib txwm siv Hyperterminal. Nws los teeb tsa los ntawm lub sijhawm feem ntau. Kuv xav tias kuv yuav tsum tau teeb tsa nws los ntawm kev ntxiv/tshem cov program ib zaug ntawm cov kab ke khiav Windows Server.

Thawj qhov teeb tsa uas koj yuav xav tau teeb tsa Hyperterminal nrog yog ib txwm nyob hauv phau ntawv tsim khoom. Txog GPS15L, tus nqi baud yog 4800bps. Kuv tau suav nrog lub vijtsam tua ntawm cov ntawv txuas rau usb adapter uas kuv tau siv nrog kuv txoj haujlwm neeg hlau gps. Nws yuav tsum tau hais tias qhov no tau ua tiav ntawm lub tshuab Windows 2000. Tus neeg tsav tsheb txhawb nqa rau kab ntawv no yog qhov txwv. Saib cov kauj ruam dhau los rau tus adapter Kuv thov kom.

Kauj Ruam 5: Nkag Siab Qhov Tawm

Nkag Siab Qhov Tawm
Nkag Siab Qhov Tawm

GPS15L tuaj yeem tso tawm hauv NMEA 0183 v2 lossis NMEA 0183 v3 kab lus. NMEA 0183 tsuas yog lub npe zoo nkauj rau hais tias chav tsev tau tsim cov kab lus kab lus hauv qee hom ntawv. Nov yog hom ntawv uas zoo nkauj heev thoob ntiaj teb ntawm GPS chav nyob rau kev tso tawm cov ntaub ntawv. Ua tsaug, phau ntawv qhia rau GPS15L/H piav qhia txhua kab lus no kom ntxaws.

Thaum koj pib pib 15L nws tawm tag nrho cov kab lus sib txawv. Hauv daim ntawv thov neeg hlau kuv siv qhov no rau, Kuv tau kaw txhua lwm kab lus tshwj tsis yog Cov Lus Qhia Tshwj Xeeb Tshwj Xeeb Tshwj Xeeb GPS/TRANSIT Cov Ntaub Ntawv (RMC). Nram qab no yog piv txwv ntawm kab lus no. $ GPRMC, 163126, V, 4335.2521, N, 08446.0900, W, 000.0, 173.2, 051206, 006.1, W*62 Cov kab lus muaj qhov ntev, latitude, nrawm dua hauv av, kawm hauv av, thiab ntau cov ntaub ntawv muaj txiaj ntsig zoo. Nco ntsoov tias yog tias koj kaw tag nrho cov kab lus tshwj tsis yog RMC, thaum koj mus siv chav nrog software tsis raug cai, qee qhov tshwj xeeb yuav nyob ntawm lwm cov kab lus. Tom ntej no kuv yuav qhia koj yuav hloov kho li cas ntawm 15L/H.

Kauj Ruam 6: Hloov kho GPS Chaw

Hloov kho GPS Chaw
Hloov kho GPS Chaw

Piv txwv tias koj tuaj yeem ua tiav qhov ntsuas ntsuas siv Minicom lossis Hyperterminal, koj yuav tsum tuaj yeem xa cov lus txib rau nws ib yam. Nws koj saib hauv phau ntawv qhia khoom, muaj ntu ntu hu ua "GPS 15H thiab 15L Software Interface". Nqe lus no piav qhia txhua kab lus uas koj tuaj yeem xa rov qab mus rau chav GPS txhawm rau teeb tsa nws. Nws yog qhov yooj yim tiag tiag. Txhua yam koj yuav tsum ua yog ntaus ib qho ntawm kab lus hauv kab lus.

Piv txwv li, hauv Hyperterminal koj tuaj yeem sau qee yam xws li: $ PGRMO, GPRMC, 0 yuav ua rau GPRMC kab lus raug. Koj kuj tseem tuaj yeem sau tag nrho cov lus txib uas koj xav tau ua hauv kab ntawv, tom qab ntawd muaj hyperterminal "hom" ntawv ntawd mus rau chav GPS rau koj.

Kauj ruam 7: Programming

Programming
Programming
Programming
Programming

Qhov kev zoo nkauj tiag tiag ntawm chav OEM tau tawm los thaum koj txiav txim siab tsim cov software tshwj xeeb rau nws. Kuv yuav tsum lees txim tias kuv muaj qhov tsim nyog tau txais kev paub dhau los. Nws yeej tsis yog qhov tsis tseem ceeb los sau cov ntawv tsis nyob hauv thiaj li yuav nyeem cov ntaub ntawv rau hauv daim ntawv thov kev cai. Yog tias koj tsis xav sau kev cai software rau chav tsev, tom qab ntawd kuv xav qhia qhov program gpsDrive rau Linux. Nws yuav ua haujlwm ncaj qha ntawm lub npov nrog txhua yam uas tau nthuav tawm NMEA 0183 kab lus. Yog tias koj xav sau kev cai software, ces koj muaj hmoo. Kuv tau txuas nrog chav kawm uas kuv tau sau hauv Java uas tuaj yeem xa thiab txais cov ntaub ntawv mus rau qhov chaw nres nkoj. Nws yuav tsum tau hais tias Java tsis tuaj los ntawm lub neej ntawd nrog cov chav kawm xav tau los txhawb kev sib txuas lus txuas. Rau cov chav kawm uas kuv tau txuas nrog, kuv tab tom siv qhib lub tsev qiv ntawv RXTX. Yog tias koj tsis ntseeg thiab xav pom chav nyob thiab tus lej ua haujlwm, koj tuaj yeem nkag mus rau kuv lub vev xaib thiab tshawb xyuas cov vis dis aus ntawm tus kheej neeg hlau navigation project. Kuv kuj tseem muaj cov peev txheej ua tiav uas tau siv los rau tus neeg hlau. Muaj qhov tseem ceeb, muaj kev lom zem nrog koj li GPS!

Pom zoo: