Cov txheej txheem:
- Kauj ruam 1: Yam Koj Yuav Tsum Tau
- Kauj Ruam 2: Pib Visuino, thiab Xaiv Arduino UNO Board Type
- Kauj Ruam 3: Hauv Visuino Ntxiv Cheebtsam
- Kauj Ruam 4: Hauv Visuino Teeb Cov Khoom
- Kauj ruam 5: Tau GPS Coordinates
- Kauj Ruam 6: Hauv Visuino Connect Components
- Kauj Ruam 7: Tsim, Ua Ke, thiab Tshaj Tawm Arduino Code
- Kauj ruam 8: Ua si
Video: Ua GPS BORDER BOUNDARIES Siv Arduino: 8 Kauj Ruam
2024 Tus sau: John Day | [email protected]. Kawg hloov kho: 2024-01-30 09:24
Hauv qhov kev qhia no peb yuav kawm paub yuav ua GPS BORDER BOUNDARIES siv Arduino li cas, qhov no muaj txiaj ntsig thaum koj muaj neeg hlau thiab koj tsis xav kom nws tawm sab nraud thaj chaw tshwj xeeb.
Thaum tus neeg hlau nyob sab nraum thaj chaw, cov zaub yuav pom "Sab Nraud" thiab "Sab Hauv" thaum tus neeg hlau nyob sab hauv.
Saib cov yees duab!
Kauj ruam 1: Yam Koj Yuav Tsum Tau
- Arduino UNO (lossis lwm yam Arduino)
- GPS Neo 6m
- OLED Zaub
- Jumper xov hlau
- Visuino software: Rub tawm Visuino
Kauj Ruam 2: Pib Visuino, thiab Xaiv Arduino UNO Board Type
Visuino: https://www.visuino.eu tseem yuav tsum tau teeb tsa. Rub tawm Dawb version lossis sau npe rau Kev Sim Dawb.
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 3: Hauv Visuino Ntxiv Cheebtsam
- Ntxiv "Serial GPS" tivthaiv
- Ntxiv "Analog Multi Source" tivthaiv
- Ntxiv lwm qhov "Analog Multi Source" tivthaiv
- Ntxiv "Digital Multi-Source Merger" tivthaiv
- Ntxiv "Ntug Ntug" tivthaiv
- Ntxiv lwm qhov "Txheeb Ntug Ntug" ntu
- Ntxiv "Digital (Boolean) Thiab" tivthaiv
- Ntxiv "Text Value" tivthaiv
- Ntxiv lwm qhov "Text Value" tivthaiv
- Ntxiv "Analog To Text" tivthaiv
- Ntxiv lwm qhov "Analog To Text" tivthaiv
- Ntxiv "Text Multi-Source Merger" tivthaiv
Kauj Ruam 4: Hauv Visuino Teeb Cov Khoom
- Xaiv "AnalogToText1" thiab "AnalogToText2" thiab hauv cov khoom qhov rai teeb tsa "Precision" rau 6
- Xaiv "DetectEdge1" thiab hauv cov khoom qhov rai teeb tsa Rising rau cuav
- Xaiv "TextValue1" thiab hauv cov khoom qhov rai teeb tsa "Tus nqi" rau sab hauv
- Xaiv "TextValue2" thiab hauv cov khoom qhov rai teeb tsa "Tus nqi" rau sab nraud
- Ob npaug nias rau ntawm DisplayOLED1 thiab hauv lub qhov rai ntsiab lus rub "kab ntawv" mus rau sab laug
- Hauv cov khoom qhov rai teeb tsa me me rau 2
- Hauv Elements window Drag lwm "Text Field" mus rau sab laug
- Hauv cov khoom vaj khoom tsev teeb tsa Y rau 30 thiab loj me rau 2
- Hauv Elements window Drag lwm "Text Field" mus rau sab laug
- Hauv cov khoom vaj khoom tsev teeb tsa Y rau 50 thiab loj me rau 2
- Kaw lub Elements window
Kauj ruam 5: Tau GPS Coordinates
Mus rau Google maps thiab nrhiav koj qhov chaw nyob thiab
Nyem rau ntawm daim duab qhia chaw (kaum sab laug ntawm koj cheeb tsam), qhov chaw nyob yuav pom nyob hauv qab. Luam thawj qhov kev sib koom tes Latitude mus rau Visuino "CompareRange1"> Range> MaxCopy thib ob sib koom Longitude rau Visuino "CompareRange2"> Range> MIn
- Nyem rau ntawm daim duab qhia chaw (kaum sab xis ntawm koj thaj tsam), qhov chaw nyob yuav pom nyob hauv qab.
- Nyem rau ntawm daim duab qhia chaw (nyob rau sab laug ntawm koj thaj tsam), qhov chaw ua haujlwm yuav pom nyob hauv qab.
Kauj Ruam 6: Hauv Visuino Connect Components
- Txuas GPS tus pin Tawm rau Arduino Serial [0] tus pin Hauv
- Txuas GPS tus pin latitude rau AnalogMultiSource1 tus pin Hauv
- Txuas GPS tus lej ntev mus rau AnalogMultiSource2 tus pin Hauv
- Txuas AnalogMultiSource1 tus pin tawm mus rau AnalogToText1 tus pin Hauv
- Txuas AnalogMultiSource2 tus pin tawm mus rau AnalogToText2 tus pin Hauv
- Txuas AnalogMultiSource1 tus pin tawm los sib piv Range1 tus pin Hauv
- Txuas AnalogMultiSource2 tus pin tawm los sib piv Range2 tus pin Hauv
- Txuas CompareRange1 tus pin tawm mus rau "And1", tus pin 0 Hauv
- Txuas Sib Piv Range2 tus pin tawm mus rau "And1", tus pin 1 Hauv
- Txuas CompareRange1 tus pin tawm rau DigitalMultiMerger1, tus pin 0 Hauv
- Txuas Sib Piv Range2 tus pin tawm rau DigitalMultiMerger1, tus pin 1 Hauv
- Txuas DigitalMultiMerger1, pin Out to DetectEdge1 pin In
- Txuas DetectEdge1 tus pin Tawm rau TextValue2 tus pin moos
- Txuas "And1" tus pin tawm mus rau DetectEdge2 tus pin In
- Txuas DetectEdge2 tus pin tawm rau TextValue1 tus pin moos
- Txuas "TextValue" 1, pin out, rau TextMultiMerger1 tus pin [0] hauv
- Txuas "TextValue" 2, pin out, rau TextMultiMerger1 tus pin [1] hauv
- Txuas TextMultiMerger1 tus pin tawm mus rau DisplayOLED1 cov ntawv teb 1 tus pin Hauv
- Txuas AnalogToText1 tus pin tawm rau DisplayOLED1 cov ntawv teb 2 tus pin Hauv
- Txuas AnalogToText2 tus pin tawm rau DisplayOLED1 cov ntawv teb 3 tus pin Hauv
- Txuas DisplayOLED1 tus pin I2C Tawm rau Arduino tus pin I2C Hauv
Kauj Ruam 7: Tsim, Ua Ke, thiab Tshaj Tawm Arduino Code
Tseem ceeb
Thaum rub mus rau Arduino tshem tawm tus pin RX ntawm Arduino thiab tom qab rub tawm tiav ua txuas nws rov qab.
Hauv Visuino, hauv qab nyem rau ntawm "Tsim" Tab, xyuas kom tseeb tias qhov chaw nres nkoj raug xaiv, tom qab ntawd nyem rau ntawm "Compile/Build and Upload" khawm.
Kauj ruam 8: Ua si
Yog tias koj ua lub zog Arduino module, tom qab ib ntus (thaum NEO 6m ntsuas ntsuas), cov zaub yuav pib qhia GPS ua haujlwm thiab ntawv: INSIDE/OUTSIDE.
Nrog koj zoo siab! Koj tau ua tiav koj txoj haujlwm nrog Visuino. Kuj txuas nrog yog Visuino qhov haujlwm, uas kuv tau tsim rau Cov Lus Qhia no, koj tuaj yeem rub nws thiab qhib nws hauv Visuino:
Pom zoo:
Cov Khoom Siv Teeb Meem Siv Chaw Taws Teeb Siv Arduino: 7 Kauj Ruam
Cov Khoom Siv Teeb Meem Siv Khoom Siv Hluav Taws Xob Siv Arduino: Tam sim no, Cov Tsim, Cov tsim tawm tau nyiam Arduino rau kev txhim kho sai ntawm cov qauv ntawm cov phiaj xwm. Arduino yog lub platform siv hluav taws xob qhib raws qhov yooj yim-rau-siv-kho vajtse thiab software. Arduino muaj zej zog cov neeg siv zoo heev. Hauv qhov no
Saib Xyuas Kev Siv Sijhawm Siv Raspberry Pi thiab AIS328DQTR Siv Python: 6 Cov Kauj Ruam
Saib Xyuas Kev Siv Sijhawm Siv Raspberry Pi thiab AIS328DQTR Siv Python: Kev nrawm yog qhov kawg, Kuv xav raws li qee txoj cai ntawm Physics.- Terry Riley Tus cheetah siv qhov nrawm nrawm thiab hloov pauv sai thaum caum. Tus tsiaj nrawm tshaj plaws nyob ntawm ntug hiav txwv ib zaug hauv ib lub sijhawm siv nws qhov nrawm tshaj plaws kom ntes tau cov tsiaj txhu. Qhov
Tsis Siv Neeg Kev Hla Hla Kev Siv Hluav Taws Xob Siv Arduino Raws Kev Nkag Nkag Platform: 9 Cov Kauj Ruam
Tsis Siv Neeg Kev Hla Hla Kev Siv Hluav Taws Xob Siv Arduino Raws Kev Nkag Siab Platform: Christmas tsuas yog ib lub lim tiam xwb! Txhua leej txhua tus tibneeg hu tauj coob nrog kev ua koob tsheej thiab tau txais khoom plig, uas, los ntawm txoj kev, tau txais txhua qhov nyuaj dua kom tau nrog qhov tsis muaj peev xwm nyob ib puag ncig peb. Yuav ua li cas mus los ntawm khoom plig qub thiab ntxiv qhov kov ntawm DIY rau
Arduino Neeg Hlau Nrog Kev Nyob, Kev Qhia thiab Qib Kev Sib Hloov (Sab Hnub Poob, Sab Hnub Poob, Sab Qaum Teb, Sab Qab Teb) Tswj los ntawm Lub Suab Siv Bluetooth Module thiab Kev Siv Tus Neeg Siv Hluav Taws Xob: 6 Kauj Ruam
Arduino Neeg Hlau Nrog Kev Nyob, Kev Qhia thiab Qib Kev Sib Hloov (Sab Hnub Poob, Sab Hnub Poob, Sab Qaum Teb, Sab Qab Teb) Tswj los ntawm Lub Suab Siv Bluetooth Module thiab Kev Siv Tus Neeg Siv Hluav Taws Xob: Cov lus qhia no piav qhia yuav ua li cas thiaj tsim tau Arduino Robot uas tuaj yeem txav mus raws qhov xav tau (Forward, Backward) , Sab laug, Txoj Cai, Sab Hnub Poob, Sab Hnub Poob, Sab Qaum Teb, Sab Qab Teb) xav tau Kev nrug deb hauv Centimeters siv lub suab hais kom ua. Neeg hlau kuj tseem tuaj yeem txav tau tus kheej
Tsiv Tawm Sijhawm Siv Arduino + DS1307 + Neopixel: Rov Siv Qee Cov Khoom Siv: 5 Kauj Ruam
Tawm Tawm Sijhawm Siv Arduino + DS1307 + Neopixel: Rov Siv Qee Cov Khoom Siv: Los ntawm cov phiaj xwm yav dhau los Kuv muaj Arduino UNO thiab Neopixel LED sawb sab laug, thiab xav ua qee yam txawv. Vim tias Neopixel sawb muaj 60 LED teeb, xav siv nws los ua lub moos loj. Txhawm rau qhia Lub Sijhawm, liab 5-LED ntu tau siv (60 LED