Cov txheej txheem:
- Kauj ruam 1: GPS yog dab tsi?
- Kauj Ruam 2: YUAV TSUM MUAJ Cov Khoom Uas Yuav Tsum Tau:
- Kauj Ruam 3: CIRCUIT
- Kauj ruam 4: CODE
- Kauj Ruam 5: NTUJ
Video: GPS Nrhiav Qhov Chaw: 5 Kauj Ruam
2024 Tus sau: John Day | [email protected]. Kawg hloov kho: 2024-01-30 09:25
Nyob zoo txhua tus, Hnub no cia peb pom yuav ua li cas thiaj nrhiav GPS Chaw Siv NEO-6m GPS module thiab arduino. Ua ntej tso peb pom dab tsi yog GPS.
Kauj ruam 1: GPS yog dab tsi?
Lub Ntiaj Teb Txoj Haujlwm Tseem Ceeb (GPS), thaum xub thawj NAVSTAR GPS, yog lub xov tooj cua-raws radionavigation system uas yog los ntawm tsoomfwv Meskas thiab ua haujlwm los ntawm Tebchaws Meskas Tub Rog Tub Rog. Nws yog lub ntiaj teb kev qhia siv lub hnub qub (GNSS) uas muab cov ntawv qhia chaw nyob thiab sijhawm rau tus neeg txais xov tooj cua GPS nyob txhua qhov chaw lossis ze lub Ntiaj Teb uas tsis muaj kab thaiv kev pom ntawm plaub lossis ntau dua GPS satellites. Cov teeb meem xws li toj roob hauv pes thiab cov tsev thaiv cov teeb meem GPS uas tsis muaj zog.
GPS tsis xav kom tus neeg siv xa cov ntaub ntawv, thiab nws ua haujlwm ntawm nws tus kheej ntawm txhua lub xov tooj lossis txais tos hauv is taws nem, txawm hais tias cov thev naus laus zis no tuaj yeem txhim kho qhov muaj txiaj ntsig ntawm GPS cov ntaub ntawv tso rau. GPS muab lub peev xwm tseem ceeb rau cov tub rog, pej xeem, thiab cov lag luam siv thoob ntiaj teb. Tsoomfwv Meskas tau tsim cov txheej txheem, tswj hwm nws, thiab ua rau nws nkag tau dawb rau txhua tus neeg uas muaj tus txais GPS.
Kauj Ruam 2: YUAV TSUM MUAJ Cov Khoom Uas Yuav Tsum Tau:
Cov ntaub ntawv xav tau yog:
*NEO -6m gps module - amazon koom nrog
*Arduino uno - amazon koom nrog
*Lcd zaub - amazon koom nrog
** Nco tseg: Cov no yog amazon koom nrog txuas. Thaum koj yuav los ntawm cov kab ntawv txuas no kuv yuav tau txais qhov kev txiav txim me me uas yuav pab kuv sau ntau thiab ntau kab lus
Kauj Ruam 3: CIRCUIT
Circuit Court raws li hauv qab no:
GPS module ==> Arduino
* GND ==> GND
* TX ==> Digital pin (D3)
* RX ==> Tus lej digital (D4)
*Vcc ==> 3.3 V
LCD ==> Arduino * VSS ==> GND
* VCC ==> 5V
*VEE ==> 10K Resistor
*RS ==> A0 (Tus pin analog)
*R/W ==> GND
*E ==> A1
*D4 ==> A2
D5 ==> A3
*D6 ==> A4
*D7 ==> A5
*LED+ ==> VCC
*LED- ==> GND
Kauj ruam 4: CODE
#suav nrog
#suav nrog #suav nrog // ntev lat, lon; // tsim qhov sib txawv rau latitude thiab longitude yam khoom ntab lat, lon; // tsim qhov sib txawv rau latitude thiab longitude yam khoom SoftwareSerial gpsSerial (3, 4); // rx, tx LiquidCrystal lcd (A0, A1, A2, A3, A4, A5); TinyGPS gps; // tsim gps object void setup () {Serial.begin (9600); // txuas nrog Serial.println ("GPS Tau Txais Lub Teeb:"); gpsSerial.begin (9600); // txuas gps sensor lcd.begin (16, 2); } void loop () {thaum (gpsSerial.available ()) {// tshawb xyuas cov ntaub ntawv gps yog (gps.encode (gpsSerial.read ())) // encode gps cov ntaub ntawv {gps.f_get_position (& lat, & lon); // tau txais latitude thiab longitude // tso txoj haujlwm lcd.clear (); lcd.setCursor (1,0); lcd.print ("GPS teeb liab"); lcd.setCursor (1,0); lcd.print ("LAT:"); lcd.setCursor (5, 0); lcd.print (lat); Serial.print (lat); Serial.print (""); Serial.print (lon); Serial.print (""); lcd.setCursor (0, 1); lcd.print (", LON:"); lcd.setCursor (5, 1); lcd.print (lon); }} String latitude = Txoj hlua (lat, 6); Txoj hlua ntev = Txoj hlua (lon, 6); Serial.println (latitude+";"+Latitude); ncua (1000); }
Kauj Ruam 5: NTUJ
Yog li tom qab txhua qhov kev sib txuas thiab xa cov cai, GPS module siv qee lub sijhawm kom tau txais kev kho lub hnub qub uas feem ntau yog 15 txog 20 feeb. Yog nws siv sijhawm ntau dua sab nraum zoov thiab sim vim nws tsis muaj peev xwm tau txais lub khoos phis tawj kho hauv tsev.. Tom qab ntawd koj tuaj yeem pom tias lcd zaub tuaj yeem qhia GPS txuas.
Pom zoo:
QHOV QHOV TSEEB QHOV TSEEB QHOV TSEEB TSHIAB (Pi Tsev Ruaj Ntseg): 7 Kauj Ruam
LOST COST IOT THEFT DETECTION DEVICE (Pi Home Security): Lub kaw lus tau tsim los txhawm rau txheeb xyuas kev nkag mus (tsis tau tso cai nkag mus) rau hauv lub tsev lossis lwm thaj chaw. Txoj haujlwm no tuaj yeem siv hauv thaj chaw nyob, kev lag luam, kev lag luam, thiab cov tub rog lub zog rau kev tiv thaiv kev nyiag khoom lossis khoom puas tsuaj, ib yam
Yuav Ua Li Cas Tsim Lub Chaw Nres Tsheb txhawm rau daws qhov mob ntawm Nrhiav Qhov Chaw Dawb: 12 Kauj Ruam
Yuav Ua Li Cas Tsim Lub Chaw Nres Tsheb txhawm rau daws qhov Mob ntawm Nrhiav Qhov Chaw Dawb: Hauv qhov haujlwm no peb yuav tsim lub chaw nres tsheb yooj yim uas siv Raspberry Pi. Nws hloov tawm tias txhua tag kis kuv yuav tsum ntsib cov lus nug no: Puas yog XAUS qhov chaw nres tsheb nyob rau ntawm kuv lub chaw haujlwm twb tau coj lawm? Vim tias thaum nws yog qhov tseeb, Kuv yuav tsum tau mus ncig
Attiny85 Tus Nrhiav Qhov Chaw Nyob: 4 Kauj Ruam (nrog Duab)
Attiny85 Tus Nrhiav Qhov Chaw Nyob: Ua ntej kuv tau ua cov lus qhia no kuv nyuam qhuav tau txais qee qhov tshiab Attinys (Attinies?) Thiab xav ua qee yam nrog lawv. Ntawd yog thaum kuv pom kuv tus ultrasonic ntau finder ib leeg tsis siv. Qhov no ultrasonic Attiny nrug finder muab qhov nrug
Nrhiav Qhov Chaw 5 Qhov Zoo Tshaj Mac Apps Muaj: 5 Kauj Ruam
Nrhiav Qhov Chaw 5 Qhov Zoo Tshaj Mac Apps Muaj: Cov apps uas yuav cia koj tau txais qhov zoo tshaj plaws ntawm koj lub Apple Mac computer
TECHNO VIKING! LED Horn ntawm Qhov Chaw Viking Kaus mom hlau: Qhov Ntsuas Qhov Ntsuas + Lub Hau Viking Transucent: 6 Kauj Ruam
TECHNO VIKING! LED Horn ntawm Qhov Chaw Viking Kaus mom hlau: Qhov Ntsuas Qhov Ntsuas + Lub Hau Viking Transucent: Yog! Nov yog lub kaus mom hlau rau Chaw Vikings. *** Hloov tshiab, Qhov no yuav tsum tau hloov pauv lub kaus mom hlau Techno Viking *** Tab sis nws lub Kaum Hli 2010 thiab kuv tsuas yog kawm txog Techno Viking hnub no. Zoo tom qab meme nkhaus. Whateva 'Ntawm no nws yog nrog cov khoom lag luam siab dua