How a comprehensive set of Microsoft Azure Internet of Things (IoT) services enable your organization to connect, store, analyze, and operationalize device data to provide deep insights information from your line of business assets
Data, Information, knowledge, and Action“.. turn data into information, information into discovered knowledge, and through wisdom the discovered knowledge is turned into intelligent action “
Ref: https://www.microsoft.com/th-th/MicrosoftDeveloperDay/Event_Agenda.aspx
Electricity Distribution
Gas Distribution
Patient Tracking
Mobile CareSafety Management
Climate Control
Lighting
Energy Management
Drinking Water
Waste Water
Pollution Control
Fire Protection
Medical Emergency
Public Order
Energy
Toll Collection
Traffic Flow
Air Traffic Control
Bus/Tram/Train
Traffic Alerts
Street Quality
MobilityCity HealthBuildings
Flood Control
Solid Waste
Air Quality
Lifts and Escalators
Signage
Water Wind/Solar/Geothermal
Fuel Distribution
Power Plants
Nuclear Waste
Oil/Gas Production
Coal Mining
OR Equipment
Vital MonitoringImplants
Disability Aids
Lab EquipmentRadiology Equipment
Rule Enforcement
Airports
Taxi
Diabetes
Create the Internet of Your Thingswww.InternetofYourThings.com
CHALLENGEFujitsu is the world’s fourth-largest IT services provider with approximately 162,000 employees in more than 100 countries and holds about 97,000 patents worldwide. Fujitsu wanted to help dairy farmers increase production, improve data insights and transform their business by optimizing the timing of artificial insemination (AI). It also wanted to decrease loss through early detection of health issues.
o Improves calf production up to 31%, with an average of 12%
o Modernizes data access with mobile phone alerts, reducing labor costs for monitoring cows
o Transforms herd management by allowing farmers to increase chances of producing a male or female calf
o Reduces loss by detecting 8-10 different kinds of diseases in cattle
BENEFITSSOLUTIONFujitsu learned from public research that a cow produces more estrus (goes into heat) 16 hours after the number of steps increases significantly. The company created an innovative solution which uses a rugged pedometer with a five-year battery to measure the number of footsteps a cow takes, then sends that data to the cloud for analysis to determine optimum AI timing and even affect calf gender. In addition, the patterns of steps can detect disease in cattle. Alerts are delivered to the farmer’s cell phone.
FUJITSU
The connected cow: Using IoT to transform cattle production
Solution PortalProvisioning API
Identity & Registry Stores
Stream Event Processor
Analytics/ Machine Learning
Data Visualization & Presentation
Device State Store
GatewayStorage
IP capable devices
Existing IoT devices
Low power devices
Presentation Device and Event ProcessingData Transport
Devices and Data Sources
Cloud Gate-way
AgentLibs
AgentLibs
Control System Worker Role
AgentLibs
Get started with Azure IoT Hub • For C# and Node.JS Connect your device to
Azure IoT Hub
Microsoft Azure IoT Starter Kits• Connecting your Raspberry Pi2 to
the Azure IoT Suite Remote Monitoring Solution
• Using Microsoft Azure IoT Services to Identify Temperature Anomalies
*Azure IoT Hub Learning Path ,https://azure.microsoft.com/en-us/documentation/learning-paths/iot-hub/
C# Node.JS
Get started with Azure IoT Hub For C# and Node.JS• NuGet Packages :
• Microsoft.Azure.Devices• WindowsAzure.ServiceBus• Microsoft.Azure.Devices.Client
• Npm:• Npm install azure-iothub –save• npm install amqp10 bluebird –save• npm install azure-iot-device-ampq --save
Reference : https://azure.microsoft.com/en-us/documentation/articles/iot-hub-csharp-csharp-getstarted/
Get started with Azure IoT Hub • For C# and Node.JS
Connect your device to Azure IoT Hub
Microsoft Azure IoT Starter Kits• Connecting your Raspberry Pi2 to the
Azure IoT Suite Remote Monitoring Solution
• Using Microsoft Azure IoT Services to Identify Temperature Anomalies
*Azure IoT Hub Learning Path ,https://azure.microsoft.com/en-us/documentation/learning-paths/iot-hub/
Download the Microsoft Azure IoT Device SDK git clone --recursive https://github.com/Azure/azure-iot-sdks.git
Build and Run the sample from SDK (C)
• Open the file c/serializer/samples/simplesample_amqp/simplesample_amqp.c in a text editor.
• Locate the following code in the file:• static const char* connectionString = "[device connection string]";• Replace "[device connection string]" with the device connection string you
noted earlier. Save the changes.• Save your changes and build the samples. To build your sample you can run
the the build.sh script in the c/build_all/linux directory.• Run the
~/cmake/serializer/samples/simplesample_amqp/simplesample_amqpsample application.
Ref: https://github.com/Azure/azure-iot-sdks/blob/develop/doc/get_started/linux-desktop-c.md
Get started with Azure IoT Hub • For C# and Node.JS
Connect your device to Azure IoT Hub
Microsoft Azure IoT Starter Kits• Connecting your Raspberry Pi2 to the
Azure IoT Suite Remote Monitoring Solution
• Using Microsoft Azure IoT Services to Identify Temperature Anomalies
*Azure IoT Hub Learning Path ,https://azure.microsoft.com/en-us/documentation/learning-paths/iot-hub/
Connecting your Raspberry Pi2 to
the Azure IoTSuite Remote Monitoring
Solution
Using Microsoft Azure IoT
Services to Identify
Temperature Anomalies
https://azure.microsoft.com/en-us/solutions/iot-suite/
Get Started with Microsoft Azure IoT Starter Kit - SparkFun Thingdev• https://azure.microsoft.com/en-us/documentation/samples/iot-hub-
c-thingdev-getstartedkit/
Get Started with Microsoft Azure IoT Starter Kit - Adafruit Feather M0 WiFi
https://azure.microsoft.com/en-us/documentation/samples/iot-hub-c-m0wifi-getstartedkit/
Connecting your Raspberry Pi2 to the Azure IoT Suite
• https://azure.microsoft.com/en-us/documentation/samples/iot-hub-c-raspberrypi-getstartedkit/
Using Microsoft Azure IoT Services
• https://azure.microsoft.com/en-us/documentation/samples/iot-hub-c-raspberrypi-getstartedkit/
Using Microsoft Azure IoT Services to Identify Temperature Anomalies
• 1. Create a New Microsoft Azure IoTHub and Add Device
• Name: raspPi2IoT25 • 2. Prepare the Device (Raspberry PI)• 3. Create an Event Hub
• Name: piEventHub• NameSpace: pi2suite25
• 4. Create a Storage Account for Table Storage
• Name : pistorage25• 5. Create a Stream Analytics job to
Save Sensor Data in Table Storage and Raise Alerts
• Name: Pi2StorageJob
• 6. Node Application Setup• 7.Configure the Command Center
device sample• 8.Build the Modified Sample
RG: raspPi2IoTrg
Ref: https://azure.microsoft.com/en-us/documentation/samples/iot-hub-c-raspberrypi-getstartedkit/
Call to Action
• Check the Projects & Hackaton• https://github.com/Microsoft-Build-
2016/CodeLabs-IoTDev/tree/master/Module4-OpenHack
• MyDriving IoT Sample• Windowsondevices.com• Facebook :
Azure Thailand Developer Group
• Blog article: http://aka.ms/azureiotdevintro
• Azure IoT dev center: http://aka.ms/azureiotdev
• GitHub repo: http://github.com/azure/azure-iot-sdks
• Re-visit Build on Channel 9.• Continue your education at
Microsoft Virtual Academy online.