Cov txheej txheem:
- Kauj Ruam 1: Cov Khoom Siv thiab Cov Khoom Siv Yuav Tsum Tau
- Kauj Ruam 2: Npaj Khoos Phis Tawj - Soldering thiab Txuas Hluav Taws Xob
- Kauj Ruam 3: Arduino Chav Kawm Rub Tawm thiab Nruab. Software Chaw
- Kauj Ruam 4: Arduino - Sib Sau, Tso Tawm thiab Ua NB IoT Echo Test
Video: NBIoT Cov Ntaub Ntawv Xa Mus Yuav Siv Li Cas BC95G Modem Raws Shields - UDP Test thiab Network Status Signaling: 4 Kauj Ruam
2024 Tus sau: John Day | [email protected]. Kawg hloov kho: 2024-01-30 09:26
Txog cov haujlwm no:
Kuaj NB IoT network muaj peev xwm thiab raw UDP cov ntaub ntawv xa mus siv xyz-mIoT los ntawm itbrainpower.net ntaub thaiv npog nruab nrog Quectel BC95G modem.
Lub sijhawm xav tau: 10-15 feeb.
Nyuaj: nruab nrab.
Remarque: yuav tsum tau siv cov txuj ci sib dhos.
Hais txog NB IoT: NarrowBand-Internet ntawm Yam (NB-IoT) yog Lub Hwj Huam Muaj Hwjchim Loj Hauv Ntiaj Teb (LPWAN) xov tooj cua thev naus laus zis tus qauv tsim los pab kom muaj ntau yam khoom siv thiab cov kev pabcuam kom txuas nrog siv xov tooj ntawm tes. NB IoT thev naus laus zis muab kev txhim kho ob qho tib si sab hauv thiab sab nraum zoov, txhawb nqa cov lej loj ntawm cov khoom siv qis, qis qeeb qeeb, tsis tshua muaj nqi ntaus nqi, siv lub cuab yeej siv hluav taws xob tsawg thiab ua kom zoo network network.
Kauj Ruam 1: Cov Khoom Siv thiab Cov Khoom Siv Yuav Tsum Tau
Pom tseeb, xyz-mIoT daim ntaub thaiv nruab nrog Quectel BC95G modem-PN: XYZMIOT209#BC95G-UFL-xxxxxxx-yog lub hauv paus tseem ceeb xav tau.
xyz-mIoT los ntawm itbrainpower.net daim thaiv yog thawj zaug, thiab qhov kev cog lus tshaj plaws, IoT pawg thawj coj uas sib xyaw ua ke ntau yam ntawm ARM0 micro-controller (Microchip/Atmel ATSAMD21G hauv Arduino Zero sib xws tsim), siv tau yooj yim ntawm kev kos cov kab ke nrog kev sib txuas muab los ntawm LTE CAT M1 lossis NB-IoT ntev-ntau & lub zog qis modem lossis cov qub 3G / GSM modems.
Xyz -mIoT daim ntaub thaiv tuaj yeem muaj txog 5 qhov sib xyaw ua ke, xws li: THS (ntsuas kub thiab av noo) - HDC2010, tVOC & eCO2 (huab cua ntsuas qhov zoo - CO2 tag nrho cov organic sib txuas hloov pauv- CO2 sib npaug) - CCS811, HALL (sib nqus sensor) - DRV5032 lossis IR (infrared sensor) KP -2012P3C, theem nrab IR (infrared sensor) - KP -2012P3C, TILT (txav kev co lub zog sensor) lossis REED (sib nqus sensor) - SW200D. Cov lus hais los saum toj no cov neeg nyob hauv xyz-mIoT pawg thawj coj thiab tuaj yeem xaj kom siv Tus lej sib txawv.
Txhawm rau ua NB IoT cov ntaub ntawv xa mus kuaj, cov khoom ntxiv hauv qab no xav tau:
- 1 x capacitor 1000-2200uF/6.3V ESR qis
- ib lub kav hlau txais xov GSM nrog uFL txuas (lossis ib qho uFL rau SMA F pigtail thiab ib lub kav hlau txais xov GSM nrog SMA)
- ib daim npav SIM (nano SIM hom) muaj NB-IoT txhawb nqa (hauv peb qhov kev sim peb siv Vodafone Romania SIM daim npav)
xyz-mIoT los ntawm itbrainpower.net daim thaiv tuaj yeem xaj online ntawm no, lossis los ntawm ib tus neeg xa khoom ze koj.
Kauj Ruam 2: Npaj Khoos Phis Tawj - Soldering thiab Txuas Hluav Taws Xob
a Soldering
- pab kom 5V los ntawm USB los ua lub hwj chim tseem ceeb rau xyz -mIoT daim ntaub thaiv raws li tau qhia hauv daim duab thawj [solder hla SJP6 pawm - txuas ob lub pawm]. Lwm txoj hauv kev: solder ob kab sib txuas, tso lub rooj tsavxwm rau hauv ib lub khob cij thiab txuas nruab nrab ntawm Vusb thiab Vraw siv ib tus txiv neej-txiv neej breadboard xaim.
- solder tus 1000-2200 uF /6.3V Tsawg ESR capacitor rau "super-capacitor PADS". Nco ntsoov lub capacitor polarity [txuas + tus ncej rau Vpad + ncoo thiab - ncej rau GND ncoo]!
DOUBLE CHECK koj qhov muag !!!
b. Kev thaiv tag nrho ua ke
Ntxig lub nano-SIM hauv nws qhov [SIM yuav tsum muaj tus lej PIN txheeb xyuas raug tshem tawm]. Txuas tus kav hlau txais xov, tom qab ntawd txuas lub USB cable rau xyz-mIoT USB chaw nres nkoj thiab rau koj lub khoos phis tawj. Saib cov ntsiab lus hauv txoj cai duab.
Lub xyz-mIoT ntaub thaiv npog yuav raug txhawb los ntawm USB.
Kauj Ruam 3: Arduino Chav Kawm Rub Tawm thiab Nruab. Software Chaw
Txhua qhov software piav qhia hauv qab no muaj, rau cov neeg siv sau npe, ntawm no.
a Rub tawm thiab teeb tsa "xyz-mIoT shields Arduino class". Yeem (tsis xav tau rau qhov kev xeem no), koj tuaj yeem rub tawm qhov teeb tsa "xyz-mIoT shields SENSORS txhawb nqa Arduino chav kawm". Nruab cov lus qhia tuaj yeem pom ntawm nplooj ntawv rub tawm.
b. Rub tawm thiab teeb tsa "NB IOT [UDP hom] txhawb rau xyz-mIoT ntaub thaiv npog" chav kawm. Ib yam, cov txheej txheem teeb tsa tuaj yeem pom ntawm nplooj ntawv rub tawm.
c. Nruab thiab khiav "udp_echo.py" mloog ntawm koj lub server; sau cia rau siv hauv cov kauj ruam tom ntej, tus mloog IP chaw nyob thiab UDP PORT. Tib txoj cai tuaj yeem nrhiav pom hauv "_UDP_listener_example" nplaub tshev hauv "NB IOT [UDP hom] txhawb rau xyz-mIoT ntaub thaiv npog" chav kawm.
d. Qhib hauv Arduino qhov piv txwv "xyz_mIoT_NBIoT_Class_example_UDP_echo" - qhov no tuaj yeem pom nyob hauv "File/Piv txwv/itbpNBIoTClass" Arduino ntawv qhia zaub mov. Cov cai no tuaj yeem kuaj ua ntej ntawm no.
e. Cia ua qee qhov teeb tsa hauv h cov ntaub ntawv sab hauv "itbpNBIoTClass":
-hauv "itbpGPRSIPdefinition.h" hloov kho APN tus nqi, siv APN tus nqi ntawm koj tus muab kev pabcuam NB IoT (Hauv kev sim yog: "qe test-test-3.connex.ro" rau Vodafone Romania), - hauv "itbpGPRSIPdefinition.h" hloov kho NETWORKID nrog cov lej network lej tus lej rau koj tus muab kev pabcuam NB IoT ("22601" rau Vodafone Romania), - hauv "itbpGPRSIPdefinition.h" hloov kho LTE_BAND nrog cov lej lej lej siv rau NB IoT kev pabcuam (20 - LTE band B20 rau Vodafone Romania), - hauv "itbpGPRSIPdefinition.h" hloov kho SERVER_ADDRESS thiab SERVER_PORT nrog qhov tseem ceeb UDP ncha mloog cov kev pabcuam (los ntawm kauj ruam c.), - hauv "itbpGSMdefinition.h" tau txais kab 60 & 61 thiab xaiv _itbpModem_ xyzmIoT, - hauv "itbpGSMdefinition.h" tau txais kab 64 & 65 thiab xaiv _Qmodule_ BC95G.
Kauj Ruam 4: Arduino - Sib Sau, Tso Tawm thiab Ua NB IoT Echo Test
Qhib hauv Arduino qhov xyz_mIoT_NBIoT_Class_example_UDP_echo.ino qhov project, los ntawm "Cov Ntaub Ntawv/Piv txwv/itbpNBIoTClass" Arduino ntawv qhia zaub mov. Tseem ceeb: siv arduino.cc v 1.8.5 lossis tshiab dua!
a Xaiv Arduino pawg thawj coj - xyz -mIoT daim thaiv thiab qhov chaw nres nkoj qhov program raws li qhia hauv daim duab. HINT: txhawm rau upload cov cai, koj yuav tsum nias ob zaug (nrawm) lub xyz-mIoT daim ntaub thaiv RESET khawm [pawg thawj coj saib yuav hloov mus rau hom kev ua haujlwm].
b. Sau thiab xa cov cai.
Txhawm rau kom pom qhov debug tso tawm, siv Arduino Serial Monitor lossis lwm lub davhlau ya nyob twg los ntawm kev xaiv qhov debug chaw nres nkoj nrog cov chaw hauv qab no: 57600bps, 8N, 1.
Hauv txoj cai NB IoT cov ntaub ntawv sib pauv sijhawm tau teem rau 10min. Kev xa / tau txais cov ntaub ntawv (xa cov nqi xa mus) thiab ntau yam NB-IoT xwm txheej teeb tsa [NTAUB NTAWV / QHIA ACTIVE, IDLE thiab PSM hom; kuj DATAGRAM RECEIVED kev tshwm sim] yuav pom hauv qhov debugging interface.
Zoo siab!
TUTORIAL PROVIDED THIAB TSIS MUAJ KEV LAG LUAM !!! Siv nws ntawm koj tus kheej RISK !!
Keeb kwm luam tawm los ntawm kuv ntawm itbrainpower.net cov haujlwm thiab yuav ua li cas ntu.
Pom zoo:
Ua Cov Phiaj Xwm Zoo Los Ntawm Cov Ntaub Ntawv Nyob Arduino (thiab Txuag Cov Ntaub Ntawv rau Excel): 3 Cov Kauj Ruam
Ua Cov Phiaj Xwm Zoo Los Ntawm Cov Ntaub Ntawv Nyob Arduino (thiab Txuag Cov Ntaub Ntawv rau Excel): Peb txhua tus nyiam ua si nrog peb tus lej L … cov ntsiab lus tau ntxiv thiab nws tsis tshwj xeeb rau lub qhov muag. Arduino IDE cov phiaj xwm tsis
Yuav Ua Li Cas Vaum Thiab Kub Tiag Tiag Cov Ntaub Ntawv Teev Npe Nrog Arduino UNO thiab SD-Card - DHT11 Cov ntaub ntawv-logger Simulation hauv Proteus: 5 Cov Kauj Ruam
Yuav Ua Li Cas Vaum Thiab Kub Tiag Tiag Cov Ntaub Ntawv Teev Npe Nrog Arduino UNO thiab SD-Card | DHT11 Cov ntaub ntawv-logger Simulation hauv Proteus: Taw qhia: nyob zoo, qhov no yog Liono Maker, ntawm no yog YouTube txuas. Peb tab tom tsim txoj haujlwm muaj tswv yim nrog Arduino thiab ua haujlwm ntawm cov kab ke. Cov ntaub ntawv-Logger: Cov ntaub ntawv logger (tseem cov ntaub ntawv-logger lossis cov ntaub ntawv kaw) yog cov cuab yeej siv hluav taws xob uas sau cov ntaub ntawv dhau sijhawm
RAWS LI COV NTAUB NTAWV NTSEEG NTAWV NTAWV MUAJ NTAWV TSHUAJ NTAWV TSO CAI RAU RASPBERRY PI: 6 Kauj Ruam (nrog Duab)
RAWS LI COV NTAUB NTAWV NTAWV MUAJ NTAWV TSHUAJ NTXIV RAU RASPBERRY PI: Hauv qhov haujlwm no, peb yuav txuas peb ntawm Atlas Scientific's EZO sensors (pH, yaj cov pa thiab kub) mus rau Raspberry Pi 3B+. Hloov chaw ntawm txuas cov kab hluav taws xob mus rau Raspberry Pi, peb yuav siv Whitebox Labs Tentacle T3 daim ntaub thaiv. T
Nkag Mus Cov Ntaub Ntawv thiab Npaj Cov Duab Online Siv NodeMCU, MySQL, PHP thiab Chartjs.org: 4 Cov Kauj Ruam
Nkag Mus Cov Ntaub Ntawv thiab Npaj Cov Duab Online Siv NodeMCU, MySQL, PHP thiab Chartjs.org: Cov lus qhia no piav qhia yuav ua li cas peb tuaj yeem siv Node MCU pawg thawj coj los sau cov ntaub ntawv los ntawm ntau lub ntsuas, xa cov ntaub ntawv no mus rau tus tswv PHP cov ntaub ntawv uas tom qab ntawd ntxiv cov ntaub ntawv rau MySQL database. Cov ntaub ntawv tuaj yeem pom online hauv kab ntawv, siv chart.js.A ba
Kev Nkag Mus Rau Cov Hauv Paus Cov Hauv Paus Cov Ntaub Ntawv Siv DB410 Raws Li Ethernet Dongle: 6 Cov Kauj Ruam
Kev Nkag Mus Rau Cov Hauv Paus Cov Hauv Paus Cov Ntaub Ntawv Siv DB410 Raws Li Ethernet Dongle: Lub Hom Phiaj: Txhim kho cov cuab yeej cuab tam thiab rov ua dua cov ntsiav kom ntxig USB Ethernet CDC Gadget txhawb nqa; Rov tsim boot.img los ntawm Linaro rau khau raj USB Ethernet CDC; Tsim NFS server los tuav lub hauv paus cov ntaub ntawv system; IP teeb tsa hauv DEVICE thiab HOST