Cov txheej txheem:

MuMo - Node_draft: 24 Kauj Ruam (nrog Duab)
MuMo - Node_draft: 24 Kauj Ruam (nrog Duab)

Video: MuMo - Node_draft: 24 Kauj Ruam (nrog Duab)

Video: MuMo - Node_draft: 24 Kauj Ruam (nrog Duab)
Video: 21/11/2022 hnub no peb tuaj mus nchso noob nyon sab heev li os 😛🥰 2024, Kaum ib hlis
Anonim
MuMo - Node_draft
MuMo - Node_draft
MuMo - Node_draft
MuMo - Node_draft
MuMo - Node_draft
MuMo - Node_draft
MuMo - Node_draft
MuMo - Node_draft

### Hloov kho 10-03-2021 // cov ntaub ntawv tshiab/hloov tshiab yuav muaj nyob ntawm nplooj ntawv github:

MuMo yog dab tsi?

MuMo yog dab tsi? MuMo yog kev sib koom tes ntawm kev tsim khoom lag luam (chav haujlwm ntawm University of Antwerp) nyob rau hauv lub npe ntawm Antwerp Design Factory thiab Antwerp Fashion Museum. Lub hom phiaj ntawm txoj haujlwm yog tsim kom muaj qhov qhib IOT saib xyuas qhov system raws li LoRa network.

  • Nws yuav tsum yooj yim teeb.
  • Nws yuav tsum yooj yim sib dhos.
  • Nws yuav tsum muaj peev xwm ua tau raws li thaj tsam ntawm daim ntawv thov.

Dab tsi yog qhov haujlwm MuMo muaj:

MuMo Node

MuMo Node yog lub zog siv hluav taws xob tsawg ntawm AA roj teeb uas tuaj yeem ntsuas thiab xa ib puag ncig ib puag ncig hla LoRa network. Qhov ntsuas tsis yog qhov kub, av noo, huab cua ib puag ncig thiab ci ntsa iab. *** MuMo node tuaj yeem txuas ntxiv nrog lwm cov haujlwm uas yuav siv tau rau lwm daim ntawv thov. ***

MuMo Gatway

Lub MuMo Gateway yog lub qhov rooj LoRa nquag uas tuaj yeem tau txais thiab xa mus rau LoRa cov cim los ntawm Node ntaus ntawv hauv is taws nem. Hauv txoj haujlwm no lub qhov rooj kuj tseem yuav nruab nrog lub ntsuas hluav taws xob zoo ib yam ntawm MuMo Node ntaus ntawv, lub tshuab ntsuas huab cua thiab kab kab uas tuaj yeem saib xyuas nrog lub koob yees duab.

*** Lub qhov rooj tsis tas yuav tsum tau nruab nrog lub ntsuas cua lossis lub koob yees duab. Nws kuj tseem tuaj yeem ua haujlwm los muab LoRa network (tsis ntsuas gaetway). ***

MuMo Dashboard

MuMo Dashboard tau muab los tsim cov txheej txheem web daim ntawv thov ntawm lub network uas tau tsim. Nws tau ua rau cov neeg siv-phooj ywg nrog kev ua haujlwm sib txawv. Lub dashboard tuaj yeem ua tiav raws li qhov kev xav tau thiab kev thov ntawm tus neeg siv.

Github nplooj ntawv:

github.com/MoMu-Antwerp/MuMo

Cov nplooj ntawv qhia:

MuMo_Node:

MuMo_Gateway:

Yuav tsum tau cov cuab yeej:

  • 3D tshuab luam ntawv nrog filament
  • Solder hlau / laug
  • Me me tej plier
  • Phom phom kub (lossis lwm yam cuab yeej kho)
  • Cov ntsia hlau me me

Kauj Ruam 1: #Hardware - Kev Xeem Qhov Chaw

#Hardware - Kev Xam Xaj
#Hardware - Kev Xam Xaj

Qhov kom xaj:

Saib nplooj ntawv github rau kev txheeb xyuas tsis ntev los no:

github.com/jokohoko/Mumo/blob/main/Shopping_list.md

Kauj Ruam 2: #Hardware - 3D Luam Qhov Chaw

#Hardware - 3D Luam Qhov Chaw
#Hardware - 3D Luam Qhov Chaw
#Hardware - 3D Luam Qhov Chaw
#Hardware - 3D Luam Qhov Chaw
#Hardware - 3D Luam Qhov Chaw
#Hardware - 3D Luam Qhov Chaw
#Hardware - 3D Luam Qhov Chaw
#Hardware - 3D Luam Qhov Chaw

Cov khoom rau 3D luam tawm:

  • NODE_Main_Housing
  • NODE_Battery_Tray
  • NODE_Backcover

Saib nplooj ntawv github rau cov ntaub ntawv STL tseeb:

github.com/jokohoko/Mumo/tree/main/STL_NODE

Luam filament:

  • PETG (nyiam dua thiab ruaj dua)
  • PLA

Kev luam tawm dav dav:

  • Tsis xav tau kev txhawb nqa
  • Infill tsis tsim nyog
  • 0.2 txheej qhov siab
  • 3 sab nraum zoov (rau lub zog thiab ua kom ntev)

Kauj Ruam 3: #Hardware - Npaj Lub Tais Roj Teeb

#Hardware - Npaj Lub Tais Roj Teeb
#Hardware - Npaj Lub Tais Roj Teeb
#Hardware - Npaj Lub Tais Roj Teeb
#Hardware - Npaj Lub Tais Roj Teeb
#Hardware - Npaj Lub Tais Roj Teeb
#Hardware - Npaj Lub Tais Roj Teeb
#Hardware - Npaj Lub Tais Roj Teeb
#Hardware - Npaj Lub Tais Roj Teeb

Qhov:

  • 2 x roj teeb rooj (Sab sab: Koj kuj tseem tuaj yeem siv ib lub roj teeb rau 3 AA roj teeb tab sis qhov nyob yuav luv dua!)
  • 1 x JST 2.0 fais fab txuas (suav nrog Saib LoRaWan board)
  • 3D luam tawm ib feem: lub roj teeb tais

Cov lus qhia - Soldering: (Ceeb toom kub - ceev faj!)

  1. Muab tag nrho cov kab liab liab ua ke
  2. Muab tag nrho cov kab dub ua ke.
  3. Nco ntsoov tias kev ua haujlwm soldering raug tiv thaiv nrog cov khoom siv rwb thaiv tsev. Qhov no tuaj yeem yog lub tes tsho uas koj rub hla txoj kab ua ntej yuav xau lossis kab xev thaiv uas koj thov tom qab.

Cov lus qhia - Kho lub roj teeb nrog:

  1. Muab cov roj teeb tso rau hauv lub tais roj teeb kom cov hlua tig mus rau sab nrog qhov txiav tawm (saib daim duab). Qhov no tuaj yeem ua tiav nrog cov kua nplaum kub (nyiam dua), ob daim kab xev, silicone, kua nplaum thib ob, …

Kauj Ruam 4: #Hardware - Npaj LoRaWan Board

#Hardware - Npaj LoRaWan Pawg Thawj Coj
#Hardware - Npaj LoRaWan Pawg Thawj Coj
#Hardware - Npaj LoRaWan Pawg Thawj Coj
#Hardware - Npaj LoRaWan Pawg Thawj Coj
#Hardware - Npaj LoRaWan Pawg Thawj Coj
#Hardware - Npaj LoRaWan Pawg Thawj Coj

Tshooj:

LoRaWan pawg thawj coj saib

Qhia:

Ua ntej tshem cov coj ntawm lub rooj tsavxwm, txuas lub rooj tsavxwm mus rau lub khoos phis tawj thiab xyuas seb lub hwj chim coj lub teeb ci li cas. Tom qab tshem cov coj peb tsis muaj lub zog qhia ntxiv lawm.

Txhawm rau txo qis kev siv hluav taws xob ntawm Lorawan daim ntaub thaiv peb yuav tsum tshem ob lub LEDs uas yog cov ntaub ntawv qhia meej. Lub zog (PWR) thiab tus nqi taw qhia (CHG) coj.

Ua tib zoo saib xyuas kom tsis txhob ua puas rau lub rooj tsavxwm thaum txheej txheem no! Siv rab riam ntse.

  1. Nrhiav qhov them nyiaj LED (CHR) thiab lub zog LED (PWR) (saib daim duab saum toj saib nrog cov duab plaub ntsuab)
  2. Txiav qhov soldering ntawm LED. LED yuav tsum xoob.
  3. Tshem cov leds thiab tshawb xyuas yog tias qhov chaw raug tshem tawm kom huv si yam tsis ua kev puas tsuaj rau hauv qab.

Kauj Ruam 5: #Hardware - Sib dhos 1: TSL2561 / BME680

#Hardware - Sib dhos 1: TSL2561 / BME680
#Hardware - Sib dhos 1: TSL2561 / BME680
#Hardware - Sib dhos 1: TSL2561 / BME680
#Hardware - Sib dhos 1: TSL2561 / BME680
#Hardware - Sib dhos 1: TSL2561 / BME680
#Hardware - Sib dhos 1: TSL2561 / BME680

Qhov:

  • 3D luam tawm - "Lub cev tseem ceeb"
  • Cov teeb pom kev zoo (lub teeb me me)
  • BME680 sensor (ntev sensor)
  • 2 x Grove I2C txuas cov hlua
  • 4 x M2x5 screws

Cov lus qhia:

  1. Txuas ib qho ntawm cov kab ntoo hauv hav zoov mus rau lub teeb pom kev digital. Thiab lwm qhov rau BME680 sensor.
  2. Muab cov ntsuas nkag rau hauv 3D luam tsev ("Lub cev tseem ceeb").
  3. Lub teeb pom kev zoo ntawm sab laug sab saud / BME680 ntawm sab xis. Kev sib txuas ib feem ntawm lub sensor yog lub ntsej muag (tsis pom!). Koj yuav tsum khoov cov kab uas lawv ua kom tig ntse.
  4. Thiab ntsia hlau ob qho tib si rau hauv qhov chaw nrog m2x5 mm screws.

Kauj Ruam 6: #Hardware - Sib dhos 2: Pom LoRaWan Board

#Hardware - Sib dhos 2: Pom LoRaWan Board
#Hardware - Sib dhos 2: Pom LoRaWan Board
#Hardware - Sib dhos 2: Pom LoRaWan Board
#Hardware - Sib dhos 2: Pom LoRaWan Board
#Hardware - Sib dhos 2: Pom LoRaWan Board
#Hardware - Sib dhos 2: Pom LoRaWan Board
#Hardware - Sib dhos 2: Pom LoRaWan Board
#Hardware - Sib dhos 2: Pom LoRaWan Board

Qhov:

  • Roj teeb tais nrog cov roj teeb tuav
  • Saib LoRaWan board
  • Lub cev tseem ceeb
  • 4 x M2x5 screws

Cov lus qhia:

  1. Ntxig lub hwj huam cable ntawm lub roj teeb tais rau hauv LoRaWan board.
  2. Khoov lub hwj huam cable hla kom cov xaim xaim kom lawv tsis txhob siv ntau qhov chaw.
  3. Ntxig rau LoRaWan lub rooj tsavxwm rau hauv lub tsev nrog lub usb txuas thiab lub zog txuas ua ntej.
  4. Teem lub qhov ntawm LoRaWan pawg thawj coj nrog tus pin txuas ntawm lub tsev.
  5. Nco ntsoov tso LoRaWan pawg thawj coj ntawm ib sab ntawm phab ntsa faib. (saib duab)
  6. Ntxig plaub tus ntsia hlau rau hauv qhov chaw qhia ntawm pawg thawj coj saib (saib daim duab saum toj kawg nkaus - Lub voj ntsuab)
  7. Thaum koj nruj cov ntsia hlau kom paub tseeb tias khawm rov pib ua kom raug nrog lub laub khawm nyob ntawm ib sab ntawm lub node. (saib daim duab sab saum toj - Duab plaub Plaub)
  8. Txheeb xyuas yog tias khawm rov pib ua haujlwm raug. Yog tias lub pob tsis txav lossis tsis kov lub khawm rov pib dua lossis lub rooj tsavxwm yuav muaj qhov tsis sib xws hauv 3D luam ntawv zoo. Sim txav lub rooj tsavxwm me ntsis lossis txiav txim siab rhuav tshem cov yas luam tawm khawm rov ua haujlwm tag los daws qhov no. Koj tseem tuaj yeem rov pib lub pob trough hla lub qhov hauv daim ntawv.
  9. Pub lub kav hlau txais xov hla qhov pom ua ntej qhib hauv lub roj teeb txhawb nqa thaiv, ua tib zoo yog li tsis ua txhaum lub kav hlau txais xov

Kauj Ruam 7: #Hardware - Sib dhos 3: Txuas I2C Pins

#Hardware - Sib dhos 3: Txuas I2C Pins
#Hardware - Sib dhos 3: Txuas I2C Pins
#Hardware - Sib dhos 3: Txuas I2C Pins
#Hardware - Sib dhos 3: Txuas I2C Pins

Cov lus qhia:

Txuas lub Grove cables rau i2C qhov qhib ntawm Seeeduino. Tsuas yog ob sab txuas sab nraud yog I2C pins thiab siv tau rau peb cov ntsuas. Tab sis koj tuaj yeem hloov pauv ob qho tib si sib txuas. (saib daim duab - duab plaub xiav)

Kauj Ruam 8: #Hardware - Sib dhos 4: Kev Tswj Cable - I2C Cables

#Hardware - Sib dhos 4: Kev Tswj Cable - I2C Cables
#Hardware - Sib dhos 4: Kev Tswj Cable - I2C Cables

Cov lus qhia:

  1. Qab lub roj teeb txhawb nqa thaiv tau muab chav rau thawb I2C cov xov hlau nqes mus rau hauv. Qhov haum yog nruj heev yog li lawv yuav tsis txav rov qab tawm.
  2. Taw qhia cov kab kom zoo kom lawv tsis cuam tshuam nrog lub roj teeb tais uas yuav muab tso rau saum toj ib pliag.

Tawm tswv yim: Tawm kho vajtse ntawm lub node raws li tam sim no. Peb yuav teeb tsa txoj cai ua ntej.

Kauj Ruam 9: #TTN - Sau Npe / Teev Npe

#TTN - Sau Npe / Teev Npe
#TTN - Sau Npe / Teev Npe
#TTN - Sau Npe / Teev Npe
#TTN - Sau Npe / Teev Npe
#TTN - Sau Npe / Teev Npe
#TTN - Sau Npe / Teev Npe

Cov khoom siv network muab cov txheej txheem qhib thiab thoob ntiaj teb, qhib network los tsim koj daim ntawv thov IoT tom ntej ntawm tus nqi qis, suav nrog kev nyab xeeb siab tshaj plaws thiab npaj rau ntsuas.

* Yog tias koj twb muaj tus as khauj lawm koj tuaj yeem hla cov kauj ruam no

Cov lus qhia:

  1. Sau npe ntawm Cov Khoom Network thiab ua tus account
  2. Ua raws li cov lus qhia ntawm TTN lub vev xaib.
  3. Tom qab Sau npe nkag rau hauv koj tus account
  4. Mus rau koj lub console. Koj yuav pom nws hauv cov ntawv qhia zaub mov nco ntawm koj qhov profile (saib daim duab)

Kauj ruam 10: #TTN - Kev teeb tsa daim ntawv thov

#TTN - Kev teeb tsa daim ntawv thov
#TTN - Kev teeb tsa daim ntawv thov
#TTN - Kev teeb tsa daim ntawv thov
#TTN - Kev teeb tsa daim ntawv thov

* Yog tias koj twb muaj daim ntawv thov koj tuaj yeem hla cov kauj ruam no

Daim ntawv thov yog ib puag ncig uas koj tuaj yeem khaws ntau yam khoom siv.

Cov lus qhia:

  1. Thaum koj nyob hauv lub console nyem rau ntawm daim ntawv thov (saib daim duab 1).
  2. Nyem rau ntawm "ntxiv daim ntawv thov"
  3. Tam sim no koj nyob hauv lub qhov rai thov ntxiv (saib daim duab 2).
  4. Ua daim ID thov
  5. Muab koj daim ntawv thov piav qhia
  6. Teem koj tus neeg lis haujlwm sau npe (nyob ntawm koj qhov chaw nyob)
  7. Thaum koj ua tiav nyem "ntxiv daim ntawv thov".

Kauj Ruam 11: #TTN - Them Nqi Formats Teeb

#TTN - Them Nqi Formats Teeb
#TTN - Them Nqi Formats Teeb
#TTN - Them Nqi Formats Teeb
#TTN - Them Nqi Formats Teeb

Kev teeb tsa them nyiaj yog qhov tseem ceeb rau kev nyeem koj cov ntaub ntawv xov xwm nkag mus kom raug.

Cov lus qhia:

  1. Hauv daim ntawv thov kev tshuaj xyuas nyem rau ntawm "Them Nqi Formats". (saib daim duab 1 - duab plaub ntsuab)
  2. Luam muab tshuaj txhuam qhov ua haujlwm (kos github txuas hauv qab) rau hauv tus khoos phis tawj decoder. (saib daim duab - duab plaub xiav)
  3. Nyem rau ntawm lub pob txuag kom txuag koj cov txiaj ntsig.

Muaj nuj nqi txuas rau tus decoder editor:

github.com/jokohoko/Mumo/blob/main/documentation/Payload_format.md

Kauj Ruam 12: #TTN - Ntxiv Cov Khoom Siv

#TTN - Ntxiv Cov Khoom Siv
#TTN - Ntxiv Cov Khoom Siv
#TTN - Ntxiv Cov Khoom Siv
#TTN - Ntxiv Cov Khoom Siv

Yog tias txhua yam mus tau zoo koj yog tam sim no hauv daim ntawv thov txheej txheem. Qhov twg koj muaj kev tswj hwm koj daim ntawv thov. Tam sim no peb yuav ntxiv cov cuab yeej tshiab (ntawm) rau lossis daim ntawv thov.

Cov lus qhia:

  1. Nyem rau ntawm lub cuab yeej sau npe (saib daim duab 1 - duab plaub ntsuab)
  2. Ntaus tus ID ntaus ntawv
  3. Teeb Device EUI kom pib tsim tawm. Nyem rau ntawm cov xub hla ntawm sab laug.
  4. Thaum koj ua tiav nyem rau ntawm "sau npe ntaus ntawv".
  5. Tam sim no lub cuab yeej tau tsim.

Kauj Ruam 13: #TTN - Cov Chaw Ntaus Ntawv

#TTN - Cov Chaw Ntaus
#TTN - Cov Chaw Ntaus
#TTN - Cov Chaw Ntaus
#TTN - Cov Chaw Ntaus
#TTN - Cov Chaw Ntaus
#TTN - Cov Chaw Ntaus

Cov kauj ruam no tseem ceeb heev kom tau txais kev sib txuas zoo ntawm LoRa teeb tsa ntawm cov khoom siv.

Cov lus qhia:

  1. Thaum koj nyob hauv nplooj ntawv saib lub cuab yeej nyem rau "nqis" (saib daim duab 1 - duab plaub ntsuab)
  2. Hauv nplooj ntawv teeb tsa koj tuaj yeem muab lus piav qhia rau koj lub cuab yeej (tsis tas yuav)
  3. Teem txoj kev qhib rau ABP.
  4. Kos tawm "Frame Counter checks". Koj yuav pom nyob hauv qab ntawm nplooj ntawv.
  5. Tawm tag nrho Cov Khoom Siv EUI, Chaw Nyob, Cov Ntsiab Lus Sib Tham Network, app qhib qhov tseem ceeb rau kev pib tsim.
  6. Nyem rau ntawm lub pob txuag kom txuag qhov chaw tshiab.
  7. Rov qab mus rau nplooj ntawv "chaw". (saib daim duab 3 - duab plaub ntsuab)
  8. Teem hom ua kom rov qab mus rau OTAA !! (saib daim duab 4 - duab plaub ntsuab)
  9. Tawm App qhov tseem ceeb rau kev pib tsim tawm.
  10. Nyem rau ntawm lub pob txuag kom txuag qhov chaw tshiab. (Saib daim duab 5 - duab plaub ntsuab)

Kauj Ruam 14: #Code - Arduino Code Download

#Code - Arduino Code rub tawm
#Code - Arduino Code rub tawm

Ok, tam sim no zoo heev. Peb muaj peb lub rooj sib tham, peb muaj tus as khauj ntawm TTN, peb tsim daim ntawv thov nrog cov qauv them nyiaj raug, thiab peb tau tsim lub cuab yeej (OTAA) hauv daim ntawv thov ntawd. Yog li tam sim no peb tsuas yog teeb tsa Arduino code nrog tib cov ntaub ntawv teeb tsa zoo li lub cuab yeej peb tau ua hauv TTN. Hauv cov kauj ruam tom ntej peb yuav xa cov cai mus rau LoRaWan pawg thawj coj hauv kab.

Cov lus qhia:

  1. Rub tawm mumoV1 cov npe los ntawm Github nplooj ntawv.
  2. Rub tawm qhov tseeb version ntawm arduino software. (https://www.arduino.cc/en/software)
  3. Qhib arduino code file "mumoV1.ino" (koj yuav pom Github txuas hauv qab cov lus qhia)

Github link:

github.com/jokohoko/Mumo/tree/main/mumoV1

Kauj Ruam 15: #Code - Arduino - Teeb Khoom Nrog TTN

#Code - Arduino - Teeb Khoom Nrog TTN
#Code - Arduino - Teeb Khoom Nrog TTN
#Code - Arduino - Teeb Khoom Nrog TTN
#Code - Arduino - Teeb Khoom Nrog TTN

Cov lus qhia:

  1. Qhib thethingsnetwork (TTN), mus rau koj lub cuab yeej txheej txheem qhov twg koj yuav pom txhua cov ntaub ntawv teeb tsa ntawm lub cuab yeej. Peb yuav siv qhov no los teeb tsa tus lej arduino.
  2. Hauv cov lej arduino mus rau "mumoV1.h" tab.

Teeb tus lej ID:

  1. Luam cov cuab yeej_EUI los ntawm TTN thiab muab tshuaj txhuam nws tso rau hauv tus lej arduino (saib cov paj liab).
  2. Luam theapplication_EUI los ntawm TTN thiab muab nws tso rau hauv tus lej arduino (saib xiav xub).
  3. Luam app_key los ntawm TTN thiab muab tshuaj txhuam rau hauv tus lej arduino (saib xub xub ntsuab). Yog lub network_session_key tsis pom nyem rau ntawm lub cim "qhov muag" (saib lub voj voog ntsuab).
  4. Luam cov cuab yeej_adress los ntawm TTN thiab muab nws tso rau hauv tus lej arduino (saib xub daj).
  5. Luam lub network_session_key los ntawm TTN thiab muab tshuaj txhuam nws tso rau hauv cov lej arduino (saib xub txiv kab ntxwv). Yog tias lub network_session_key tsis pom nyem rau ntawm lub cim "qhov muag" (saib lub voj voog txiv kab ntxwv).
  6. Luam cov app_session_key los ntawm TTN thiab muab tshuaj txhuam nws tso rau hauv cov lej arduino (saib liab liab). Yog tias app_session_key tsis pom nyem rau ntawm lub cim "qhov muag" (saib lub voj voog liab).

Kauj Ruam 16: #Code - Arduino - Nruab RTC thiab Adafruit Library

#Code - Arduino - Nruab RTC thiab Adafruit Library
#Code - Arduino - Nruab RTC thiab Adafruit Library
#Code - Arduino - Nruab RTC thiab Adafruit Library
#Code - Arduino - Nruab RTC thiab Adafruit Library
#Code - Arduino - Nruab RTC thiab Adafruit Library
#Code - Arduino - Nruab RTC thiab Adafruit Library
  1. Hauv koj arduino interface nyem rau ntawm Sketch> suav nrog Tsev Qiv Ntawv> Tswj Cov Tsev Qiv Ntawv …
  2. Qhov rai tswj lub tsev qiv ntawv yuav tshwm tuaj.
  3. Hauv hom tshawb nrhiav bar: rtczero
  4. Nruab qhov hloov tshiab kawg ntawm thawj lub tsev qiv ntawv
  5. Hauv hom tshawb nrhiav bar: adafruit BME680 (Rau lub ntsuas BME680)
  6. Nruab qhov hloov tshiab kawg ntawm thawj lub tsev qiv ntawv
  7. Hauv kab ntawv tshawb fawb hom: adafruit TSL2561 (Rau TSL2561sensor)
  8. Nruab qhov hloov tshiab kawg ntawm thawj lub tsev qiv ntawv.
  9. Hauv hom tshawb fawb bar: flashstorage ATSAM Nruab qhov hloov tshiab kawg ntawm thawj lub tsev qiv ntawv.

Kauj Ruam 17: #Code - Arduino - Seeeduino LoRaWAN Library Install

#Code - Arduino - Seeeduino LoRaWAN Library Install
#Code - Arduino - Seeeduino LoRaWAN Library Install
#Code - Arduino - Seeeduino LoRaWAN Library Install
#Code - Arduino - Seeeduino LoRaWAN Library Install

Peb teeb tsa Lub Tsev Qiv Ntawv Seeed board txhawm rau sib tham nrog pawg thawj coj.

Cov lus qhia:

  1. Hauv koj lub arduino interface nyem rau ntawm File> Preferences, thiab luam qhov url (hauv qab) rau "Tus Thawj Saib Xyuas Ntxiv URLs" (saib daim duab - duab plaub liab).
  2. Nyem rau "ok".
  3. Rov qab ntawm lub arduino interface nyem rau ntawm Toos> Pawg Thawj Coj> Tus Thawj Saib Xyuas Haujlwm.
  4. Hauv kab ntawv tshawb fawb hom "lorawan".
  5. Koj yuav pom lub tsev qiv ntawv Seeed LoRaWan board. (saib daim duab - duab plaub ntsuab).
  6. Nyem rau ntawm "install" thiab tos kom txog thaum nws ua tiav.

URL:

Kauj Ruam 18: #Code - Arduino - Pawg Xaiv / COM Port

#Code - Arduino - Xaiv Pawg Thawj Coj / COM Port
#Code - Arduino - Xaiv Pawg Thawj Coj / COM Port

Cov lus qhia:

  1. Txuas lub LoRaWAN lub rooj tsavxwm nrog lub micro usb cable rau koj lub khoos phis tawj.
  2. Hauv koj arduino interface nyem rau ntawm Cov Cuab Yeej> Pawg Thawj Coj thiab xaiv pawg "Seeeduino LoRaWAN". (saib daim duab)
  3. Xaiv hauv tib cov ntawv qhia zaub mov qhov tseeb COM chaw nres nkoj.

Kauj Ruam 19: #Code - Arduino - Tshaj Tawm Txoj Cai rau Pawg Thawj Coj

#Code - Arduino - Tshaj Tawm Txoj Cai rau Pawg Neeg Saib Xyuas
#Code - Arduino - Tshaj Tawm Txoj Cai rau Pawg Neeg Saib Xyuas

Tam sim no uas peb muaj peb cov cai npaj, nws yog lub sijhawm los muab cov cai rau LoRaWAN pawg thawj coj!

Cov lus qhia:

  1. Nco ntsoov koj LoRaWAN pawg thawj coj tseem txuas nrog koj lub PC.
  2. Ob npaug nias lub khawm pib dua ntawm sab sab. Koj yuav pom tias lub teeb ci ntsa iab. Qhov no txhais tau tias lub cuab yeej nyob hauv hom bootloader.
  3. Vim tias tus txheej txheem bootloader peb yuav tsum xaiv qhov chaw nres nkoj COM tshiab. Qhov no tau ua tiav zoo ib yam li hauv qib #18.
  4. Nyem rau ntawm lub pob upload. Nws yog lub pob nrog tus xub taw rau sab xis. (Saib daim duab - lub voj voog liab).
  5. Koj yuav tsum pom "upload tiav" hauv qab txoj cai kaum.

Kauj ruam 20: #Code - Arduino - Ntsuas Code

#Code - Arduino - Xeem Txoj Cai!
#Code - Arduino - Xeem Txoj Cai!
#Code - Arduino - Xeem Txoj Cai!
#Code - Arduino - Xeem Txoj Cai!

Cov lus qhia:

  1. Ntawm lub cuab yeej saib xyuas ntawm TTN nyem rau "Cov Ntaub Ntawv". Muaj koj yuav pom txhua cov ntaub ntawv nkag mus uas tshwj xeeb ntawm lub cuab yeej. (saib daim duab - duab plaub liab)
  2. Txhawm rau ntsuas cov ntaub ntawv xa mus, nyem lub pob pib dua ntawm ib sab ntawm lub cuab yeej siv xa lub teeb liab.
  3. Yog tias LoRa teeb liab tau txais los ntawm lub qhov rooj koj yuav pom cov ntaub ntawv nkag hauv koj daim ntawv thov cov ntaub ntawv ntawm lub cuab yeej ntawm TTN. (tos 30 txog 40 thib ob kom pom qhov tshwm sim)
  4. Yog tias koj tsis pom cov ntaub ntawv xa tuaj sim thawb lub khawm nyob ntawm ib sab ntawm lub cuab yeej siv kom xa lub teeb liab dua.
  5. Yog tias qhov no tsis pab, koj rov mus rau kauj ruam #18 thiab sim xa cov cai ntxiv.

Nrog koj zoo siab tam sim no tau ua haujlwm LoRa Node ntaus ntawv!

  1. Tshem lub USB los ntawm lorawan board.
  2. Thawb ib zaug zaum kawg ntawm khawm so ntawm ib sab ntawm lub cuab yeej.

Kauj Ruam 21: #Hardware - Los Ua Ke 5: Ntxig Cov Tais Roj Teeb

#Hardware - Los Ua Ke 5: Ntxig Tais Roj Teeb
#Hardware - Los Ua Ke 5: Ntxig Tais Roj Teeb
#Hardware - Los Ua Ke 5: Ntxig Tais Roj Teeb
#Hardware - Los Ua Ke 5: Ntxig Tais Roj Teeb
#Hardware - Los Ua Ke 5: Ntxig Tais Roj Teeb
#Hardware - Los Ua Ke 5: Ntxig Tais Roj Teeb

Qhov:

Roj teeb tais

Cov lus qhia

  1. Ntxig lub tais roj teeb rau hauv lub tsev nyob hauv qab lub kaum ntse ntse. Xyuas kom tseeb tias koj xub tso lub hwj chim cable rau hauv txoj kev yog. (saib daim duab)
  2. Ua ntej tso lub tais rau ntawm phab ntsa txhawb nqa qhov uas cov hlua txuas tom qab.
  3. Thawb lub tais kom txog thaum koj hnov lub suab "snap nyem".
  4. Txheeb xyuas lub ces kaum uas lub tais tau haum zoo rau hauv lub tsev loj. (saib daim duab 2/3 - lub voj liab) // weg
  5. Ntxig lub xaim hluav taws xob rau sab saum toj ntawm I2C cov txuas txuas. Thawb nws nrog qee yam tsis meej. ceev faj tsis txhob ua kom cov cables puas tsuaj.

Kauj Ruam 22: #Hardware - Sib dhos 6: Ntxig Cov Roj Teeb

Qhov:

6 x AA roj teeb (sab hauv)

Cov lus qhia:

  1. Ntxig 6 x AA roj teeb hauv qhov qhia kom raug ntawm cov neeg tuav lub roj teeb.
  2. Ua tib zoo thawb cov hlua ntawm lub roj teeb kom lawv tsis txhob cuam tshuam nrog cov kauj ruam tom ntej.

*sab node: txheeb xyuas qhov taw qhia roj teeb ntawm tus tuav lub roj teeb. nws yuav txawv ntawm qhov nyob hauv daim duab

Kauj Ruam 23: #Hardware - Los Ua Ke 7: Rov Qab

#Hardware - Los Ua Ke 7: Npog Rov Qab
#Hardware - Los Ua Ke 7: Npog Rov Qab

Qhov:

3D luam tawm - Sab nraub qaum

cov lus qhia:

  1. Ntxig daim di ncauj npog rov qab rau hauv lub qhov ncauj ntawm lub hauv paus lub cev nyob hauv qab lub kaum sab xis.
  2. Thawb rau sab ntawm lub tsev thiab xyuas kom nws yog txoj haujlwm raug.
  3. Yog tias daim di ncauj tsis haum vim yog teeb meem luam tawm sim zom qee qhov saum npoo kom txog thaum nws haum. Txheeb xyuas tias lub nraub qaum yog tiaj tiaj ntawm lub tsev thiab tsis muaj nqaws.
  4. Ntxig rau M3x16mm ntsia hlau thiab kaw kom nruj.

Kauj Ruam 24: #Hardware - Attachment of Device

#Hardware - Txuas ntawm Ntaus Ntawv
#Hardware - Txuas ntawm Ntaus Ntawv
#Hardware - Txuas ntawm Ntaus Ntawv
#Hardware - Txuas ntawm Ntaus Ntawv
#Hardware - Txuas ntawm Ntaus Ntawv
#Hardware - Txuas ntawm Ntaus Ntawv

Muaj ntau txoj hauv kev los txuas lub cuab yeej.

  1. Ntsia swb swb qhov zawj ntawm sab.
  2. Ntsia swb swb qhov zawj nyob tom qab.
  3. Tiewrap groves nyob rau sab / sab saum toj thiab nraub qaum.
  4. Lub nraub qaum ntawm lub hauv paus tseem tau muab nrog tus nuv.

Pom zoo: