Predict Temperature using Azure IoT & Raspberry Pi3

Predict Temperature using Azure IoT & Raspberry Pi3 - wikiazure

Predict Temperature using Azure IoT & Raspberry Pi3

Dave Rendón Follow
1 Star2 Stars3 Stars4 Stars5 Stars

It´s been a while since my last article, in this article I will show you step by step how to enable an Azure IoT environment to predict temperature using Azure Machine Learning.

For instructional purposes in this case we are going to utilize an IoT kit provided by Adafruit, please see the pictures below with the detailed information, if you want to purchase this material please visit: https://www.adafruit.com/

Note this is an Abstract of the past IoT Virtual Bootcamp: https://infopedia.eventbuilder.com/index?landingpageid=4dSL41&ocid=IOTVB17_SM_CDS_OPC_10101

This is the overall proposed agenda, however I´ll write the Step-By-Step on the IoT-Labs:

 

PRE-REQUISITES:

HARDWARE:

While not definitive, the following laptop as a minimal configuration works for learning cloud
and IoT:
• 8 GB RAM
• 120GB HDD
• USB Port(s)
• Second monitor is very useful when coding

IOT HARDWARE REQUIRED FOR THE LABS

https://www.adafruit.com/product/3605

 

Components required for the Microsoft Virtual IoT labs:

  1. 1x Assembled Adafruit Feather Huzzah ESP8266 Wifi
  2. 2x USB Cable- A/Micro B
  3. 1x Full-sized Breadboard
  4.  1x Raspberry Pi3b Arm v8 with 1G RAM
  5. (optional if using virtualization) 1x 8GB MicroSD Card with NOOBS 2.0
  6.  1x 8GB MicroSD Card SDHC( for WinIoTCore)
  7. Premium Male/Male Jumper Wires 40 x 12” (300mm)
  8. AM2302 (DHT22) temperature-humidity sensor
  9. Slim HDMI Cable 450mm /1.5 feet long
  10. HDMI 7” 800 x 480 Display Backpack
  11. 1x Defused 10mm LED (Red, Green or Blue)
  12. (optional) 1x 10k Ohm 5% 1/4W resistor (for AM2302)
  13. 1x 560 Ohm 5% 1/4W resistor (for LED)
  14. 1x 5V 2.4A minimum Switching power supply w/Micro USB for RP3b
  15. Adafruit Raspberry PI B+ Case
  16. 1x Ea USB Keyboard /Mouse (provided by student)
  17. (optional) RJ45 LAN cable for Direct connect if Wifi not available on RP3b
  18. (optional) HDMI capable Monitor or TV for Raspberry pi Video

**No need to be a Senior Developer to go through the following IoT Labs

 

Additional FAQs related to the following Labs can be found here: https://wikiazure.com/wp-content/uploads/2018/03/Fall2017VirtualBootCampFAQs-wikiazure.pdf

KEY GOALS.

  • Understand how IoT works by setting common language
  • IoT Architecture common patterns
  • How can Enterprise IoT Applications can be created from scratch

Azure IoT Foundations.

IoT is really about capturing, analyzing data with the goal of improving results, when you look at the capabilities MS brings to the table, IoT comes down to three core set: have the right device to collect data, have the right platform to analyze the data and finally have the right solution to analyze this data in order to improve results as shown in the image below

 

LAB 1.  Device Setup – You can follow this steps to setup your device –


GO TO LAB 1

LAB 2. Create an IoT Hub and connect your IoT Device  


GO TO LAB 2

LAB 3. Managing IoT Data using Stream Analytics, Blob Storage and Power BI 


GO TO LAB 3

LAB 4. Azure Function: “EventHub Trigger” to process new events to a EventHub


GO TO LAB 4

LAB 5. Setup Windows IoT core and run your first App


GO TO LAB 5

LAB 6. Predict Temperature using Azure Machine Learning


GO TO LAB 6

Leave a Reply