Cov txheej txheem:

NBIoT Cov Ntaub Ntawv Xa Mus Yuav Siv Li Cas BC95G Modem Raws Shields - UDP Test thiab Network Status Signaling: 4 Kauj Ruam
NBIoT Cov Ntaub Ntawv Xa Mus Yuav Siv Li Cas BC95G Modem Raws Shields - UDP Test thiab Network Status Signaling: 4 Kauj Ruam

Video: NBIoT Cov Ntaub Ntawv Xa Mus Yuav Siv Li Cas BC95G Modem Raws Shields - UDP Test thiab Network Status Signaling: 4 Kauj Ruam

Video: NBIoT Cov Ntaub Ntawv Xa Mus Yuav Siv Li Cas BC95G Modem Raws Shields - UDP Test thiab Network Status Signaling: 4 Kauj Ruam
Video: Ntsaim vaj - Muaj poj niam lawm ua tsis tau li cas ( Official MV ) Nkauj tawm tshiab 2020 2024, Kaum ib hlis
Anonim
NBIoT Cov Ntaub Ntawv Xa Mus Yuav Siv Li Cas BC95G Modem Raws Shields - UDP Test thiab Network Status Signaling
NBIoT Cov Ntaub Ntawv Xa Mus Yuav Siv Li Cas BC95G Modem Raws Shields - UDP Test thiab Network Status Signaling

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

Cov Cheeb Tsam thiab Cov Khoom Siv Yuav Tsum Tau
Cov Cheeb Tsam thiab Cov Khoom Siv Yuav Tsum Tau
Cov Cheeb Tsam thiab Cov Khoom Siv Yuav Tsum Tau
Cov Cheeb Tsam 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

Kev Npaj Kho Vajtse - Cov laug thiab thaiv
Kev Npaj Kho Vajtse - Cov laug thiab thaiv
Kev Npaj Khoos Phis Tawj - Cov laug thiab thaiv
Kev Npaj Khoos Phis Tawj - Cov laug thiab thaiv

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

Arduino - Txheeb, Tshaj Tawm thiab Khiav NB IoT Echo Test
Arduino - Txheeb, Tshaj Tawm thiab Khiav 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: