Cov txheej txheem:

MuMo - LoRa Gateway: 25 Kauj Ruam (nrog Duab)
MuMo - LoRa Gateway: 25 Kauj Ruam (nrog Duab)

Video: MuMo - LoRa Gateway: 25 Kauj Ruam (nrog Duab)

Video: MuMo - LoRa Gateway: 25 Kauj Ruam (nrog Duab)
Video: 20 MOMENTS YOU WOULDN'T BELIEVE IF NOT FILMED 2024, Hlis ntuj nqeg
Anonim
MuMo - LoRa Rooj vag
MuMo - LoRa Rooj vag
MuMo - LoRa Rooj vag
MuMo - LoRa Rooj vag
MuMo - LoRa Rooj vag
MuMo - LoRa Rooj vag
MuMo - LoRa Rooj vag
MuMo - LoRa Rooj vag

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

github.com/MoMu-Antwerp/MuMo

MuMo yog dab tsi?

MuMo yog kev 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. Cov ntsuas tsis yog kub, av noo, huab cua ib puag ncig thiab ci ntsa iab.

*** Lub MuMo node tuaj yeem txuas ntxiv nrog lwm cov haujlwm kom 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 tseem tuaj yeem tsuas yog pab muab LoRa network (tsis ntsuas qhov rooj). ***

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

Txuas 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/MoMu-Antwerp/MuMo/blob/master/Shopping_list.md

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

Cov khoom rau 3D luam tawm:

  1. Rooj vag

    • GATEWAY_Main_Housing
    • GATEWAY_Backcover
  2. Sensor_txiv

    • Sensor_Housing
    • Sensor_Backcover
  3. Lub koob yees duab_ txuas ntxiv

    • Lub Koob Yees Duab_Housing
    • Lub Koob Yees Duab_Backcover
  4. Trap_extension

nplooj ntawv github rau cov ntaub ntawv STL tseeb:

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

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: #Software - Npaj SD Card Raspberry Pi

#Software - Npaj SD Card Raspberry Pi
#Software - Npaj SD Card Raspberry Pi
#Software - Npaj SD Card Raspberry Pi
#Software - Npaj SD Card Raspberry Pi

Qhov:

  • Raspberry Pi
  • Micro SD daim npav.

Cov lus qhia:

  1. Nco ntsoov tias daim npav SD tau flashed thiab tias txoj cai ua haujlwm raspberry (Raspberry Pi OS (32-ntsis) nrog duab) duab tau teeb rau ntawm daim npav micro SD. Ua raws qhov txuas hauv qab no txhawm rau nrhiav cov lus qhia raug rau nyem thiab npaj koj daim npav micro SD.
  2. Ntxig koj daim npav micro SD rau hauv Raspberry Pi.

Txuas:

www.raspberrypi.org/documentation/installation/installing-images/

Kauj Ruam 4: #Hardware - Npaj Huab Cua Huab Cua Sensor (xaiv tau)

#Hardware - Npaj Huab Cua Huab Cua Sensor (xaiv tau)
#Hardware - Npaj Huab Cua Huab Cua Sensor (xaiv tau)
#Hardware - Npaj Huab Cua Huab Cua Sensor (xaiv tau)
#Hardware - Npaj Huab Cua Huab Cua Sensor (xaiv tau)
#Hardware - Npaj Huab Cua Huab Cua Sensor (xaiv tau)
#Hardware - Npaj Huab Cua Huab Cua Sensor (xaiv tau)
#Hardware - Npaj Huab Cua Huab Cua Sensor (xaiv tau)
#Hardware - Npaj Huab Cua Huab Cua Sensor (xaiv tau)

Qhov:

  • pom huab cua plua plav sensor
  • 2 x resistor (3.3 KΩ)
  • Grove lub kaus mom board
  • 2 x shrink tes tsho

Cov lus qhia:

  1. Txiav cov xaim liab mus txog qhov txuas.
  2. Txiav cov xaim daj ntawm qhov deb ntawm 3 cm los ntawm qhov txuas.
  3. Txiav cov xaim dub ntawm qhov deb ntawm 2 cm ntawm qhov txuas.
  4. Seem qhov kawg ntawm txhua cov xaim.
  5. Muab lub tes tsho me me tso rau ntawm kab xov daj.
  6. Muab lub tes tsho loj tso rau ntawm kab daj thiab dub.
  7. Solder ob resistors nyob rau hauv series nrog lub daj kab ntawm lub connector nyob nruab nrab ntawm.
  8. Muab lwm txoj hlua daj tso rau sab ntawm lub sensor mus rau ib qho ntawm cov tiv thaiv.
  9. Xaub lub tes me me hla qhov txuas txuas ntawm cov xaim daj nrog ib tus tiv thaiv kawg tseem raug thiab cua sov ua rau lub tes tsho me me.
  10. Solder cov xov hlau dub rov qab ua ke nrog tseem pom kev tiv thaiv kawg ntawm nruab nrab.
  11. Xaub lub tes tsho loj hla qhov txuas txuas thiab lub tes me thiab cua sov ua rau lub tes tsho loj.
  12. Muab cov hlua liab txuas rau 5V tus pin (tus pin 2 thiab 4) ntawm Grove lub kaus mom lub rooj tsavxwm (saib daim duab saib saum toj).

Kauj Ruam 5: #Hardware - Mounting Spacers (yeem)

#Hardware - Mounting Spacers (yeem)
#Hardware - Mounting Spacers (yeem)
#Hardware - Mounting Spacers (yeem)
#Hardware - Mounting Spacers (yeem)
#Hardware - Mounting Spacers (yeem)
#Hardware - Mounting Spacers (yeem)
#Hardware - Mounting Spacers (yeem)
#Hardware - Mounting Spacers (yeem)

Qhov:

  • Grove lub kaus mom board
  • Pom huab cua plua plav sensor
  • 4 x poj niam-txiv neej spacers
  • 4 x poj niam-poj niam spacers
  • 4x nug

Cov lus qhia:

  1. Mount tus poj niam-txiv neej spacers los ntawm qhov sib dhos ntawm cov ntoo kaus mom ntoo
  2. Ntsia cov txiv ntoo ntawm tus poj niam-txiv neej spacers thiab nruj nws. (muab qhov chaw ntxiv rau cov kab hlau los khoov)
  3. Ntsia tus poj niam-poj niam spacers rau saum cov txiv ntoo thiab zawm txhua yam.
  4. Teem lub liab 5V cable ntawm lub tshuab nqus pa nrog rau sab hauv ntawm lub dav hlau (saib daim duab kawg).

Kauj Ruam 6: #Hardware - Txuas Lub Koob Yees Duab Cable / Dust Sensor / I2C (xaiv tau)

#Hardware - Txuas Lub Koob Yees Duab Cable / Dust Sensor / I2C (xaiv tau)
#Hardware - Txuas Lub Koob Yees Duab Cable / Dust Sensor / I2C (xaiv tau)
#Hardware - Txuas Lub Koob Yees Duab Cable / Dust Sensor / I2C (xaiv tau)
#Hardware - Txuas Lub Koob Yees Duab Cable / Dust Sensor / I2C (xaiv tau)
#Hardware - Txuas Lub Koob Yees Duab Cable / Dust Sensor / I2C (xaiv tau)
#Hardware - Txuas Lub Koob Yees Duab Cable / Dust Sensor / I2C (xaiv tau)

Qhov:

  • Pawg sib dhos los ntawm kauj ruam 6

  • Raspberry PiModel 3 B+
  • Lub koob yees duab cable
  • 2 x grove kev txuas cable
  • 1 x Ntev M2.5 ntsia hlau

Cov lus qhia:

Lub koob yees duab cable:

  1. Nqa lub latch ntawm tus xov tooj txuas rau ntawm Raspberry Pi (saib daim duab ib - duab plaub liab). Ceev faj, tsis yooj yim!
  2. Ntxig lub koob yees duab cable rau hauv qhov txuas ntawm Raspberry Pi nrog rau sab xiav tig mus rau usb ntsaws.
  3. Thaum cov cable nyob hauv qhov chaw raug. Thawb lub latch rov qab rau hauv qhov chaw kom txoj hlua txuas tau ruaj ntseg.
  4. Pub lub koob yees duab cable hla lub qhov muab rau hauv pawg ntoo. (saib daim duab ntawm lub rooj tsavxwm ntoo saum toj saib - duab plaub liab)
  5. Teem lub rooj tsavxwm nrog tus pin txuas ntawm sab.
  6. Thawb nws txhua txoj hauv kev los ua pawg.
  7. Txhawm rau kom ruaj ntseg pawg, teeb lub hau ntswj rau hauv lub qhov nyob ib sab ntawm lub suab txuas ntawm raspberry pi. (saib daim duab saib saum toj)
  8. Thawj pawg ua tiav!

Huab cua plua plav sensor:

Txuas lub txuas ntawm lub ntsuas cua plua plav kom tus pin D16 ntawm Grove lub kaus mom lub rooj tsavxwm. (saib daim duab ntawm lub rooj ntoo ntoo sab saum toj saib - duab plaub liab)

I2C txuas:

Txuas ob txoj kab txuas txuas ntoo mus rau I2C txuas ntawm Grove lub rooj tsav nkoj. Nyiam siv cov txuas uas nyob ze rau lub koob yees duab cable. Qhov no ua rau nws yooj yim dua los siv HDMI chaw nres nkoj tom qab. (saib daim duab ntawm lub rooj tsavxwm ntoo saum toj saib - duab plaub xiav)

Kauj Ruam 7: #Hardware - Txhim Kho Cov Pawg Hauv Tsev

#Hardware - Tsim Cov Pawg Hauv Tsev
#Hardware - Tsim Cov Pawg Hauv Tsev
#Hardware - Tsim Cov Pawg Hauv Tsev
#Hardware - Tsim Cov Pawg Hauv Tsev
#Hardware - Tsim Cov Pawg Hauv Tsev
#Hardware - Tsim Cov Pawg Hauv Tsev

Qhov:

  • Pawg sib dhos los ntawm kauj ruam 6
  • Gateway_body 3D luam tawm
  • 3 x Ntev M2.5
  • 1x3m ua

Cov lus qhia:

  1. Txheeb xyuas yog tias daim npav micro SD tau tso rau hauv Raspberry Pi.
  2. Ntxig lub tshuab nqus plua plav cua hauv lub tsev luam ntawv 3D thiab ruaj ntseg nrog M3 ntsia hlau.
  3. Ua ntej peb ntxig rau pawg. Qhia lub koob yees duab cable thiab ob lub I2C grove kev txuas cov kab hluav taws xob los ntawm cov kab hauv qab hauv lub tsev.
  4. Ntxig lub Pi pawg rau hauv lub tsev.
  5. Thawb cov hlua nqes mus rau sab kom lawv tsis txhob taug txoj hauv kev.
  6. Nco ntsoov tias tsis muaj xov hlau nyob ntawm xub ntiag ntawm Micro USB thiab HDMI txuas.
  7. Ruaj ntseg pawg nrog peb M2.5 ntsia hlau los ntawm lub qhov loj hauv ntej.

Kauj Ruam 8: #Hardware - Dragino LoRa Shield

#Hardware - Dragino LoRa Shield
#Hardware - Dragino LoRa Shield
#Hardware - Dragino LoRa Shield
#Hardware - Dragino LoRa Shield
#Hardware - Dragino LoRa Shield
#Hardware - Dragino LoRa Shield

Qhov:

  • Kev sib dhos los ntawm kauj ruam 7
  • Dragino LoRa ntaub thaiv npog
  • 4 x Luv M2.5 ntsia hlau

Cov lus qhia:

  1. Ua ntej teeb lub kav hlau txais xov rau Dragino LoRa daim ntaub thaiv. (tsis txhob ua kom nruj ntxiv!)
  2. Ntxig daim ntaub thaiv Dragino LoRa rau saum lub kaus mom ntoo ntoo. Teem cov pins thiab thawb nws txhua txoj hauv kev.
  3. Ruaj ntseg lub rooj tsavxwm nrog plaub M2.5 ntsia hlau.

Kauj ruam 9: #Hardware - Rov Qab

#Hardware - Rov qab
#Hardware - Rov qab
#Hardware - Rov qab
#Hardware - Rov qab
#Hardware - Rov qab
#Hardware - Rov qab
#Hardware - Rov qab
#Hardware - Rov qab

Qhov:

  • Kev sib dhos los ntawm kauj ruam 8
  • Rooj vag_backcover
  • 2 x M3 screws

Cov lus qhia:

  1. Xaub cov ntawv tso rau sab nraub qaum rau hauv lub tsev thiab thawb nws.
  2. Kho lub nraub qaum nrog ob lub M3 ntsia hlau.

Kauj Ruam 10: #Hardware - Teeb LoRa Gatway

#Hardware - Teeb LoRa Gatway
#Hardware - Teeb LoRa Gatway

Qhov:

  • Kev sib dhos los ntawm kauj ruam 9
  • Peripherals: tshuaj ntsuam (HDMI) / keyboard / nas
  • Micro usb fais fab mov

Cov lus qhia:

  1. Txuas lub Raspberry rau lub vijtsam nrog HDMI cable.
  2. Txuas tus nas, keyboard rau USB txuas.
  3. Txuas lub hwj huam usb cable rau Raspberry Pi kawg. Nws yuav tsum pib khau raj tam sim no.

Kauj Ruam 11: #Software - Teeb LoRa Gatway - Thawj Pib Pib Raspberry Pi

#Software - Teeb LoRa Gatway - Thawj Pib Pib Raspberry Pi
#Software - Teeb LoRa Gatway - Thawj Pib Pib Raspberry Pi
#Software - Teeb LoRa Gatway - Thawj Pib Pib Raspberry Pi
#Software - Teeb LoRa Gatway - Thawj Pib Pib Raspberry Pi
#Software - Teeb LoRa Gatway - Thawj Pib Pib Raspberry Pi
#Software - Teeb LoRa Gatway - Thawj Pib Pib Raspberry Pi

Cov lus qhia:

  1. Koj yuav pom lub teeb teeb tsa. Ua raws li cov lus qhia teeb tsa.
  2. Xaiv koj lub nroog / network / teeb tsa keyboard
  3. Thaum kawg nws yuav tshawb nrhiav qhov hloov tshiab thiab teeb tsa lawv. Thov ua siab ntev, qhov no tuaj yeem siv ob peb feeb.

Kauj Ruam 12: #Software - Teeb LoRa Gatway - Tau Ether Adress rau TTN

#Software - Teeb LoRa Gatway - Tau Ether Chaw Nyob rau TTN
#Software - Teeb LoRa Gatway - Tau Ether Chaw Nyob rau TTN

Cov lus qhia:

  1. Qhib lub davhlau ya nyob twg ntawm Raspberry Pi.
  2. Ntaus hauv> ifconfig wlan0:
  3. Koj tuaj yeem pom ether chaw nyob ntawm Pi. (ex: b5: 23: eb: fc: 55: d4)
  4. Sau qhov no vim tias koj yuav xav tau nws thaum teeb lub rooj vag hauv TTN.

*** Sab lus ***

Yog xav paub ntau cov ntaub ntawv teeb tsa txog Dragino PG1301, txheeb xyuas phau ntawv siv (nplooj 7):

Git link naar de pdf

Kauj Ruam 13: #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 14: #TTN - Tsim Gatway ntawm TTN

#TTN - Tsim Gatway ntawm TTN
#TTN - Tsim Gatway ntawm TTN
#TTN - Tsim Gatway ntawm TTN
#TTN - Tsim Gatway ntawm TTN
#TTN - Tsim Gatway ntawm TTN
#TTN - Tsim Gatway ntawm TTN

Cov lus qhia:

  1. Hauv lub console ntawm TTN, nyem rau ntawm Gateway.
  2. Nyem rau ntawm lub qhov rooj nkag sau npe nyob rau sab xis saum toj mus rau ntawm lub qhov rooj ntaus ntawv tshiab. (saib daim duab - lub xwmfab liab)
  3. Khij lub npov ntawm "Kuv tab tom siv cov pob khoom qub". (saib daim duab - lub xwmfab ntsuab)
  4. Sau rau hauv lub qhov rooj EUI los ntawm kev siv ether chaw nyob los ntawm Pi. Hloov koj qhov chaw nyob zoo li qhov piv txwv no b5: 23: eb: fc: 55: d4 => B523EBFC55D4FFFF (saib daim duab - duab plaub ntsuab) Qhov "FFFF" tau ntxiv ua nws 8 byte tshwj xeeb EUI.
  5. Xaiv koj li phiaj xwm Zaus (piv txwv: Europe - 868MHz rau Tebchaws Europe)
  6. Xaiv koj lub router (ex: ttn-router-eu rau Europe)
  7. Taw qhia koj qhov chaw nyob ntawm daim duab qhia chaw. (yeem)
  8. Txheeb lub thawv sab xis, sab hauv tsev lossis sab nraum zoov.
  9. Hauv qab ntawm nplooj ntawv nyem rau ntawm lub pob Sau Npe Gateway

Kauj Ruam 15: #Software - Teeb LoRa Gatway - Kev Xaiv Ua Haujlwm

#Software - Teeb LoRa Gatway - Kev Xaiv Ua Haujlwm
#Software - Teeb LoRa Gatway - Kev Xaiv Ua Haujlwm
#Software - Teeb LoRa Gatway - Kev Xaiv Ua Haujlwm
#Software - Teeb LoRa Gatway - Kev Xaiv Ua Haujlwm
#Software - Teeb LoRa Gatway - Kev Xaiv Ua Haujlwm
#Software - Teeb LoRa Gatway - Kev Xaiv Ua Haujlwm

Cov lus qhia:

  1. Hauv hom davhlau ya nyob twg hauv> sudo raspi-config
  2. Xaiv cov kev xaiv Interface
  3. Xaiv thiab pab kom SPI
  4. Xaiv thiab qhib lub Koob Yees Duab
  5. Xaiv thiab pab kom I2C

Kauj Ruam 16: #Software - Teeb LoRa Gatway - Rub tawm thiab Nruab LoRaWAN Packet Forwarder Enable SPi

#Software - Teeb LoRa Gatway - Rub tawm thiab Nruab LoRaWAN Packet Forwarder Enable SPi
#Software - Teeb LoRa Gatway - Rub tawm thiab Nruab LoRaWAN Packet Forwarder Enable SPi
#Software - Teeb LoRa Gatway - Rub tawm thiab Nruab LoRaWAN Packet Forwarder Enable SPi
#Software - Teeb LoRa Gatway - Rub tawm thiab Nruab LoRaWAN Packet Forwarder Enable SPi

Cov lus qhia:

  1. Hauv hom davhlau ya nyob twg hauv> wget
  2. Qhov no yuav rub tawm pob ntawv xa mus los ntawm Dragino Server rau RPI.
  3. Hauv hom davhlau ya nyob twg hauv> sudo dpkg -i lorapktfwd.deb

Kauj Ruam 17: #Software - Teeb LoRa Gatway - Config Gateway ID, Zaus Band thiab Server Address

#Software - Teeb LoRa Gatway - Config Gateway ID, Zaus Band thiab Chaw Nyob Server
#Software - Teeb LoRa Gatway - Config Gateway ID, Zaus Band thiab Chaw Nyob Server
#Software - Teeb LoRa Gatway - Config Gateway ID, Zaus Band thiab Chaw Nyob Server
#Software - Teeb LoRa Gatway - Config Gateway ID, Zaus Band thiab Chaw Nyob Server

Cov lus qhia:

  1. Tom qab teeb tsa, mus rau lwm yam/ lora-gateway/ thiab qhib local_conf.json
  2. Hauv nruab nrab ntawm cov kab ntawv nkhaus ntxiv rau ntu hauv qab no:

"gateway_ID": "B523EBFC55D4FFFF",

"server_address": "router.eu.thethings.network",

"cov_port_up": 1700,

"serv_port_down": 1700 Nws

3. Hloov lub rooj vag_ID mus rau lub rooj vag_ID koj tau siv los teeb lub rooj vag hauv TTN. (nrog rau "FFFF")

4. Txuag daim ntawv.

Kauj Ruam 18: #Software - Teeb LoRa Gatway - Pib LoRa Network

#Software - Teeb LoRa Gatway - Pib LoRa Network
#Software - Teeb LoRa Gatway - Pib LoRa Network
#Software - Teeb LoRa Gatway - Pib LoRa Network
#Software - Teeb LoRa Gatway - Pib LoRa Network

Cov lus qhia:

  1. Hauv lub davhlau ya nyob twg hom>
  2. sudo systemctl nres lorapktfwd
  3. sudo systemctl pib lorapktfwd
  4. sudo systemctl pab lorapktfwd
  5. Qhov no rov pib dua pob khoom xa mus thiab ua kom ntseeg tau tias tus xa khoom pib nrog Raspberry Pi. Tam sim no koj lub rooj vag LoRa tau ua haujlwm.
  6. Koj yuav tsum pom qhov xwm txheej hloov tshiab rau "txuas" hauv ob peb feeb ntawm TTN.

Kauj Ruam 19: #Software - Teeb Rooj vag - Sensor / Lub Koob Yees Duab - Nruab (tsis teb los tau)

#Software - Teeb Rooj vag - Sensor / Camera - Nruab (yeem)
#Software - Teeb Rooj vag - Sensor / Camera - Nruab (yeem)
#Software - Teeb Rooj vag - Sensor / Camera - Nruab (yeem)
#Software - Teeb Rooj vag - Sensor / Camera - Nruab (yeem)
#Software - Teeb Rooj Rooj - Sensor / Lub Koob Yees Duab - Nruab (yeem)
#Software - Teeb Rooj Rooj - Sensor / Lub Koob Yees Duab - Nruab (yeem)

Cov lus qhia:

  1. Txheeb xyuas yog tias koj muaj nab nab 3 ntawm koj li Raspberry Pi. Hauv hom davhlau ya nyob twg => python3
  2. Yog tias koj tsis muaj nab nab 3, ua raws li cov lus qhia teeb tsa no:
  3. yam => sudo apt hloov tshiab
  4. hom => sudo apt nruab python3 idle3
  5. Tam sim no koj yuav tsum muaj nab nab 3. Thov txheeb xyuas dua nrog thawj kauj ruam.

Qhib lub koob yees duab / I2C / SPI: (koj yuav tau ua qhov no twb tau ua hauv LoRa teeb tsa)

  1. Hauv hom davhlau ya nyob twg => sudo raspi-config
  2. Mus rau Interfacing Options.
  3. Pab kom lub koob yees duab
  4. Pab kom I2C
  5. Pab kom SPI

Nruab cov tsev qiv ntawv hauv qab no: (ntaus cov lus txib no hauv lub davhlau ya nyob twg)

  1. sudo apt-tau hloov tshiab
  2. sudo apt-tau nruab libatlas-base-dev

  3. pip3 nruab numpy
  4. pip3 nruab opencv-python
  5. pip3 nruab scikit-duab
  6. pip3 nruab sijhawm

  7. pip3 nruab getmac
  8. pip3 nruab adafruit-circuitpython-bme680
  9. pip3 nruab adafruit-circuitpython-tsl2561
  10. pip3 nruab RPI. GPIO

Kauj Ruam 20: #Software - Teeb Rooj vag - Sensor / Camera - Script Run (yeem)

#Software - Teeb Rooj vag - Sensor / Camera - Script Run (yeem)
#Software - Teeb Rooj vag - Sensor / Camera - Script Run (yeem)
#Software - Teeb Rooj vag - Sensor / Camera - Script Run (yeem)
#Software - Teeb Rooj vag - Sensor / Camera - Script Run (yeem)
#Software - Teeb Rooj vag - Sensor / Camera - Script Run (yeem)
#Software - Teeb Rooj vag - Sensor / Camera - Script Run (yeem)

Cov lus qhia:

  1. Rub cov ntawv nab nab "mumo.py" los ntawm github: Github txuas
  2. Muab tus lej tso rau ntawm koj lub desktop.
  3. Qhib lub davhlau ya nyob twg thiab hom> sudo nano/etc/xdg/lxsession/LXDE-pi/autostart
  4. Luam kab no rau hauv qab ntawm cov ntawv> @lxterminal -e python3 /home/pi/Desktop/mumo.py
  5. Txuag cov ntaub ntawv thiab kaw nws.
  6. Tam sim no tsab ntawv yuav cia li pib thaum rov pib dua.
  7. Qhib cov cai.
  8. Hloov mus rau koj qhov kawg URL. (qhov twg xa cov ntaub ntawv ntawm koj lub server backend)

Kauj Ruam 21: #Hardware - Sensor Ntxiv (xaiv tau)

#Hardware - Sensor Ntxiv (xaiv tau)
#Hardware - Sensor Ntxiv (xaiv tau)
#Hardware - Sensor Ntxiv (xaiv tau)
#Hardware - Sensor Ntxiv (xaiv tau)
#Hardware - Sensor Ntxiv (xaiv tau)
#Hardware - Sensor Ntxiv (xaiv tau)
#Hardware - Sensor Ntxiv (xaiv tau)
#Hardware - Sensor Ntxiv (xaiv tau)

Qhov:

  • Kev sib dhos los ntawm kauj ruam 9
  • Sensor_ lub cev
  • Sensor_cap
  • Cov teeb pom kev zoo (lub teeb me me)
  • BME680 sensor (ntev sensor)
  • 4 x M2x5 screws
  • 4 x M3 pin

Cov lus qhia:

  1. Ntxig ob lub I2C grove kev txuas kab txuas los ntawm lub qhov ntawm lub sensor_cap.
  2. Txuas lub BME680 sensor thiab lub teeb pom kev digital mus rau I2C tsob ntoo txuas txuas.
  3. Ntxig lub BME680 sensor thiab lub teeb pom kev digital mus rau hauv lub sensor_body ib feem thiab ruaj ntseg nws nrog plaub M2x5 ntsia hlau. Koj yuav tau khoov kab kom haum cov ntsuas hluav taws xob rau hauv qhov chaw, yog li ceev faj!
  4. Xaub lub sensor_cap rau saum lub cev sensor kom kaw nws.
  5. Kho lub hau rau lub cev nrog ob lub M3 ntsia hlau.
  6. Txuas lub sensor ntxiv rau kev sib dhos rau pem hauv ntej ntawm lub qhov rooj nrog ob lub M3 ntsia hlau. (saib daim duab - Lub voj voog liab)
  7. Cov kab hauv hav zoov tej zaum yuav ntev dhau lawm. Thawb lawv sab hauv lub tsev sensor.

Kauj Ruam 22: #Hardware - Ntxiv Lub Koob Yees Duab (xaiv tau)

#Hardware - Ntxiv Lub Koob Yees Duab (xaiv tau)
#Hardware - Ntxiv Lub Koob Yees Duab (xaiv tau)
#Hardware - Ntxiv Lub Koob Yees Duab (xaiv tau)
#Hardware - Ntxiv Lub Koob Yees Duab (xaiv tau)
#Hardware - Ntxiv Lub Koob Yees Duab (xaiv tau)
#Hardware - Ntxiv Lub Koob Yees Duab (xaiv tau)
#Hardware - Ntxiv Lub Koob Yees Duab (xaiv tau)
#Hardware - Ntxiv Lub Koob Yees Duab (xaiv tau)

Qhov:

  • Kev sib dhos los ntawm kauj ruam 10
  • Lub koob yees duab module (nrog M2.5 ntsia hlau)
  • Lub koob yees duab_body
  • Lub koob yees duab_cap
  • 4 x M3 pin

Cov lus qhia:

  1. Muab lub koob yees duab thiab ib lub teeb txuas rau hauv lub koob yees duab_cap vaj tse thiab ruaj ntseg nws nrog plaub M2.5 ntsia hlau los ntawm lub koob yees duab.
  2. Txhawm rau ntxig lub koob yees duab cable peb yuav tsum nqa lub yas yas dub los ntawm qhov txuas.
  3. Ntxig lub koob yees duab cable nrog lub ntsej muag xiav tig rau lub koob yees duab. (saib duab)
  4. Xaub lub koob yees duab_ lub cev rau saum lub rooj sib txoos
  5. Kho lub koob yees duab _cap nrog ob lub M3 ntsia hlau rau lub koob yees duab.
  6. Mount lub koob yees duab ntxiv rau kev sib dhos mus rau hauv qab tawm ntawm lub qhov rooj tsev nrog ob lub M3 ntsia hlau (saib daim duab - Lub voj voog liab)
  7. Thawb cov kab hluav taws xob txuas rau hauv lub tsev.

Kauj Ruam 23: #Hardware - Kab Kab Cuam Tshuam Ntxiv (xaiv tau)

#Hardware - Kab Kab Kab Ntxiv (xaiv tau)
#Hardware - Kab Kab Kab Ntxiv (xaiv tau)
#Hardware - Kab Kab Kab Ntxiv (xaiv tau)
#Hardware - Kab Kab Kab Ntxiv (xaiv tau)
#Hardware - Kab Kab Kab Ntxiv (xaiv tau)
#Hardware - Kab Kab Kab Ntxiv (xaiv tau)
#Hardware - Kab Kab Kab Ntxiv (xaiv tau)
#Hardware - Kab Kab Kab Ntxiv (xaiv tau)

Qhov:

  • Kev sib dhos los ntawm kauj ruam 11
  • Trap_Frame
  • kab ntawv kab - kab ntawv nplaum
  • 2x M3 ntsia hlau

Cov lus qhia:

  1. Muab Trap_Frame ib feem tso rau saum lub tsev yees duab. Cov cuab ntxiab muaj qee qhov chaw rau lub hwj chim usb cable ntawm lub qhov rooj, yog li tshawb xyuas cov duab rau kev qhia kom raug.
  2. Kho nrog ob lub M3 ntsia hlau ntawm sab laug thiab sab xis ntawm lub koob yees duab vaj tsev.
  3. Ntxig koj daim ntawv kab kab (60 x 75) mm rau hauv lub qhov ntxiab. Muaj ob qhov qhib, nyob rau pem hauv ntej thiab rov qab. Nws nyob ntawm seb koj yuav tso lub rooj vag li cas.
  4. Lub zog usb cable tuaj yeem xaws tau ntawm cov qauv qhib ntawm qhov cuab ntxiab.

Kauj Ruam 24: #Hardware - Mounting Gateway

#Hardware - Txhim Kho Lub Rooj Vag
#Hardware - Txhim Kho Lub Rooj Vag
#Hardware - Txhim Kho Lub Rooj Vag
#Hardware - Txhim Kho Lub Rooj Vag
#Hardware - Txhim Kho Lub Rooj Vag
#Hardware - Txhim Kho Lub Rooj Vag
#Hardware - Txhim Kho Lub Rooj Vag
#Hardware - Txhim Kho Lub Rooj Vag

Lub qhov rooj tau muab nrog ntau txoj hauv kev los txhawm rau lub rooj vag.

Peb muaj ob lub qhov ntsaws qhov uas lub qhov rooj tuaj yeem dai.

Peb kuj tseem muaj cov hlua sib txuas ua ke, yog li koj tuaj yeem yooj yim txuas lub qhov rooj mus rau txhua yam.

Kauj Ruam 25: #Hardware - Kev Taw Qhia Sib Txawv

Lub qhov rooj yog hloov pauv kom cov cim thiab lub koob yees duab tuaj yeem ntsia tau rau hauv kev qhia sib txawv. Koj tseem tuaj yeem tsim koj tus kheej cov khoom thiab ntxiv lawv rau kev teeb tsa.

Pom zoo: