%3CLINGO-SUB%20id%3D%22lingo-sub-1533342%22%20slang%3D%22en-US%22%3EUsing%20the%20FarmBeats%20Student%20Kit%20to%20learn%20more%20about%20IoT%2C%20Digital%20Agriculture%20and%20Precision%20Farming%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1533342%22%20slang%3D%22en-US%22%3E%3CP%3E%3CSTRONG%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-center%22%20image-alt%3D%22ImperialMicrosoft.png%22%20style%3D%22width%3A%20597px%3B%22%3E%3CIMG%20src%3D%22https%3A%2F%2Fgxcuf89792.i.lithium.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F206389i3FEBC6E84A92D71F%2Fimage-size%2Flarge%3Fv%3D1.0%26amp%3Bpx%3D999%22%20title%3D%22ImperialMicrosoft.png%22%20alt%3D%22ImperialMicrosoft.png%22%20%2F%3E%3C%2FSPAN%3E%3C%2FSTRONG%3E%3C%2FP%3E%0A%3CP%3E%3CSTRONG%3E%26nbsp%3B%3C%2FSTRONG%3E%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3E%3CSTRONG%3EGuest%20Blog%3A%26nbsp%3B%3C%2FSTRONG%3E%3C%2FP%3E%0A%3CP%3EMicrosoft%20Farmbeats%20University%20community%20project%20Imperial%20College%20London%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CH2%20id%3D%22toc-hId--1299086707%22%20id%3D%22toc-hId--1299086707%22%3E%3CSTRONG%3EAbout%20Us%3A%3C%2FSTRONG%3E%3C%2FH2%3E%0A%3CP%3EWe%20are%20currently%203%3CSUP%3Erd%3C%2FSUP%3E%20Year%20Electrical%20and%20Electronic%20Engineering%20students%20at%20%3CA%20href%3D%22http%3A%2F%2Fwww.imperial.ac.uk%2F%22%20target%3D%22_self%22%20rel%3D%22nofollow%20noopener%20noreferrer%20noopener%20noreferrer%22%3EImperial%20College%20London%3C%2FA%3E.%20We%20worked%20on%20this%20project%20in%20collaboration%20with%20the%20Microsoft%20FarmBeats%20Engineering%20Team.%20You%20can%20learn%20more%20about%20each%20of%20us%20through%20the%20below%20Linkedin%20Profiles.%20Feel%20free%20to%20message%20us%20regarding%20any%20questions%20about%20the%20project%20through%20Linkedin%20messaging!%26nbsp%3B%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-inline%22%20image-alt%3D%22ImperialTeam.png%22%20style%3D%22width%3A%20800px%3B%22%3E%3CIMG%20src%3D%22https%3A%2F%2Fgxcuf89792.i.lithium.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F206393iFDD5B15CFCE521DF%2Fimage-size%2Flarge%3Fv%3D1.0%26amp%3Bpx%3D999%22%20title%3D%22ImperialTeam.png%22%20alt%3D%22ImperialTeam.png%22%20%2F%3E%3C%2FSPAN%3E%3C%2FP%3E%0A%3CP%3ETeam%20Members%26nbsp%3B%3C%2FP%3E%0A%3CUL%3E%0A%3CLI%20class%3D%22inline%20t-24%20t-black%20t-normal%20break-words%22%3E%3CA%20href%3D%22https%3A%2F%2Fwww.linkedin.com%2Fin%2Fjingwei-wu-3813b615a%2F%22%20target%3D%22_self%22%20rel%3D%22nofollow%20noopener%20noreferrer%20noopener%20noreferrer%22%3EJingwei%20Wu%3C%2FA%3E%3C%2FLI%3E%0A%3CLI%20class%3D%22inline%20t-24%20t-black%20t-normal%20break-words%22%3E%3CA%20href%3D%22https%3A%2F%2Fwww.linkedin.com%2Fin%2Fjie-yechen-404751171%2F%22%20target%3D%22_self%22%20rel%3D%22nofollow%20noopener%20noreferrer%20noopener%20noreferrer%22%3EJie%20Yechen%3C%2FA%3E%3C%2FLI%3E%0A%3CLI%3E%3CA%20href%3D%22https%3A%2F%2Fwww.linkedin.com%2Fin%2Fata-yardimci-188a76143%2F%22%20target%3D%22_self%22%20rel%3D%22nofollow%20noopener%20noreferrer%20noopener%20noreferrer%22%3EAta%20Yardimci%3C%2FA%3E%3C%2FLI%3E%0A%3CLI%20class%3D%22inline%20t-24%20t-black%20t-normal%20break-words%22%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Fwww.linkedin.com%2Fin%2Frajkjain%2F%22%20target%3D%22_self%22%20rel%3D%22nofollow%20noopener%20noreferrer%20noopener%20noreferrer%22%3ERaj%20Jain%3C%2FA%3E%3C%2FP%3E%0A%3C%2FLI%3E%0A%3CLI%3E%3CA%20href%3D%22https%3A%2F%2Fwww.linkedin.com%2Fin%2Flulwa-alkhalifa-604722147%2F%22%20target%3D%22_self%22%20rel%3D%22nofollow%20noopener%20noreferrer%20noopener%20noreferrer%22%3ELulwa%20AlKhalifa%3C%2FA%3E%3C%2FLI%3E%0A%3C%2FUL%3E%0A%3CH2%20id%3D%22toc-hId-1188426126%22%20id%3D%22toc-hId-1188426126%22%3E%3CSTRONG%3EWhat%20is%20Microsoft%20FarmBeats%3F%20%3C%2FSTRONG%3E%3C%2FH2%3E%0A%3CP%3E-ERR%3AREF-NOT-FOUND-FarmBeats%20is%20a%20venture%20of%20Microsoft%20Research%20that%20was%20launched%20in%202015%20as%20a%20prototype%20for%20an%20Internet%20of%20Things%20(IoT)%20platform%20for%20agriculture.%20Stemming%20from%20the%20concept%20of%20Digital%20Agriculture%2C%20it%20uses%20technologies%20such%20as%20low-cost%20sensors%2C%20drones%2C%20vision%2C%20white%20space%2C%20cloud%20computing%20and%20Machine%20Learning%20algorithms%20to%20combat%20very%20little%20or%20no-power%20in%20farms.%20Consequently%2C%20the%20FarmBeats%20platform%20has%20not%20only%20allowed%20for%20real-time%20seamless%20data%20collection%20from%20sensors%2C%20cameras%20and%20drones%20but%20also%20for%20storage%20and%20complex%20processing%20within%20Microsoft%E2%80%99s%20cloud%20computing%20platform%2C%20known%20as%20Microsoft%20Azure.%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3EThis%20concept%20of%20data-drive%20farming%20enables%20farmers%20to%20make%20effective%20data-driven%20decisions%20about%20their%20farms%20which%20help%20improve%20overall%20agricultural%20yield%2C%20lower%20costs%2C%20and%20reduce%20the%20impact%20the%20environment%20impact%20of%20agricultural%20production.%20The%20International%20Food%20Policy%20Research%20Institute%20claims%20that%20these%20data-driven%20techniques%20provide%20for%20robust%20data-analytics%20within%20the%20agricultural%20industry%20which%20can%20boost%20the%20farm%20productivity%20by%20as%20much%20as%2067%25%20while%20reducing%20consumption%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CH2%20id%3D%22toc-hId--619028337%22%20id%3D%22toc-hId--619028337%22%3E%3CSTRONG%3EA%20Global%20Challenge%3C%2FSTRONG%3E%3C%2FH2%3E%0A%3CP%3EIt%20is%20estimated%20that%20the%20global%20population%20will%20rise%20by%202.2%20billion%20by%202050%2C%20thus%20requiring%20a%2070%25%20increase%20in%20the%20current%20yield%20of%20agriculture.%20This%20growing%20population%20combined%20with%20environmental%20challenges%20has%20exacerbated%20the%20current%20food%20shortage%20challenge%20which%20makes%20this%20an%20issue%20of%20contemporary%20global%20significance.%20Dr.%20Ranveer%20Chandra%2C%20the%20Principal%20Research%20Scientist%20of%20the%20FarmBeats%20venture%2C%20says%20that%2C%20%22Large%20amounts%20of%20data%20can%20be%20captured%20from%20the%20farms%20and%20Machine%20Learning%20can%20be%20used%20to%20translate%20that%20data%20into%20insight%20for%20the%20growers%22%20Finally%2C%20key%20statistic%20by%20the%20Food%20Security%20Research%20Program%20in%20the%20UK%20is%20that%20more%20than%202%20billion%20people%20lack%20vital%20micronutrients%20which%20affects%20their%20health%20and%20life%20expectancy.%20Dr.%20Chandra%20says%20that%20the%20FarmBeats%20product%20is%20capable%20of%20giving%20insights%20to%20also%20achieve%20the%20growth%20of%20highly%20nutritious%20food%20with%20minimal%20environmental%20impact.%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CH2%20id%3D%22toc-hId-1868484496%22%20id%3D%22toc-hId-1868484496%22%3E%3CSTRONG%3EFarmBeats%20Student%20Kit%20%3C%2FSTRONG%3E%3CSTRONG%3E%26nbsp%3B%3C%2FSTRONG%3E%3C%2FH2%3E%0A%3CP%3EThe%20Microsoft%20FarmBeats%20student%20kit%20is%20a%20tool%20to%20help%20enable%20data-driven%20farming.%20Microsoft%20truly%20believes%20that%20reliable%20and%20properly%20contextualized%20data%20coupled%20with%20farmer's%20knowledge%20and%20intuition%20about%20their%20farm%2C%20can%20help%20increase%20farm%20productivity%20and%20reduce%20costs.%20Moreover%2C%20the%20FarmBeats%20student%20kit%20was%20developed%20to%20promote%20the%20concept%20of%20FarmBeats%20among%20students%20at%20universities.%20These%20kits%20are%20easy-to-use%20solutions%20that%20help%20students%20learn%20about%20precision%20agriculture%20and%20Internet%20of%20Things%20(IoT)%20technologies.%20This%20IoT%20kit%20consists%20of%20a%20Raspberry%20Pi%2C%20running%20Windows%2010%20IoT%20Core%2C%20with%20preconfigured%20Microsoft%20Azure%20cloud%20services%20with%20the%20following%20sensors%3A%3CBR%20%2F%3E%3CBR%20%2F%3E%3C%2FP%3E%0A%3CP%3EGrove%20BME280%20Temperature%2C%20Humidity%20and%20Pressure%20Sensor%3C%2FP%3E%0A%3CP%3EGrove%20Capacitive%20Soil%20Moisture%20Sensor%3C%2FP%3E%0A%3CP%3EGrove%20Light%20Sensor%20v1.2%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3EThis%20kit%20gives%20students%20an%20opportunity%20to%20not%20only%20utilize%20Python%20programming%20for%20IoT%20devices%20but%20also%20understand%20Microsoft%20Azure%20cloud%20services.%20The%20data%20from%20the%20sensors%20is%20brought%20to%20life%20in%20an%20online%20dashboard%20using%20Microsoft%20Azure%20IoT%20central%20which%20will%20give%20students%20an%20insight%20to%20understand%20how%20to%20improve%20their%20productivity%2C%20increase%20yield%20and%20save%20resources.%3CBR%20%2F%3E%3CBR%20%2F%3E%3C%2FP%3E%0A%3CH2%20id%3D%22toc-hId-61030033%22%20id%3D%22toc-hId-61030033%22%3E%3CSTRONG%3EFarm%20beats%20University%20Community%26nbsp%3B%3C%2FSTRONG%3E%3C%2FH2%3E%0A%3CP%3EThe%20FarmBeats%20University%20Pilot%20Community%20was%20established%20as%20a%20way%20for%20educational%20institutions%20and%20university%20teams%20to%20collaborate%20on%20FarmBeats%20projects%20for%20both%20education%20and%20research.%20This%20%3CA%20href%3D%22https%3A%2F%2Fgithub.com%2Fmicrosoft%2Ffarmbeats-universitycommunity%22%20target%3D%22_self%22%20rel%3D%22noopener%20noreferrer%20noopener%20noreferrer%22%3EGitHub%20repository%3C%2FA%3E%20is%20a%20one-stop-shop%20resource%20to%20learn%20about%20state-of-the-art%20digital%20agriculture%20and%20precision%20farming%20techniques.%20No%20prior%20experience%20is%20required.%3C%2FP%3E%0A%3CH3%20id%3D%22toc-hId-751591507%22%20id%3D%22toc-hId-751591507%22%3EContributing%3C%2FH3%3E%0A%3CP%3EThis%20project%20welcomes%20contributions%20and%20suggestions.%20This%20project%20has%20adopted%20the%20Microsoft%20Open%20Source%20Code%20of%20Conduct.%3C%2FP%3E%0A%3CH3%20id%3D%22toc-hId--1055862956%22%20id%3D%22toc-hId--1055862956%22%3EContributing%20resources%20to%20the%20community%3C%2FH3%3E%0A%3CUL%3E%0A%3CLI%3ESimply%20create%20a%20folder%20under%20the%20community-members%20folder%3C%2FLI%3E%0A%3CLI%3ECreate%20a%20folder%20for%20your%20institution%3C%2FLI%3E%0A%3CLI%3ECreate%20a%20folder%20for%20your%20project%2Fscenario%2Flab%3C%2FLI%3E%0A%3CLI%3EPut%20all%20resources%20in%20this%20folder%20and%20include%20a%20readme.md%20file%20to%20explain%20your%20work%3CBR%20%2F%3E%3CBR%20%2F%3E%3C%2FLI%3E%0A%3C%2FUL%3E%0A%3CH2%20id%3D%22toc-hId--1066366060%22%20id%3D%22toc-hId--1066366060%22%3E%3CSTRONG%3EAim%20of%20our%20Project%20%3C%2FSTRONG%3E%3CSTRONG%3E%26nbsp%3B%3C%2FSTRONG%3E%3C%2FH2%3E%0A%3CP%3ESo%2C%20to%20give%20an%20overview%20of%20our%20project%2C%20our%20aim%20is%20to%20teach%20undergraduate%20students%2C%20just%20as%20ourselves%2C%20about%20IOT%20and%20digital%20agriculture.%20For%20this%2C%20we%E2%80%99ve%20created%20a%20set%20of%20learning%20resources%20using%20the%20FarmBeats%20Kit%20and%20the%20Azure%20cloud%20computing%20services.%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3EWe%E2%80%99ve%20designed%20these%20resources%20following%20certain%20specifications%3A%3C%2FP%3E%0A%3CUL%3E%0A%3CLI%3EFor%20easy%20integration%20with%20Microsoft%20Learn%20in%20the%20future%2C%20we%20hosted%20our%20instructions%20on%20GitHub%20arranged%20as%20markdown%20files.%3C%2FLI%3E%0A%3CLI%3EAs%20mentioned%2C%20we%20catered%20these%20resources%20particularly%20towards%20undergraduate%20students%20who%20are%20interested%20in%20IOT%20or%20digital%20agriculture.%3C%2FLI%3E%0A%3CLI%3EWe%E2%80%99ve%20defined%20certain%20learning%20objectives%20for%20the%20designed%20labs%20and%20provided%20knowledge%20checks%20along%20the%20way%20to%20solidify%20students%E2%80%99%20learning.%3C%2FLI%3E%0A%3CLI%3EAnd%20also%2C%20we%20provided%20instructions%20for%20DIY%20kits%20as%20well%20as%20the%20official%20FarmBeats%20Kit%2C%20so%20that%20the%20students%20could%20use%20their%20own%20Raspberry%20Pis%20and%20sensors%20to%20follow%20our%20resources%20even%20if%20they%20don%E2%80%99t%20have%20access%20to%20the%20official%20kits.%3C%2FLI%3E%0A%3C%2FUL%3E%0A%3CP%3EWe%E2%80%99ve%20designed%20these%20learning%20modules%20in%20such%20a%20way%20that%20they%20start%20out%20simple%20and%20get%20more%20sophisticated%20along%20the%20way%2C%20so%20that%20the%20students%20can%20build%20up%20on%20the%20things%20they%20learn%20as%20they%20progress%20through%20the%20labs.%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3EIn%20each%20of%20the%20labs%2C%20students%20experiment%20on%20familiar%20agriculture%20scenarios%20and%20utilize%20several%20Azure%20cloud%20computing%20services.%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3EWe%20also%20provide%20extension%20project%20suggestions%2C%20so%20that%20the%20students%20can%20apply%20the%20things%20they%20learn%20in%20the%20labs%20themselves%2C%20and%20hopefully%2C%20build%20even%20more%20sophisticated%20projects.%3C%2FP%3E%0A%3CP%3E%3CSTRONG%3E%26nbsp%3B%3C%2FSTRONG%3E%3C%2FP%3E%0A%3CH2%20id%3D%22toc-hId-1421146773%22%20id%3D%22toc-hId-1421146773%22%3E%3CSTRONG%3ELesson%20Plan%20%3C%2FSTRONG%3E%3C%2FH2%3E%0A%3CP%3EWe%20are%20delivering%20a%20set%20of%20learning%20resources%20which%20comprises%20of%20a%20GitHub%20repository%20containing%20user%20guides%20and%20step-by-step%20tutorials%20for%20the%20following%20modules%3A%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3E%3CSTRONG%3EMonitor%20your%20plant%3A%3C%2FSTRONG%3E%20Here%20students%20will%20learn%20how%20to%20set-up%20their%20Raspberry%20Pi%20with%20their%20sensors%20and%20learn%20how%20to%20obtain%20and%20view%20real-time%20data%20from%20the%20sensors%20using%20IoT%20Hub%20or%20a%20mobile%20application%20developed%20in%20PowerApps%26nbsp%3B%26nbsp%3B%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3E%3CSTRONG%3EWater%20your%20plant%3A%3C%2FSTRONG%3E%20A%20more%20advanced%20lab%20where%20the%20students%20will%20learn%20how%20to%20start%20processing%20data%20and%20learn%20how%20to%20build%20products%20such%20as%20automatic%20irrigation%20system.%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3E%3CSTRONG%3EPredict%20the%20Weather%3A%3C%2FSTRONG%3E%20In%20this%20lab%2C%20students%20will%20learn%20how%20to%20use%20Azure%20Machine%20Learning.%20This%20will%20help%20them%20build%20a%20model%20that%20will%20help%20them%20predict%20the%20probability%20of%20rain.%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3E%3CSTRONG%3ELED%20Light%20Grow%20System%3A%3C%2FSTRONG%3E%20Finally%2C%20in%20this%20scenario%2C%20the%20light%20sensor%20to%20create%20an%20LED%20grow%20light%20system%20that%20optimizes%20the%20plant%20growth.%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3EWe%20have%20chosen%20the%20above%20modules%20for%20the%20following%20reasons%3A%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CUL%3E%0A%3CLI%3EThese%20modules%20have%20strong%20links%20to%20state-of-the-art%20digital%20agriculture%20techniques.%20Students%20will%20learn%20and%20apply%20the%20typical%20precision%20farming%20methods%20at%20universities.%3C%2FLI%3E%0A%3CLI%3EThese%20experiments%20focus%20on%20issues%20of%20contemporary%20global%20significance.%20For%20instance%2C%20the%20second%20scenario%2C%20helps%20students%20understand%20and%20appreciate%20the%20problem%20of%20water%20scarcity.%20It%20guides%20them%20to%20design%20an%20automatic%20irrigation%20system%20to%20efficiently%20irrigate%20their%20plants%20such%20that%20they%20can%20conserve%20water.%3C%2FLI%3E%0A%3CLI%3EFinally%2C%20these%20modules%20show%20how%20the%20student%20kit%20with%20just%20a%20few%20sensors%20intertwined%20with%20cloud%20computing%20can%20be%20used%20to%20design%20and%20build%20complex%20products.%3C%2FLI%3E%0A%3C%2FUL%3E%0A%3CH2%20id%3D%22toc-hId--386307690%22%20id%3D%22toc-hId--386307690%22%3E%3CSTRONG%3E%3CBR%20%2F%3EGitHub%20Link%20to%20the%20Project%3A%20%3C%2FSTRONG%3E%3C%2FH2%3E%0A%3CP%3E%3CSTRONG%3E%3CSPAN%3E%3CA%20href%3D%22https%3A%2F%2Fgithub.com%2Fmicrosoft%2FFarmBeats-UniversityCommunity%2Ftree%2Fmaster%2Fcommunity-members%2FImperial%2520College%2520London%22%20target%3D%22_blank%22%20rel%3D%22noopener%20noopener%20noreferrer%20noopener%20noreferrer%22%3Ehttps%3A%2F%2Fgithub.com%2Fmicrosoft%2FFarmBeats-UniversityCommunity%2Ftree%2Fmaster%2Fcommunity-members%2FImperial%2520College%2520London%3C%2FA%3E%3C%2FSPAN%3E%3C%2FSTRONG%3E%3C%2FP%3E%0A%3CP%3E%3CSTRONG%3E%26nbsp%3B%3C%2FSTRONG%3E%3C%2FP%3E%0A%3CH2%20id%3D%22toc-hId--519992414%22%20id%3D%22toc-hId--519992414%22%3E%3CSTRONG%3EDeep%20dive%20into%20Scenario%201%3A%20Monitor%20your%20Plant%20%3C%2FSTRONG%3E%3C%2FH2%3E%0A%3CP%3EIn%20this%20scenario%2C%20students%20will%20learn%20how%20to%20create%20their%20own%20application%20in%20two%20different%20platforms%20which%20are%3A%20Azure%20IoT%20Central%20Application%20and%20PowerApps.%20These%20applications%20will%20allow%20the%20student%20to%20visualise%20the%20sensor%20data%20collected%20from%20the%20sensors%20configured%20with%20their%20Raspberry%20Pi.%20The%20process%20of%20creating%20application%20is%20considerably%20different%20according%20to%20the%20platform%20chosen.%20It%20is%20highly%20recommended%20for%20students%20to%20create%20an%20application%20using%20both%20Azure%20IoT%20central%20and%20PowerApps%20to%20gain%20a%20deeper%20understanding%20of%20Azure%20services.%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CH3%20id%3D%22toc-hId-2096603138%22%20id%3D%22toc-hId-2096603138%22%3E%3CSTRONG%3ECreating%20an%20application%20using%20Azure%20IoT%20Central%20%3C%2FSTRONG%3E%3C%2FH3%3E%0A%3CP%3EAzure%20IoT%20Central%20is%20an%20IoT%20application%20platform%20that%20allows%20the%20user%20to%20easily%20interact%20with%20the%20Azure%20Cloud%20services.%20IoT%20Central%20has%20a%20friendly%20user%20interface%20to%20monitor%20plant%20conditions%2C%20create%20rules%2C%20and%20easily%20manage%20several%20devices.%20The%20student%20will%20learn%20how%20to%20use%20a%20Raspberry%20Pi%2C%20IoT%20Central%2C%20Azure%20Event%20Hubs%2C%20Azure%20Stream%20Analytics%20and%20Azure%20Blob%20Storage%20account.%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-inline%22%20image-alt%3D%22Scenario1.png%22%20style%3D%22width%3A%20999px%3B%22%3E%3CIMG%20src%3D%22https%3A%2F%2Fgxcuf89792.i.lithium.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F206379iC498A40FA2662FC7%2Fimage-size%2Flarge%3Fv%3D1.0%26amp%3Bpx%3D999%22%20title%3D%22Scenario1.png%22%20alt%3D%22Scenario1.png%22%20%2F%3E%3C%2FSPAN%3E%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CH3%20id%3D%22toc-hId-289148675%22%20id%3D%22toc-hId-289148675%22%3E%3CSTRONG%3EAzure%20IoT%20Central%20Service%20%3C%2FSTRONG%3E%3C%2FH3%3E%0A%3CP%3EThe%20first%20step%20is%20to%20create%20an%20interface%20in%20Azure%20IoT%20Central.%20In%20this%20tutorial%2C%20students%20learn%20how%20to%20use%20this%20service%2C%20from%20creating%20a%20custom%20application%20to%20creating%20a%20device%20template%20and%20device%20in%20IoT%20Central.%20A%20device%20is%20defined%20using%20capability%20models%2C%20which%20define%20the%20capabilities%20of%20all%20devices%20that%20will%20use%20this%20template.%20Capability%20models%20are%20consist%20of%20three%20parts%3A%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CUL%3E%0A%3CLI%3E%3CSTRONG%3EInterfaces%3A%20%3C%2FSTRONG%3EThese%20are%20reusable%20collections%20of%20capabilities%2C%20and%20are%20grouped%20into%20three%20categories%3CUL%3E%0A%3CLI%3EThis%20consists%20of%20actual%20values%20that%20are%20detected%20and%20sent%20by%20the%20Raspberry%20Pi.%20The%20values%20that%20the%20sensors%20will%20read%20are%20the%20Soil%20Moisture%2C%20Temperature%2C%20Pressure%20and%20Humidity.%3C%2FLI%3E%0A%3CLI%3EThese%20are%20settings%20applied%20on%20the%20device.%26nbsp%3B%20For%20instance%2C%20in%20a%20thermostat%2C%20it%20could%20be%20the%20desired%20temperature.%20These%20settings%20can%20be%20set%20by%20the%20device%2C%20or%20via%20Azure%20IoT%20Central%20which%20can%20then%20be%20synced%20to%20the%20device.%3C%2FLI%3E%0A%3CLI%3EThese%20are%20calls%20that%20can%20be%20made%20on%20the%20device%20with%20an%20option%20of%20passing%20data.%20For%20example%2C%20a%20call%20can%20be%20made%2C%20on%20the%20thermostat%2C%20by%20a%20mobile%20application%20to%20send%20a%20request%20to%20change%20the%20desired%20temperature.%3C%2FLI%3E%0A%3C%2FUL%3E%0A%3C%2FLI%3E%0A%3CLI%3E%26nbsp%3B%3CSTRONG%3ECloud%20Properties%3A%20%3C%2FSTRONG%3EThese%20are%20properties%20set%20in%20the%20Azure%20IoT%20Central%20against%20a%20device%2C%20but%20not%20synced%20to%20the%20device.%20For%20example%20a%20device%20could%20have%20a%20cloud%20property%20for%20the%20account%20name%20of%20the%20owner%2C%20the%20devices%20location%2C%20or%20the%20date%20it%20was%20last%20serviced.%3C%2FLI%3E%0A%3CLI%3E%3CSTRONG%3EViews%3A%20%3C%2FSTRONG%3EThese%20are%20dashboards%20for%20a%20device%20that%20can%20contain%20charts%2C%20data%20values%20and%20other%20information%20allowing%20the%20user%20or%20the%20student%20to%20visualize%20telemetry%20or%20send%20commands.%3C%2FLI%3E%0A%3C%2FUL%3E%0A%3CP%3EThe%20environment%20sensor%20requires%20a%20capability%20model%20to%20be%20created%2C%20with%20an%20interface%20defined%20for%20the%20telemetry%20values%20being%20sent%20and%20a%20view%20to%20display%20these%20values.%20After%20creating%20the%20template%2C%20a%20device%20needs%20to%20be%20created%20to%20be%20able%20to%20connect%20the%20Raspberry%20Pi%20and%20send%20data.%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CH3%20id%3D%22toc-hId--1518305788%22%20id%3D%22toc-hId--1518305788%22%3E%3CSTRONG%3EAzure%20Event%20Hubs%20%3C%2FSTRONG%3E%3C%2FH3%3E%0A%3CP%3EThe%20data%20received%20by%20the%20Azure%20Iot%20Central%20application%20is%20then%20exported%20to%20Azure%20Event%20Hubs.%20Azure%20Event%20Hubs%20is%20a%20real-time%20data%20ingestion%20service%20that%20allows%20the%20user%20to%20take%20capture%20incoming%20data.%20This%20data%20can%20be%20streamed%20from%20Azure%20Event%20Hubs%20to%20a%20storage%20account%2C%20referred%20to%20as%20Azure%20Blob%20Storage.%20This%20is%20done%20using%20Azure%20Stream%20Analytics.%3C%2FP%3E%0A%3CH3%20id%3D%22toc-hId-969207045%22%20id%3D%22toc-hId-969207045%22%3E%26nbsp%3B%3C%2FH3%3E%0A%3CH3%20id%3D%22toc-hId--838247418%22%20id%3D%22toc-hId--838247418%22%3E%3CSTRONG%3EAzure%20Blob%20Storage%20%3C%2FSTRONG%3E%3C%2FH3%3E%0A%3CP%3EAs%20mentioned%2C%20the%20Azure%20Storage%20Account%20is%20used%20to%20store%20all%20incoming%20data%2C%20ordered%20by%20date%20and%20time.%20This%20allows%20the%20student%20to%20revisit%20this%20data%2C%20at%20any%20point%20in%20time.%20There%20are%20a%20wide%20variety%20of%20Azure%20storage%20services%20which%20include%20file%2C%20table%20and%20blob.%20In%20this%20case%2C%20the%20students%20will%20use%20blob%20storage.%20Azure%20Blob%20Storage%20allows%20a%20user%20to%20store%20blobs%20of%20unstructured%20data%20that%20can%20be%20easily%20accessed%20from%20other%20Azure%20services%2C%20such%20as%20Azure%20Machine%20Learning%20Studio%20(Scenario%203).%3C%2FP%3E%0A%3CP%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-inline%22%20image-alt%3D%22AzureBlobStorage.png%22%20style%3D%22width%3A%20999px%3B%22%3E%3CIMG%20src%3D%22https%3A%2F%2Fgxcuf89792.i.lithium.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F206380iFAA710C59BB89152%2Fimage-size%2Flarge%3Fv%3D1.0%26amp%3Bpx%3D999%22%20title%3D%22AzureBlobStorage.png%22%20alt%3D%22AzureBlobStorage.png%22%20%2F%3E%3C%2FSPAN%3E%3C%2FP%3E%0A%3CH3%20id%3D%22toc-hId-1649265415%22%20id%3D%22toc-hId-1649265415%22%3E%3CSTRONG%3EAzure%20Stream%20Analytics%20%3C%2FSTRONG%3E%3C%2FH3%3E%0A%3CP%3EThe%20data%20from%20the%20sensors%20ingested%20into%20Azure%20Event%20Hubs%20has%20to%20be%20streamed%20into%20the%20Azure%20Blob%20Storage%20account%20using%20Azure%20Stream%20Analytics.%20This%20service%20provides%20real-time%20analytics%20on%20streams%20of%20data%2C%20allowing%20the%20student%20to%20stream%20data%20from%20one%20service%20to%20another.%20It%20is%20easily%20implemented%20in%20Structured%20Query%20Language%20(SQL)%20and%20it%20does%20not%20require%20the%20student%20to%20learn%20new%20processing%20frameworks.%3C%2FP%3E%0A%3CP%3E%3CSTRONG%3E%26nbsp%3B%3C%2FSTRONG%3E%3C%2FP%3E%0A%3CH3%20id%3D%22toc-hId--158189048%22%20id%3D%22toc-hId--158189048%22%3E%3CSTRONG%3ECreating%20an%20application%20using%20PowerApps%20%3C%2FSTRONG%3E%3C%2FH3%3E%0A%3CP%3EAlthough%2C%20PowerApps%20is%20a%20more%20complex%20platform%20compared%20to%20Azure%20IoT%20Central%2C%20it%20still%20allows%20a%20user%20to%20build%20an%20application%20without%20having%20a%20significant%20programming%20experience.%20PowerApps%20has%20a%20user-friendly%20interface%20and%20allows%20the%20student%20to%20connect%20to%20a%20wide%20variety%20of%20data%20sources%20ranging%20from%20Microsoft%20Excel%20tables%20to%20Microsoft%20Outlook%20and%20Azure%20Services.%20Furthermore%2C%20the%20interface%20created%20with%20PowerApps%20is%20more%20customizable%20and%20highly%20compatible%20with%20mobile%20applications.%3CBR%20%2F%3E%3CBR%20%2F%3E%3C%2FP%3E%0A%3CP%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-inline%22%20image-alt%3D%22Farmbeats%20App.png%22%20style%3D%22width%3A%20999px%3B%22%3E%3CIMG%20src%3D%22https%3A%2F%2Fgxcuf89792.i.lithium.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F206382i1701C6E4CCE700D4%2Fimage-size%2Flarge%3Fv%3D1.0%26amp%3Bpx%3D999%22%20title%3D%22Farmbeats%20App.png%22%20alt%3D%22Farmbeats%20App.png%22%20%2F%3E%3C%2FSPAN%3E%3C%2FP%3E%0A%3CDIV%20id%3D%22tinyMceEditorLee%20Stott_7%22%20class%3D%22mceNonEditable%20lia-copypaste-placeholder%22%3E%26nbsp%3B%3C%2FDIV%3E%0A%3CH3%20id%3D%22toc-hId--1965643511%22%20id%3D%22toc-hId--1965643511%22%3E%3CSTRONG%3EIoT%20Hub%20%3C%2FSTRONG%3E%3C%2FH3%3E%0A%3CP%3EIn%20this%20case%2C%20the%20Raspberry%20Pi%20sends%20the%20data%20from%20the%20sensors%20to%20the%20IoT%20Hub%20instead%20of%20the%20Azure%20IoT%20Central.%20The%20IoT%20Hub%20is%20a%20platform%20that%20enables%20easy%20communication%20between%20IoT%20devices.%20Moreover%2C%20it%20allows%20the%20user%20to%20have%20a%20bidirectional%20communication%20with%20enhanced%20security.%20Alternatively%2C%20Azure%20Event%20Hubs%20can%20be%20used%20instead%20of%20IoT%20Hub.%20But%20the%20main%20difference%20between%20the%20two%20services%20lies%20in%20the%20fact%20that%20Azure%20Event%20Hubs%20can%20only%20receive%20messages%2C%20whereas%2C%20the%20IoT%20Hub%20can%20not%20only%20receive%20but%20also%20send%20messages.%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CH3%20id%3D%22toc-hId-521869322%22%20id%3D%22toc-hId-521869322%22%3E%3CSTRONG%3EAzure%20Storage%20Account%20%3C%2FSTRONG%3E%3C%2FH3%3E%0A%3CP%3EIn%20terms%20of%20the%20Azure%20Storage%20account%2C%20students%20get%20an%20opportunity%20to%20explore%20tables%20within%20the%20service.%20%26nbsp%3BTables%20can%20store%20upto%20petabytes%20of%20structured%20data%20which%20can%20be%20accessed%20using%20a%20key-value%20approach%20where%20the%20key%20should%20be%20unique%20for%20each%20element.%20In%20this%20part%20of%20the%20experiment%2C%20%E2%80%98partitionkey'%20was%20set%20to%20be%20the%20device%20name%20and%20the%20%E2%80%98rowkey'%20was%20set%20as%20the%20timestamp.%20This%20allows%20the%20student%20to%20easily%20filter%20through%20the%20entire%20table%20by%20using%20either%20of%20the%20keys.%3C%2FP%3E%0A%3CP%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-inline%22%20image-alt%3D%22Azurestorage.png%22%20style%3D%22width%3A%20999px%3B%22%3E%3CIMG%20src%3D%22https%3A%2F%2Fgxcuf89792.i.lithium.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F206383i7FBE12E1CA6D869B%2Fimage-size%2Flarge%3Fv%3D1.0%26amp%3Bpx%3D999%22%20title%3D%22Azurestorage.png%22%20alt%3D%22Azurestorage.png%22%20%2F%3E%3C%2FSPAN%3E%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CH3%20id%3D%22toc-hId--587423200%22%20id%3D%22toc-hId--587423200%22%3E%3CSTRONG%3EAzure%20Functions%20%3C%2FSTRONG%3E%3C%2FH3%3E%0A%3CP%3EAzure%20Functions%20is%20an%20event%20driven%20server-less%20compute%20platform%20which%20essentially%20allows%20for%20small%20blocks%20of%20code%20to%20be%20defined.%20These%20blocks%20of%20code%20can%20be%20triggered%20by%20events%20such%20as%20a%20web%20request%2C%20data%20changes%20in%20storage%20or%20events%20being%20put%20into%20an%20Azure%20Event%20Hub.%20%26nbsp%3BIn%20this%20experiment%2C%20it%20is%20mainly%20used%20to%20get%20the%20information%20from%20the%20table.%20This%20is%20done%20by%20%E2%80%98binding%E2%80%99%20the%20function%20to%20the%20table%20in%20the%20storage%20account.%20This%26nbsp%3Bfunction%20does%20not%20require%20any%20advanced%20code%20and%20the%20function%20will%20directly%20obtain%20the%20data%20from%20the%20table%20named%20%E2%80%98data%E2%80%99.%20his%20data%20can%20be%20retrieved%20by%20the%20variable%20%E2%80%98messageJSON%E2%80%99%20when%20writing%20the%20code%20inside%20the%20function.%20The%20%E2%80%98connection%E2%80%99%20field%20accesses%20the%20%E2%80%98AzureWebJobsStorage%E2%80%99%20which%20contains%20the%20storage%20account%20string.%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3EAlthough%2C%20these%20functions%20can%20be%20written%20in%20a%20variety%20of%20programming%20languages%20such%20as%20C%5C%23%2C%20F%5C%23%2C%20Java%2C%20JavaScript%20and%20Python%2C%20the%20latter%20is%20chosen%20due%20to%20its%20easy%20readability.%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CH3%20id%3D%22toc-hId-1900089633%22%20id%3D%22toc-hId-1900089633%22%3E%3CSTRONG%3EConnectors%3C%2FSTRONG%3E%3C%2FH3%3E%0A%3CP%3EPowerApps%20has%20a%20great%20variety%20of%20%E2%80%98connectors'%20to%20import%20data%20from%20sources%20such%20as%3A%20Microsoft%20Sharepoint%2C%20Microsoft%20Outlook%2C%20Google%20Mail%2C%20Azure%20Event%20Hubs%2C%20and%20so%20on.%20However%2C%20in%20this%20tutorial%2C%20the%20student%20will%20create%20their%20own%20custom%20connector%20to%20establish%20communication%20with%20the%20Application%20Programming%20Interface%20(API)%20in%20the%20Azure%20Functions.%20This%20will%20allow%20for%20requests%20to%20be%20customized%20and%20the%20required%20data%20to%20be%20extracted.%20Moreover%2C%20Microsoft%20Excel%20is%20also%20used%20as%20a%20connector%20to%20import%20static%20data%20regarding%20information%20from%20the%20sensors%20about%20the%20model%20or%20the%20sensor%20name.%3C%2FP%3E%0A%3CP%3E%3CSTRONG%3E%26nbsp%3B%3C%2FSTRONG%3E%3C%2FP%3E%0A%3CH3%20id%3D%22toc-hId-92635170%22%20id%3D%22toc-hId-92635170%22%3E%3CSTRONG%3EPowerApps%20%3C%2FSTRONG%3E%3C%2FH3%3E%0A%3CP%3EPowerApps%20offers%20a%20whole%20range%20of%20components%2C%20from%20%E2%80%98icons%E2%80%99%20to%20%E2%80%98galleries%E2%80%99%20and%20%E2%80%98text%20input%E2%80%99.%20All%20this%20is%20very%20widely%20used%20in%20current%20applications%20in%20the%20market.%20These%20tools%20can%20be%20inserted%20by%20just%20dragging%20them%20from%20the%20insert%20tab.%3C%2FP%3E%0A%3CP%3E%3CBR%20%2F%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-inline%22%20image-alt%3D%22powerapps.png%22%20style%3D%22width%3A%20999px%3B%22%3E%3CIMG%20src%3D%22https%3A%2F%2Fgxcuf89792.i.lithium.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F206396i663766FA75328437%2Fimage-size%2Flarge%3Fv%3D1.0%26amp%3Bpx%3D999%22%20title%3D%22powerapps.png%22%20alt%3D%22powerapps.png%22%20%2F%3E%3C%2FSPAN%3E%3C%2FP%3E%0A%3CDIV%20id%3D%22tinyMceEditorLee%20Stott_11%22%20class%3D%22mceNonEditable%20lia-copypaste-placeholder%22%3E%26nbsp%3B%3C%2FDIV%3E%0A%3CP%3EThe%20figure%20above%20display%20an%20example%20of%20the%20interface%20that%20students%20will%20learn%20to%20create.%20The%20interface%20uses%20icons%20to%20navigate%20between%20screens.%20On%20the%20other%20hand%2C%20line%20graphs%20are%20used%20to%20display%20the%20data%20while%20the%20text%20input%20is%20used%20to%20insert%20a%20search%20bar.%20Moreover%2C%20galleries%20are%20present%20to%20choose%20which%20sensor%20data%20to%20display%20and%20text%20labels%20are%20added%20to%20show%20more%20detailed%20information%20about%20the%20measurements.%20Finally%2C%20a%20timer%20to%20refresh%20the%20data.%20Moreover%2C%20the%20student%20will%20also%20gain%20knowledge%20about%20working%20with%20collections%20which%20is%20used%20to%20store%20data%20in%20PowerApps.%3C%2FP%3E%0A%3CP%3E%3CSTRONG%3E%26nbsp%3B%3C%2FSTRONG%3E%3C%2FP%3E%0A%3CDIV%20id%3D%22tinyMceEditorLee%20Stott_12%22%20class%3D%22mceNonEditable%20lia-copypaste-placeholder%22%3E%26nbsp%3B%3C%2FDIV%3E%0A%3CH2%20id%3D%22toc-hId--1843902012%22%20id%3D%22toc-hId--1843902012%22%3E%3CSTRONG%3EAcknowledgements%3C%2FSTRONG%3E%3C%2FH2%3E%0A%3CP%3EWe%20would%20like%20to%20thank%20Dr.%20Christos%20Bouganis%2C%20Reader%20in%20Intelligent%20Systems%20in%20the%20Department%20of%20Electrical%20and%20Electronic%20Engineering%20at%20Imperial%20College%20London%2C%20for%20his%20invaluable%20support%20and%20continued%20engagement%20during%20the%20project.%20We%20would%20also%20like%20to%20thank%20our%20Industrial%20Supervisors%20from%20Microsoft%2C%20Mr.%20Lee%20Stott%2C%20Mr.%20Jim%20Bennett%20and%20Ms.%20Stacey%20Wood%2C%20for%20their%20valuable%20insights%20and%20suggestions%20for%20our%20project%20along%20with%20regular%20meetings.%20We%20would%20also%20like%20to%20express%20our%20sincere%20gratitude%20towards%20them%20for%20giving%20us%20a%20great%20opportunity%20to%20present%20our%20work%20on%20the%20the%20FarmBeats%20learning%20resource%20to%20the%20Microsoft%20FarmBeats%20Engineering%20Team%20based%20in%20Redmond%2C%20Washington%2C%20U.S.%3C%2FP%3E%0A%3CP%3E%3CSTRONG%3E%26nbsp%3B%3C%2FSTRONG%3E%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-TEASER%20id%3D%22lingo-teaser-1533342%22%20slang%3D%22en-US%22%3E%3CP%3E%3CSPAN%20style%3D%22font-family%3A%20inherit%3B%22%3EFarmBeats%20is%20a%20venture%20of%20Microsoft%20Research%20that%20was%20launched%20in%202015%20as%20a%20prototype%20for%20an%20Internet%20of%20Things%20(IoT)%20platform%20for%20agriculture.%20Stemming%20from%20the%20concept%20of%20Digital%20Agriculture%2C%20it%20uses%20technologies%20such%20as%20low-cost%20sensors%2C%20drones%2C%20vision%2C%20white%20space%2C%20cloud%20computing%20and%20Machine%20Learning%20algorithms%20to%20combat%20very%20little%20or%20no-power%20in%20farms.%20Consequently%2C%20the%20FarmBeats%20platform%20has%20not%20only%20allowed%20for%20real-time%20seamless%20data%20collection%20from%20sensors%2C%20cameras%20and%20drones%20but%20also%20for%20storage%20and%20complex%20processing%20within%20Microsoft%E2%80%99s%20cloud%20computing%20platform%2C%20known%20as%20Microsoft%20Azure.%3C%2FSPAN%3E%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%3C%2FLINGO-TEASER%3E%3CLINGO-LABS%20id%3D%22lingo-labs-1533342%22%20slang%3D%22en-US%22%3E%3CLINGO-LABEL%3EC%3C%2FLINGO-LABEL%3E%3CLINGO-LABEL%3Ecloud%20computing%3C%2FLINGO-LABEL%3E%3CLINGO-LABEL%3EFarmbeats%3C%2FLINGO-LABEL%3E%3CLINGO-LABEL%3EImperial%3C%2FLINGO-LABEL%3E%3CLINGO-LABEL%3EIoT%3C%2FLINGO-LABEL%3E%3CLINGO-LABEL%3EProject%3C%2FLINGO-LABEL%3E%3CLINGO-LABEL%3Esoftware%20engineering%3C%2FLINGO-LABEL%3E%3CLINGO-LABEL%3Estudents%3C%2FLINGO-LABEL%3E%3C%2FLINGO-LABS%3E
Microsoft

ImperialMicrosoft.png

 

 

 

 

Guest Blog: 

Microsoft Farmbeats University community project Imperial College London

 

About Us:

We are currently 3rd Year Electrical and Electronic Engineering students at Imperial College London. We worked on this project in collaboration with the Microsoft FarmBeats Engineering Team. You can learn more about each of us through the below Linkedin Profiles. Feel free to message us regarding any questions about the project through Linkedin messaging! 

 

ImperialTeam.png

Team Members 

What is Microsoft FarmBeats?

FarmBeats is a venture of Microsoft Research that was launched in 2015 as a prototype for an Internet of Things (IoT) platform for agriculture. Stemming from the concept of Digital Agriculture, it uses technologies such as low-cost sensors, drones, vision, white space, cloud computing and Machine Learning algorithms to combat very little or no-power in farms. Consequently, the FarmBeats platform has not only allowed for real-time seamless data collection from sensors, cameras and drones but also for storage and complex processing within Microsoft’s cloud computing platform, known as Microsoft Azure.

 

This concept of data-drive farming enables farmers to make effective data-driven decisions about their farms which help improve overall agricultural yield, lower costs, and reduce the impact the environment impact of agricultural production. The International Food Policy Research Institute claims that these data-driven techniques provide for robust data-analytics within the agricultural industry which can boost the farm productivity by as much as 67% while reducing consumption

 

A Global Challenge

It is estimated that the global population will rise by 2.2 billion by 2050, thus requiring a 70% increase in the current yield of agriculture. This growing population combined with environmental challenges has exacerbated the current food shortage challenge which makes this an issue of contemporary global significance. Dr. Ranveer Chandra, the Principal Research Scientist of the FarmBeats venture, says that, "Large amounts of data can be captured from the farms and Machine Learning can be used to translate that data into insight for the growers" Finally, key statistic by the Food Security Research Program in the UK is that more than 2 billion people lack vital micronutrients which affects their health and life expectancy. Dr. Chandra says that the FarmBeats product is capable of giving insights to also achieve the growth of highly nutritious food with minimal environmental impact.

 

FarmBeats Student Kit  

The Microsoft FarmBeats student kit is a tool to help enable data-driven farming. Microsoft truly believes that reliable and properly contextualized data coupled with farmer's knowledge and intuition about their farm, can help increase farm productivity and reduce costs. Moreover, the FarmBeats student kit was developed to promote the concept of FarmBeats among students at universities. These kits are easy-to-use solutions that help students learn about precision agriculture and Internet of Things (IoT) technologies. This IoT kit consists of a Raspberry Pi, running Windows 10 IoT Core, with preconfigured Microsoft Azure cloud services with the following sensors:

Grove BME280 Temperature, Humidity and Pressure Sensor

Grove Capacitive Soil Moisture Sensor

Grove Light Sensor v1.2

 

This kit gives students an opportunity to not only utilize Python programming for IoT devices but also understand Microsoft Azure cloud services. The data from the sensors is brought to life in an online dashboard using Microsoft Azure IoT central which will give students an insight to understand how to improve their productivity, increase yield and save resources.

Farm beats University Community 

The FarmBeats University Pilot Community was established as a way for educational institutions and university teams to collaborate on FarmBeats projects for both education and research. This GitHub repository is a one-stop-shop resource to learn about state-of-the-art digital agriculture and precision farming techniques. No prior experience is required.

Contributing

This project welcomes contributions and suggestions. This project has adopted the Microsoft Open Source Code of Conduct.

Contributing resources to the community

  • Simply create a folder under the community-members folder
  • Create a folder for your institution
  • Create a folder for your project/scenario/lab
  • Put all resources in this folder and include a readme.md file to explain your work

Aim of our Project  

So, to give an overview of our project, our aim is to teach undergraduate students, just as ourselves, about IOT and digital agriculture. For this, we’ve created a set of learning resources using the FarmBeats Kit and the Azure cloud computing services.

 

We’ve designed these resources following certain specifications:

  • For easy integration with Microsoft Learn in the future, we hosted our instructions on GitHub arranged as markdown files.
  • As mentioned, we catered these resources particularly towards undergraduate students who are interested in IOT or digital agriculture.
  • We’ve defined certain learning objectives for the designed labs and provided knowledge checks along the way to solidify students’ learning.
  • And also, we provided instructions for DIY kits as well as the official FarmBeats Kit, so that the students could use their own Raspberry Pis and sensors to follow our resources even if they don’t have access to the official kits.

We’ve designed these learning modules in such a way that they start out simple and get more sophisticated along the way, so that the students can build up on the things they learn as they progress through the labs.

 

In each of the labs, students experiment on familiar agriculture scenarios and utilize several Azure cloud computing services.

 

We also provide extension project suggestions, so that the students can apply the things they learn in the labs themselves, and hopefully, build even more sophisticated projects.

 

Lesson Plan

We are delivering a set of learning resources which comprises of a GitHub repository containing user guides and step-by-step tutorials for the following modules:

 

Monitor your plant: Here students will learn how to set-up their Raspberry Pi with their sensors and learn how to obtain and view real-time data from the sensors using IoT Hub or a mobile application developed in PowerApps  

 

Water your plant: A more advanced lab where the students will learn how to start processing data and learn how to build products such as automatic irrigation system.

 

Predict the Weather: In this lab, students will learn how to use Azure Machine Learning. This will help them build a model that will help them predict the probability of rain.

 

LED Light Grow System: Finally, in this scenario, the light sensor to create an LED grow light system that optimizes the plant growth.

 

We have chosen the above modules for the following reasons:

 

  • These modules have strong links to state-of-the-art digital agriculture techniques. Students will learn and apply the typical precision farming methods at universities.
  • These experiments focus on issues of contemporary global significance. For instance, the second scenario, helps students understand and appreciate the problem of water scarcity. It guides them to design an automatic irrigation system to efficiently irrigate their plants such that they can conserve water.
  • Finally, these modules show how the student kit with just a few sensors intertwined with cloud computing can be used to design and build complex products.


GitHub Link to the Project:

https://github.com/microsoft/FarmBeats-UniversityCommunity/tree/master/community-members/Imperial%20...

 

Deep dive into Scenario 1: Monitor your Plant

In this scenario, students will learn how to create their own application in two different platforms which are: Azure IoT Central Application and PowerApps. These applications will allow the student to visualise the sensor data collected from the sensors configured with their Raspberry Pi. The process of creating application is considerably different according to the platform chosen. It is highly recommended for students to create an application using both Azure IoT central and PowerApps to gain a deeper understanding of Azure services.

 

Creating an application using Azure IoT Central

Azure IoT Central is an IoT application platform that allows the user to easily interact with the Azure Cloud services. IoT Central has a friendly user interface to monitor plant conditions, create rules, and easily manage several devices. The student will learn how to use a Raspberry Pi, IoT Central, Azure Event Hubs, Azure Stream Analytics and Azure Blob Storage account.

 

Scenario1.png

 

Azure IoT Central Service

The first step is to create an interface in Azure IoT Central. In this tutorial, students learn how to use this service, from creating a custom application to creating a device template and device in IoT Central. A device is defined using capability models, which define the capabilities of all devices that will use this template. Capability models are consist of three parts:

 

  • Interfaces: These are reusable collections of capabilities, and are grouped into three categories
    • This consists of actual values that are detected and sent by the Raspberry Pi. The values that the sensors will read are the Soil Moisture, Temperature, Pressure and Humidity.
    • These are settings applied on the device.  For instance, in a thermostat, it could be the desired temperature. These settings can be set by the device, or via Azure IoT Central which can then be synced to the device.
    • These are calls that can be made on the device with an option of passing data. For example, a call can be made, on the thermostat, by a mobile application to send a request to change the desired temperature.
  •  Cloud Properties: These are properties set in the Azure IoT Central against a device, but not synced to the device. For example a device could have a cloud property for the account name of the owner, the devices location, or the date it was last serviced.
  • Views: These are dashboards for a device that can contain charts, data values and other information allowing the user or the student to visualize telemetry or send commands.

The environment sensor requires a capability model to be created, with an interface defined for the telemetry values being sent and a view to display these values. After creating the template, a device needs to be created to be able to connect the Raspberry Pi and send data.

 

Azure Event Hubs

The data received by the Azure Iot Central application is then exported to Azure Event Hubs. Azure Event Hubs is a real-time data ingestion service that allows the user to take capture incoming data. This data can be streamed from Azure Event Hubs to a storage account, referred to as Azure Blob Storage. This is done using Azure Stream Analytics.

 

Azure Blob Storage

As mentioned, the Azure Storage Account is used to store all incoming data, ordered by date and time. This allows the student to revisit this data, at any point in time. There are a wide variety of Azure storage services which include file, table and blob. In this case, the students will use blob storage. Azure Blob Storage allows a user to store blobs of unstructured data that can be easily accessed from other Azure services, such as Azure Machine Learning Studio (Scenario 3).

AzureBlobStorage.png

Azure Stream Analytics

The data from the sensors ingested into Azure Event Hubs has to be streamed into the Azure Blob Storage account using Azure Stream Analytics. This service provides real-time analytics on streams of data, allowing the student to stream data from one service to another. It is easily implemented in Structured Query Language (SQL) and it does not require the student to learn new processing frameworks.

 

Creating an application using PowerApps

Although, PowerApps is a more complex platform compared to Azure IoT Central, it still allows a user to build an application without having a significant programming experience. PowerApps has a user-friendly interface and allows the student to connect to a wide variety of data sources ranging from Microsoft Excel tables to Microsoft Outlook and Azure Services. Furthermore, the interface created with PowerApps is more customizable and highly compatible with mobile applications.

Farmbeats App.png

 

IoT Hub

In this case, the Raspberry Pi sends the data from the sensors to the IoT Hub instead of the Azure IoT Central. The IoT Hub is a platform that enables easy communication between IoT devices. Moreover, it allows the user to have a bidirectional communication with enhanced security. Alternatively, Azure Event Hubs can be used instead of IoT Hub. But the main difference between the two services lies in the fact that Azure Event Hubs can only receive messages, whereas, the IoT Hub can not only receive but also send messages.

 

Azure Storage Account

In terms of the Azure Storage account, students get an opportunity to explore tables within the service.  Tables can store upto petabytes of structured data which can be accessed using a key-value approach where the key should be unique for each element. In this part of the experiment, ‘partitionkey' was set to be the device name and the ‘rowkey' was set as the timestamp. This allows the student to easily filter through the entire table by using either of the keys.

Azurestorage.png

 

Azure Functions

Azure Functions is an event driven server-less compute platform which essentially allows for small blocks of code to be defined. These blocks of code can be triggered by events such as a web request, data changes in storage or events being put into an Azure Event Hub.  In this experiment, it is mainly used to get the information from the table. This is done by ‘binding’ the function to the table in the storage account. This function does not require any advanced code and the function will directly obtain the data from the table named ‘data’. his data can be retrieved by the variable ‘messageJSON’ when writing the code inside the function. The ‘connection’ field accesses the ‘AzureWebJobsStorage’ which contains the storage account string.

 

Although, these functions can be written in a variety of programming languages such as C\#, F\#, Java, JavaScript and Python, the latter is chosen due to its easy readability.

 

Connectors

PowerApps has a great variety of ‘connectors' to import data from sources such as: Microsoft Sharepoint, Microsoft Outlook, Google Mail, Azure Event Hubs, and so on. However, in this tutorial, the student will create their own custom connector to establish communication with the Application Programming Interface (API) in the Azure Functions. This will allow for requests to be customized and the required data to be extracted. Moreover, Microsoft Excel is also used as a connector to import static data regarding information from the sensors about the model or the sensor name.

 

PowerApps

PowerApps offers a whole range of components, from ‘icons’ to ‘galleries’ and ‘text input’. All this is very widely used in current applications in the market. These tools can be inserted by just dragging them from the insert tab.


powerapps.png

 

The figure above display an example of the interface that students will learn to create. The interface uses icons to navigate between screens. On the other hand, line graphs are used to display the data while the text input is used to insert a search bar. Moreover, galleries are present to choose which sensor data to display and text labels are added to show more detailed information about the measurements. Finally, a timer to refresh the data. Moreover, the student will also gain knowledge about working with collections which is used to store data in PowerApps.

 

 

Acknowledgements

We would like to thank Dr. Christos Bouganis, Reader in Intelligent Systems in the Department of Electrical and Electronic Engineering at Imperial College London, for his invaluable support and continued engagement during the project. We would also like to thank our Industrial Supervisors from Microsoft, Mr. Lee Stott, Mr. Jim Bennett and Ms. Stacey Wood, for their valuable insights and suggestions for our project along with regular meetings. We would also like to express our sincere gratitude towards them for giving us a great opportunity to present our work on the the FarmBeats learning resource to the Microsoft FarmBeats Engineering Team based in Redmond, Washington, U.S.