Cov txheej txheem:

LTE CAT -M1 GSM IoT Sensors Network T - 15 feeb: 5 Kauj Ruam
LTE CAT -M1 GSM IoT Sensors Network T - 15 feeb: 5 Kauj Ruam

Video: LTE CAT -M1 GSM IoT Sensors Network T - 15 feeb: 5 Kauj Ruam

Video: LTE CAT -M1 GSM IoT Sensors Network T - 15 feeb: 5 Kauj Ruam
Video: Flipper Zero Hacking In Public 2024, Kaum ib hlis
Anonim
LTE CAT -M1 GSM IoT Sensors Network… T - 15 feeb
LTE CAT -M1 GSM IoT Sensors Network… T - 15 feeb
LTE CAT -M1 GSM IoT Sensors Network… T - 15 feeb
LTE CAT -M1 GSM IoT Sensors Network… T - 15 feeb
LTE CAT -M1 GSM IoT Sensors Network… T - 15 feeb
LTE CAT -M1 GSM IoT Sensors Network… T - 15 feeb

Thaum lub Plaub Hlis 08th 2018, R & D Software Solutions srl [itbrainpower.net] tau tshaj tawm rau pej xeem tshaj tawm xyoo ntawm xyz-mIoT los ntawm itbrainpower.net daim ntaub thaiv-thawj zaug, thiab muaj kev cog lus tshaj plaws, IoT board uas suav nrog ntau yam ntawm ARM0 micro-controller (Microchip / Atmel ATSAMD21G hauv Arduino Zero sib xws tsim), siv tau yooj yim ntawm cov khoom siv teeb tsa ua ke nrog kev sib txuas tau muab los ntawm LPWR LTE CAT M1 lossis NB-IoT ntev-ntau & lub zog qis modem lossis cov qub 3G / GSM modems.

Lub xyz-mIoT los ntawm itbrainpower.net ntaub thaiv npog yuav muaj txog li 5 qhov sib xyaw ua ke:

  • THS (ntsuas kub thiab av noo) - HDC2010,
  • tVOC & eCO2 (huab cua ntsuas qhov zoo - CO2 tag nrho cov organic hloov pauv tsis sib xws- CO2 sib npaug) - CCS811,
  • HALL (sib nqus sensor) - DRV5032 sau 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.

Txog qhov project:

Siv-tus-tus kheej xyz-mIOT daim ntaub thaiv qhov ntsuas kub thiab av noo raws li CLOUD sensor cov ntaub ntawv loggers siv Arduino pawg thawj coj saib xyuas kev txhawb nqa…. t rho tawm 15 feeb.

Lub sijhawm xav tau: 10-15 feeb.

Lub sijhawm siv yuav txawv nyob ntawm qhov kev paub siv yav dhau los. Arduino ib puag ncig txhim kho thiab phau ntawv qhia Arduino chav teeb tsa tsis suav nrog qhov no yuav ua li cas; sim google nws. Txhawb nqa cov tsev qiv ntawv thiab cov cai siv hauv qhov no yuav ua li cas thiaj muaj rau rub tawm, rau cov neeg siv sau npe ntawm no.

Nyuaj: pib - nruab nrab.

Kho vajtse yuav tsum tau:

- xyz-mIoT ntaub thaiv npog nrog HDC2010 sensor, raws li PN hauv qab no:

  • XYZMIOT209#BG96-UFL-1100000 [nruab nrog LTE CAT M1 thiab GSM modem] lossis
  • XYZMIOT209#M95FA-UFL-1100000 [nruab nrog GSM nkaus xwb modem]

- micro-loj [4FF] LTE CATM1 lossis 2G SIM daim npav [muaj cov phiaj xwm phiaj xwm tau qhib]- Roj teeb LiPo me me

- GSM kos tus kav hlau txais xov nrog uFL lossis, GSM kav hlau txais xov nrog SMA ntxiv rau u. FL rau SMA pigtail

Kauj Ruam 1: Kho vajtse, Txhuam

Kho vajtse, Soldering
Kho vajtse, Soldering

Pab kom 5V ntawm USB los ua lub hwj chim tseem ceeb rau pawg thawj coj raws li tau piav qhia ntawm no. 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.

Siv lub LiPo txuas. Nco ntsoov LiPO polarity!

DOUBLE CHECK koj qhov muag !!!

Kauj Ruam 2: Kho vajtse, Nqa Txhua Qhov Ua Ke

Kho vajtse, Nqa tag nrho ua ke
Kho vajtse, Nqa tag nrho ua ke

Ntxig lub micro-SIM rau hauv nws qhov [SIM yuav tsum muaj tus lej PIN txheej txheem 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.

Txuas lub roj teeb LiPo.

Kauj Ruam 3: Rub tawm Software thiab Nruab, Ua Ntej Ua Ntej

a Rub tawm thiab teeb tsa "xyz-mIoT cov ntaub thaiv npog Arduino chav kawm", tom qab ntawv rub tawm cov chav kawm kawg: "xyz-mIOT ntaub thaiv npog IoT So txhawb nqa" thiab "xyz-mIOT daim ntaub thaiv lub ntsej muag txhawb nqa chav kawm" los ntawm no.

b. Nruab cov chav kawm. Nthuav cov ntawv khaws cia thiab teeb tsa cov chav kawm - hauv qhov yooj yim:

  • theej the "xyz-mIoT shields Arduino class" cov ntaub ntawv hauv Arduino cov khoos phis tawj kho vajtse hauv zos (kuv li: "C: / Users / dragos / Documents / Arduino / hardware"), tom qab ntawd
  • theej cov ntawv txhawb nqa chav kawm rau hauv koj Arduino cov neeg siv hauv zos nplaub tshev [kuv yog: "C: / Users / dragos / Documents / Arduino / libraries"] thiab - rov pib dua Arduino ib puag ncig. Xav paub ntau ntxiv txog phau ntawv txhim kho phau ntawv nyeem, nyeem txog Arduino lub tsev qiv ntawv phau ntawv teeb tsa.

c. Ua daim nplaub tshev npe "xyz_mIoT_v41_temp_humidity".

d. Lob qhov project Arduino code los ntawm no thiab khaws nws li "xyz_mIoT_v41_temp_humidity.ino" hauv cov ntawv tsim yav dhau los.

e. Ua qee qhov teeb tsa hauv qee cov ntaub ntawv muaj nyob hauv "xyz -mIOT shield IoT Rest support" chav kawm: - hauv "itbpGPRSIPdefinition.h" kab 2 teeb tsa APN tus nqi, siv APN tus nqi ntawm koj tus muab kev pabcuam GSM (piv txwv li: NET rau RO Txiv Kab Ntxwv)

- hauv "itbpGPRSIPdefinition.h" kab 9 teeb tsa SERVER_ADDRESS chaw nyob rau CLOUD Robofun #define SERVER_ADDRESS "iot.robofun.ro" #define SERVER_PORT "80"

- hauv "itbpGSMdefinition.h" tawm tswv yim xaiv ua ntej rau "_itbpModem_" thiab xaiv (rho tawm cov lus kos npe) xaiv "#define _itbpModem_ xyzmIoT" (kab 71)

- hauv "itbpGSMdefinition.h" xaiv tus qauv zoo rau koj xyz-mIoT tsw: rau M95FA xaiv "#define xyzmIoTmodem TWOG" (kab 73) lossis rau BG96 xaiv "#define xyzmIoTmodem CATM1" (kab 75)

Kauj Ruam 4: Robofun Cloud - Txheeb Xyuas Cov Cuab Yeej Tshiab thiab Luam TOKEN Chaw

Robofun Huab - Txheeb Xyuas Cov Cuab Yeej Tshiab thiab Luam TOKEN Chaw
Robofun Huab - Txheeb Xyuas Cov Cuab Yeej Tshiab thiab Luam TOKEN Chaw
Robofun Huab - Txheeb Xyuas Cov Cuab Yeej Tshiab thiab Luam TOKEN Chaw
Robofun Huab - Txheeb Xyuas Cov Cuab Yeej Tshiab thiab Luam TOKEN Chaw
Robofun Huab - Txheeb Xyuas Cov Cuab Yeej Tshiab thiab Luam TOKEN Chaw
Robofun Huab - Txheeb Xyuas Cov Cuab Yeej Tshiab thiab Luam TOKEN Chaw

Txog qhov no yuav ua li cas peb siv Robofun huab [kev siv yooj yim REST]

  1. Tsim tus account tshiab.
  2. Ntxiv ob lub ntsuas tshiab (xyzmIOT_temperature thiab xyzmIOT_humidity).
  3. Rau txhua qhov tshiab tsim lub cim ntsuas nqes mus rau nplooj ntawv kom txog thaum "TOKEN" tshooj thiab khaws tus "Tocken" tus lej tus lej. Cov txiaj ntsig ntawd yuav raug siv, txuas ntxiv, txhawm rau teeb tsa lub cim cim cim cim [cim cim] hauv Arduino code.

Rau kev siv, saib cov duab saum toj no.

Kauj Ruam 5: Arduino - Sensors Tocken Id, Sau thiab xa IOT Code

Arduino - Sensors Tocken Id, Sau thiab xa IOT Code
Arduino - Sensors Tocken Id, Sau thiab xa IOT Code
Arduino - Sensors Tocken Id, Sau thiab xa IOT Code
Arduino - Sensors Tocken Id, Sau thiab xa IOT Code
Arduino - Sensors Tocken Id, Sau thiab xa IOT Code
Arduino - Sensors Tocken Id, Sau thiab xa IOT Code
Arduino - Sensors Tocken Id, Sau thiab xa IOT Code
Arduino - Sensors Tocken Id, Sau thiab xa IOT Code

Qhib hauv Arduino [(arduino.cc v> = 1.8.5] xyz_mIoT_v41_temp_humidity.ino project.

a Teeb tempTocken thiab humiTocken qhov tseem ceeb nrog ib qho khaws cia hauv cov kauj ruam dhau los [tsim hauv CLOUD].

Yog tias koj siv xyz-mIoT daim ntaub thaiv nrog BG96 tus qauv koj tuaj yeem xaiv hom kev sau npe hauv network li "GSM hom" lossis "LTE CATM1 hom" (siv lub xov tooj siv thiab SIM daim npav yuav tsum txhawb LTE CATM1*) los ntawm kev hu rau client.setNetworkMode (GSMONLY), ntsig txog tus thov kev pab.setNetworkMode (CATM1ONLY) ua haujlwm, tom qab tus thov kev pab.begin () hauv kev teeb tsa ua haujlwm ().

* peb siv nws los ntsuas RO Txiv Kab Ntxwv LTE CATM1 qhib SIM.

b. Nias ob zaug (nrawm) lub xyz-mIoT daim ntaub thaiv RESET khawm [pawg thawj coj yuav hloov mus rau hauv hom kev ua haujlwm].

Hauv Arduino, xaiv "itbrainpower.net xyz-mIoT" pawg thawj coj thiab "itbrainpower.net xyz-mIoT" lub chaw nres nkoj programming.

c. Sau thiab xa cov cai.

Lub xyz-mIoT daim ntaub thaiv yuav pib ntsuas qhov ntsuas kub thiab cov av noo (ntawm 1min. Tus nqi) thiab txhawm rau muab cov piv txwv piv rau CLOUD.

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: 115200bps, 8N, 1.

Rau kev siv, saib cov duab saum toj no.

Cov ntaub ntawv ntsuas ntsuas kub tuaj yeem pom hauv Robofun huab huab nplooj ntawv lossis, hauv pej xeem (sib koom) nplooj ntawv raws li peb tau teev tseg hauv Step4.

Txaus siab rau!

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: