Skip to content


Repository files navigation

Azure Sphere Samples

This repository contains samples for the Azure Sphere platform that are created and maintained by Microsoft.

You may also be interested in:

Please also see the Codethink, MediaTek, and Azure RTOS repositories for more sample applications for the MT3620 real-time cores:

Using the samples

See the Azure Sphere Getting Started page for details on getting an Azure Sphere development kit and setting up your PC for development. You should complete the Azure Sphere Installation Quickstarts and Tutorials to validate that your environment is configured properly before using the samples here.

Clone this entire repository locally. The repository includes the hardware definition files that are required to run the samples on a range of Azure Sphere hardware.

Each folder within the samples subdirectory contains a file that describes the samples therein. Follow the instructions for each individual sample to build and deploy it to your Azure Sphere hardware to learn about the features that the sample demonstrates.


This project welcomes contributions and suggestions. Most contributions require you to agree to a Contributor License Agreement (CLA) declaring that you have the right to, and actually do, grant us the rights to use your contribution. For details, visit

When you submit a pull request, a CLA-bot will automatically determine whether you need to provide a CLA and decorate the PR appropriately (for example, label, comment). Simply follow the instructions provided by the bot. You will only need to do this once across all repos using our CLA.

This project has adopted the Microsoft Open Source Code of Conduct. For more information see the Code of Conduct FAQ or contact with any additional questions or comments.


For information about the licenses that apply to a particular sample, see the License and files in each subdirectory.

Samples by category

Categories Samples
Application lifecycle Deferred update
Device to Cloud
Power down
External MCUs Device to Cloud
External MCU update
Wi-Fi setup via BLE
Microsoft Azure Azure IoT
Multi-core samples Hello World
Inter-core communication
Networking & time Certificates
Custom NTP
DNS service discovery
Private network services
System time
Wi-Fi setup via BLE
Peripherals, sensors, & devices Hello World
Power & memory External MCU low power
Power down
Storage Mutable storage