Azure Code Samples

Learn to interact with Azure services through code

27 code samples match your filter

IoT Hub Feather M0 WiFi Client application

Application collects weather data from a BME280 sensor and sends it to IoT hub, also take actions according to cloud-to-device message.

xshi by Xin Shi,
Last updated: 11/15/2017

IoT Hub Raspberry Pi 3 Client application

Application collects weather data from a BME280 sensor and sends it to IoT hub, also take actions according to cloud-to-device message, device management.

shizn by Xin Shi,
Last updated: 11/15/2017

IoT Hub Intel Edison Client application

Application collects weather data from a Grove temperature sensor and sends it to IoT hub, also take actions according to cloud-to-device message, device management.

xshi by Xin Shi,
Last updated: 11/13/2017

IoT Hub Raspberry Pi 3 Client application

Application collects weather data from a BME280 sensor and sends it to IoT hub, also take actions according to cloud-to-device message, device management.

shizn by Xin Shi,
Last updated: 11/6/2017

IoT Hub Feather HUZZAH Client application

Application collects weather data from a DHT22 sensor and sends it to IoT hub, also take actions according to cloud-to-device message.

xshi by Xin Shi,
Last updated: 11/6/2017

Use device lifecycle and twins changes to replicate device data to an external store

Demonstrate the use of device lifecycle and twin change notifications to replicate device identities and twin properties to an external store - specifically an Azure Cosmos Graph DB

ailn by Andrey Ilnitsky,
Last updated: 10/20/2017

MyDriving - An Azure IOT and Mobile Sample Application

Building IoT or Mobile solutions are fun and exciting. This year for Build, we wanted to show the amazing scenarios that can come together when these two are combined. So, we went and developed a sample application. MyDriving uses a wide range of Azure services to process and analyze car telemetry data for both real-time insights and long-term patterns and trends. The following features are supported in the current version of the mobile app.

alinapopa by Alina Popa,
Last updated: 10/3/2017

azure iot gateway ble data convertor module

A customized gateway module for Intel NUC gateway kit

shizn by Xin Shi,
Last updated: 8/25/2017

iot hub c intel nuc gateway getting started

The repo contains configuration files and scripts that automate the execution of gateway SDK BLE sample application.

xshi by Xin Shi,
Last updated: 8/23/2017

IoT Hub SparkFun ESP8266 Thing-Dev Client application

Application collects weather data from a DHT22 sensor and sends it to IoT hub, also take actions according to cloud-to-device message.

xshi by Xin Shi,
Last updated: 8/23/2017

IoT Hub Intel Edison Client application

Application collects weather data from a Grove temperature sensor and sends it to IoT hub, also take actions according to cloud-to-device message, device management.

xshi by Xin Shi,
Last updated: 8/22/2017

Generic Web Service to Event Hub scenario

Simple cloud app that pulls data from public or private web service and pushes to event hub

spyrossak by Spyros Sakellariadis,
Last updated: 12/1/2016

How to get started for using IoT Hub REST API in Python

This Python sample app is used by the getting started content to demonstrate how easy it is to create an IoTHub Instance on Azure portal, and register a new device for the IoTHub, then send a message from device (simulated device app) to cloud.

msonecode by One Code,
Last updated: 3/28/2017

Azure IoT Hub ping

Simple solution to test a device's connectivity to Azure IoT Hub: Device sends a message and receives it back.

olivierbloch by Olivier Bloch,
Last updated: 4/9/2017