Cov txheej txheem:

Kev Siv Hluav Taws Xob & Kev Saib Xyuas Ib puag ncig ntawm Sigfox: 8 Cov Kauj Ruam
Kev Siv Hluav Taws Xob & Kev Saib Xyuas Ib puag ncig ntawm Sigfox: 8 Cov Kauj Ruam

Video: Kev Siv Hluav Taws Xob & Kev Saib Xyuas Ib puag ncig ntawm Sigfox: 8 Cov Kauj Ruam

Video: Kev Siv Hluav Taws Xob & Kev Saib Xyuas Ib puag ncig ntawm Sigfox: 8 Cov Kauj Ruam
Video: Saib Mis paub Poj niam (hluas nkauj) tus yam ntxwv lub siab 2024, Hlis ntuj nqeg
Anonim
Kev Siv Hluav Taws Xob & Kev Saib Xyuas Ib puag ncig ntawm Sigfox
Kev Siv Hluav Taws Xob & Kev Saib Xyuas Ib puag ncig ntawm Sigfox
Kev Siv Hluav Taws Xob & Kev Saib Xyuas Ib puag ncig ntawm Sigfox
Kev Siv Hluav Taws Xob & Kev Saib Xyuas Ib puag ncig ntawm Sigfox

Nqe lus piav qhia

Txoj haujlwm no yuav qhia koj li cas kom tau txais kev siv hluav taws xob ntawm chav nyob ntawm peb-theem kev faib hluav taws xob thiab tom qab ntawd xa nws mus rau tus neeg siv khoom siv Sigfox network txhua 10 feeb.

Yuav ua li cas ntsuas lub zog?

Peb tau txais peb qhov clamps tam sim no los ntawm lub ntsuas hluav taws xob qub.

Ceev faj! Yuav tsum tau hluav taws xob rau kev teeb tsa cov clamps. Tsis tas li, yog tias koj tsis paub qhov clamp koj xav tau rau koj kev teeb tsa, tus kws kho hluav taws xob tuaj yeem qhia koj.

Cov microcontrollers twg yuav siv?

Peb siv daim npav Snootlab Akeru uas tau sib xws nrog Arduino.

Nws puas ua haujlwm ntawm txhua lub ntsuas hluav taws xob?

Yog, peb ntsuas tsuas yog tam sim no ua tsaug rau cov clamps. Yog li koj tuaj yeem suav qhov kev siv kab uas koj xav tau.

Nws siv sijhawm ntev npaum li cas los ua nws?

Thaum koj muaj txhua qhov kev xav tau kho vajtse, qhov chaws muaj nyob ntawm Github. Yog li, hauv ib teev lossis ob teev, koj yuav muaj peev xwm ua kom nws ua haujlwm.

Kuv puas xav tau kev paub yav dhau los?

Koj yuav tsum paub tias koj ua hluav taws xob li cas thiab yuav siv Arduino thiab Actoboard li cas.

Txog Arduino thiab Actoboard, koj tuaj yeem kawm txhua lub hauv paus los ntawm Google. Yooj yim heev rau siv.

Peb yog leej twg?

Peb lub npe yog Florian PARIS, Timothée FERRER-LOUBEAU thiab Maxence MONTFORT. Peb yog tub ntxhais kawm ntawm Tsev Kawm Qib Siab Pierre et Marie Curie hauv Paris. Txoj haujlwm no yog coj mus rau lub hom phiaj kev kawm hauv Fab Kis engineering lub tsev kawm ntawv (Polytech'Paris-UPMC).

Kauj ruam 1: Sigfox & Actoboard

Sigfox & Actoboard
Sigfox & Actoboard

Sigfox yog dab tsi?

Sigfox siv thev naus laus zis thev naus laus zis hauv Ultra Narrow Band (UNB). Qhov zaus ntawm lub teeb liab nyob ib puag ncig 10Hz-90Hz, yog li ntawd lub teeb liab tsis yooj yim txhawm rau pom vim muaj suab nrov. Txawm li cas los xij Sigfox tau tsim cov txheej txheem uas tuaj yeem txiav txim siab lub teeb liab hauv lub suab nrov. Cov thev naus laus zis no muaj ntau yam zoo (txog 40km), ntxiv rau qhov kev siv cov nti yog 1000 zaug tsawg dua li GSM nti. Sigfox nti muaj lub neej zoo (txog 10 xyoo). Txawm li cas los xij sigfox thev naus laus zis muaj kev txwv tsis pub sib kis (150 lus ntawm 12 Bytes ib hnub). Tias yog vim li cas sigfox yog kev sib txuas lus daws teeb meem rau Internet ntawm Yam (IoT).

Actoboard yog dab tsi?

Actoboard yog qhov kev pabcuam online uas tso cai rau tus neeg siv los tsim cov graphes (dashboards) txhawm rau txhawm rau qhia cov ntaub ntawv nyob, nws muaj ntau qhov kev hloov pauv tau ua tsaug rau cov cuab yeej tsim. Cov ntaub ntawv raug xa los ntawm peb Arduino nti ua tsaug rau kev sib xyaw Sigfox module. Thaum koj tsim lub widget tshiab, koj tsuas yog yuav tsum xaiv qhov sib txawv uas koj nyiam thiab tom qab ntawd xaiv hom graphe uas koj xav siv (bar graphe, huab ntawm cov ntsiab lus …) thiab thaum kawg qhov kev soj ntsuam. Peb daim npav yuav xa cov ntaub ntawv los ntawm cov neeg tuav (siab, ntsuas kub, teeb pom kev zoo) thiab los ntawm cov clamps tam sim no, cov ntaub ntawv yuav raug qhia txhua hnub thiab ib asthiv nrog rau cov nyiaj siv hluav taws xob.

Kauj Ruam 2: Yuav Tsum Tau Kho Vajtse

Yuav tsum tau kho vajtse
Yuav tsum tau kho vajtse

Hauv qhov kev qhia no, peb yuav siv:

  • A Snootlab-Akeru
  • Ib daim ntaub thaiv Arduino Pom Studio
  • LEM EMN 100-W4 (tsuas yog cov clamps)
  • Lub photocell resistor
  • IB BMP 180
  • TIAB SA 11301P
  • Ib RTC

Ceev faj: vim tias peb tsuas muaj cov cuab yeej ntsuas qhov ntsuas tam sim no, peb tau ua qee qhov kev xav. Saib cov kauj ruam tom ntej: kev kawm hluav taws xob.

-Raspberry PI 2: Peb siv Raspberry txhawm rau qhia Actoboard cov ntaub ntawv ntawm lub vijtsam tom ntej ntawm lub ntsuas hluav taws xob (raspberry siv sijhawm tsawg dua li lub khoos phis tawj ib txwm muaj).

-Snootlab Akeru: Daim npav Arduino uas suav nrog tus qauv sigfox muaj cov software saib xyuas uas tso cai rau peb txheeb xyuas cov ntaub ntawv los ntawm cov ntsuas thiab xa mus rau Actoboard.

-Grove Shield: Nws yog ib qho ntxiv module uas tau ntsaws rau ntawm Akeru nti, nws tuav 6 qhov chaw sib piv thiab 3 I²C cov chaw nres nkoj uas tau siv los ntsaws peb lub cim xeeb

-LEM EMN 100-W4: Cov amp clamps no tau txuas rau txhua theem ntawm lub ntsuas hluav taws xob, peb siv qhov sib txuas tiv thaiv kom tau txais cov duab ntawm kev siv tam sim no nrog 1.5% qhov tseeb.

-BMP 180: Lub ntsuas ntsuas ntsuas kub los ntawm -40 txog 80 ° C nrog rau kev kub ntxhov ntawm 300 txog 1100 hPa, nws yuav tsum tau ntsaws rau hauv I2C qhov.

-SEN11301P: Lub ntsuas cua no tseem tso cai rau peb ntsuas ntsuas kub (peb yuav siv qhov no rau qhov haujlwm ntawd vim nws muaj qhov tseeb dua -> 0.5% hloov 1 ° C rau BMP180) thiab cov av noo nrog 2% qhov tseeb.

-Photoresistor: Peb siv cov khoom ntawd los ntsuas qhov ci ci, nws yog ib tus neeg tiv taus tiv thaiv ib nrab uas txo nws qhov kev tiv thaiv thaum qhov ci ci nce. Peb xaiv tsib qhov kev tawm tsam los piav qhia

Kauj Ruam 3: Kev Kawm Hluav Taws Xob

Kev Kawm Hluav Taws Xob
Kev Kawm Hluav Taws Xob

Ua ntej dashing rau hauv txoj haujlwm, nws raug nquahu kom paub cov ntaub ntawv txaus siab kom tau txais rov qab thiab yuav siv lawv li cas. Rau nws, peb paub qhov kev tshawb fawb hluav taws xob ntawm txoj haujlwm.

Peb tau txais rov qab tam sim no hauv kab ua tsaug rau peb qhov tam sim no clamps (LEM EMN 100-W4). Tam sim no hla dhau hauv kev tawm tsam ntawm 10 Ohms. Qhov nro ntawm tus ciam teb ntawm qhov tsis kam yog duab ntawm qhov tam sim no hauv kab sib xws.

Saib xyuas, hauv tshuab hluav taws xob lub zog ntawm qhov sib npaug zoo peb-theem network tau suav los ntawm kev sib raug zoo hauv qab no: P = 3*V*I*cos (Phi).

Ntawm no, peb xav txog tsis tsuas yog tias peb-theem network sib npaug tab sis kuj tias cos (Phi) = 1. Lub hwj huam sib npaug sib npaug rau 1 cuam tshuam nrog cov ntaub ntawv sau cia dawb huv. Dab tsi yog qhov ua tsis tau hauv kev xyaum. Cov duab nruj nreem ntawm cov kab ntawm cov kab yog piv txwv ncaj qha ntau dua 1 thib ob ntawm Snootlab-Akeru. Peb tau txais rov qab tus nqi max ntawm txhua qhov nro. Tom qab ntawd, peb ntxiv lawv thiaj li kom tau txais tag nrho cov nyiaj siv tam sim no los ntawm kev teeb tsa. Peb suav cov txiaj ntsig zoo los ntawm cov qauv hauv qab no: Vrms = SUM (Vmax)/SQRT (2)

Peb xam tom qab ntawd tus nqi tiag tiag ntawm qhov tam sim no, uas peb pom los ntawm kev suav suav tus nqi ntawm qhov kev tawm tsam, nrog rau cov coefficient ntawm cov clamps tam sim no: Irms = Vrms*res*(1/R) (res yog kev daws teeb meem ntawm ADC 4.88mv/ntsis)

Thaum paub qhov txiaj ntsig zoo ntawm kev teeb tsa tam sim no paub, peb suav lub zog los ntawm cov mis pom ntau dua. Peb txiav tawm qhov kev siv hluav taws xob los ntawm nws. Thiab peb hloov qhov tshwm sim kW.h: W = P*t

Peb suav thaum kawg tus nqi hauv kW.h los ntawm kev txiav txim siab tias 1kW.h = 0.15 €. Peb tsis quav ntsej cov nqi ntawm kev sau npe.

Kauj Ruam 4: Txuas Txhua Qhov System

Txuas Txhua Qhov System
Txuas Txhua Qhov System
  • PIN 1 A0
  • PIN 2 A1
  • PIN 3 A2
  • PHOTOSELL A3
  • NTUJ 7
  • LED 8
  • DHTPIN 2
  • DHTTYPE DHT21 // DHT 21
  • BAROMETRE 6
  • Adafruit_BMP085PIN 3
  • Adafruit_BMP085TYPE Adafruit_BMP085

Kauj Ruam 5: Rub Tawm Txoj Cai & Upload Code

Tam sim no koj txhua tus muaj kev sib txuas zoo, koj tuaj yeem rub tus lej ntawm no:

github.com/MAXNROSES/Monitoring_Electrical…

Txoj cai yog ua lus Fab Kis, rau cov uas xav tau qee qhov kev piav qhia, tsis txhob yig tau nug hauv cov lus.

Tam sim no koj muaj tus lej, koj yuav tsum muab nws tso rau hauv Snootlab-Akeru. Koj tuaj yeem siv Arduino IDE los ua qhov ntawd. Thaum tus lej xa tuaj, koj tuaj yeem pom yog tias tus coj tau teb rau koj qhov kev txav mus los.

Kauj Ruam 6: Teeb tsa Actoboard

Tam sim no koj lub kaw lus ua haujlwm, koj tuaj yeem pom cov ntaub ntawv ntawm actoboard.com.

Txuas koj nrog koj tus lej ID thiab tus lej zais tau txais los ntawm Sigfox lossis daim npav Snootlab-Akeru.

Thaum nws ua tiav, koj yuav tsum tsim lub dashboard tshiab. Tom qab ntawd koj tuaj yeem ntxiv cov widgets koj xav tau ntawm lub dashboard.

Cov ntaub ntawv tuaj txog hauv Fabkis, yog li ntawm no yog qhov sib npaug:

  • Energie_KWh = Zog (hauv KW.h)
  • Cout_Total = Tus Nqi Tag Nrho (piv txwv tias 1KW.h = 0.15 €)
  • Humidite = Vaum
  • Lumiere = Lub teeb

Kauj Ruam 7: Txheeb Xyuas Cov Ntaub Ntawv

Kev Txheeb Xyuas Cov Ntaub Ntawv
Kev Txheeb Xyuas Cov Ntaub Ntawv

Yog lawm, qhov no yog qhov kawg!

Tam sim no koj tuaj yeem pom koj cov txheeb cais raws li koj xav tau. Qee qhov kev piav qhia ib txwm zoo kom nkag siab tias nws tau txhim kho li cas:

  • Energie_KWh: nws yuav rov pib dua txhua hnub thaum 00:00
  • Cout_Total: nyob ntawm Energie_KWh, piv txwv tias 1KW.h sib npaug 0.15 €
  • Kub: hauv ° Celsius
  • Humidite: hauv %HR
  • Kev muaj: yog tias ib tus neeg nyob ntawm no ob ntawm xa los ntawm Sigfox
  • Lumiere: lub teeb pom kev zoo hauv chav; 0 = chav dub, 1 = chav tsaus, 2 = chav teeb pom kev, 3 = chav teeb, 4 = chav teeb heev

Txaus siab rau koj dahsboard!

Kauj Ruam 8: Nqa Koj Kev Paub

Tam sim no peb cov kab ke tau ua tiav, peb yuav ua lwm txoj haujlwm.

Txawm li cas los xij, yog tias koj xav hloov kho lossis txhim kho cov txheej txheem, tsis txhob sib tham hauv cov lus!

Peb vam tias nws muab qee cov tswv yim rau koj. Tsis txhob hnov qab qhia lawv.

Peb xav koj qhov zoo tshaj hauv koj qhov project DIY.

Timothée, Florian thiab Maxence

Pom zoo: