IoT Developer

Tooling and Experience

MXChip IoT DevKit board package v1.0.0 is now available

After a month work of stabilizing the code, fixing bugs and adding more samples, we are happy to release the v1.0.0 for our IoT DevKit. You can download the latest package by following the get started guide or from direct link here.

Try Azure IoT with an online Raspberry Pi simulator

Have you ever wanted to try IoT development but had no device at hand? From a recent survey, more than 70% developers who come to learn Azure IoT don’t have a physical device so that they can not go on from the beginning.

Debug your Arduino code with Visual Studio Code

Debugging Arduino application is a challenging task as the debugging feature has not been officially supported in Arduino IDE.
Many modern IDEs have debug support that developers are used to, using Breakpoints, Steps, Call Stack, Watch, Local/Global Variables, etc. Arduino developers often have to explore many alternative methods and tools to debug Arduino code. 

Get Started with Azure IoT today

At //Build 2017, Microsoft Azure made several announcements related to get started development experience with Azure IoT. Based on customers’ feedback, most of the developers are focusing on the device-cloud connectivity. Today, you can find more uniformed tutorials about how to connect your devices to Azure IoT and other Azure cloud services.

MXChip IoT Developer Kit debut at //build 2017

Last week, we participated in Microsoft’s annual developer conference //build 2017. We were super excited to present our first preview version of the MXChip IoT Developer Kit, an Arduino compatible board with rich peripherals that uses Visual Studio Code for development.

Understand Different Connection Strings in Azure IoT Hub

This post first explains the different connection strings in Azure IoT Hub, then gives a simple IoT Hub solution Integrate Azure Functions with Azure IoT Hub using all three connection strings.
Connection Strings
There’re three types of connection strings in Azure IoT Hub:

IoT Hub connection string
IoT Hub’s Event Hub-compatible connection string
IoT Hub device connection string

IoT Hub Connection String

Usage

Used mainly for device registration/un-registration.

Now, Write Arduino Program in Visual Studio Code

Recently, we released Arduino Extension for Visual Studio Code. It brings modern code editing experience to the beloved Arduino platform. Here’s what’s inside:

IntelliSense and syntax highlighting for Arduino sketches
Verify and upload your sketches in Visual Studio Code
Built-in board and library manager
Built-in example list
Built-in serial monitor
Snippets for sketches
Automatic Arduino project scaffolding
Command Palette (F1) integration of frequently used commands (e.g.

A “Happy Path” to learn IoT development on Azure

Learning how to develop an IoT (Internet of Things) application on Azure has never been easier! It is no longer a painful journey!
 
There is a “Happy Path” that, without requiring the developer to be well trained on both device and cloud ends,

Azure IoT Device

Easily send random generated D2C messages to IoT Hub with Azure IoT Hub Tools

Z, a software engineer, developed an application about a smart home assistant using Azure IoT service, and he wonders if the application works fine. He want to send messages indicating time and temperature to IoT Hub from many devices simultaneously each for many iterations,

Debug Azure IoT Edge C# Remote Linux Module Container with Visual Studio 2019 Version 16.3

With the 16.3 release of Visual Studio 2019, it starts to support debugging C# in Linux docker containers. This new feature can help developers easily debug remote Azure IoT Edge C# Linux module container.
Let’s see how it works.
Prerequisites
Setup Your Linux machine

Install and config Azure IoT Edge runtime on your remote Linux machine.

Containerized tool chain to simplify IoT device development

Use containerized device tool chain in Azure IoT Device Workbench to simplify device tool chain acquisition challenge.

Azure IoT Device Workbench bumped to 0.2.6 with more cool samples and huge performance improvement

It’s April the Fool but this is real. We made a huge performance improvement by reduing the extension load-up time 10 times faster. Here are what’s new for Azure IoT Device Workbench 0.2.6:
What’s new

New sample:  “IoT Devkit Dictionary”. Using Microsoft Cognitive Service in IoT devices is always an interesting topic.

Azure IoT Edge development

Debug Azure IoT Edge C# Remote Linux Module Container with Visual Studio 2019 Version 16.3

With the 16.3 release of Visual Studio 2019, it starts to support debugging C# in Linux docker containers. This new feature can help developers easily debug remote Azure IoT Edge C# Linux module container.
Let’s see how it works.
Prerequisites
Setup Your Linux machine

Install and config Azure IoT Edge runtime on your remote Linux machine.

Convert your docker-compose Project to Azure IoT Edge Solution

If you are a container expert, you may want to port your existing compose application to Azure IoT Edge. We are glad to introduce iotedge-compose to help convert your docker-compose project to Azure IoT Edge. Let us see how it works.

Azure IoT DevOps Projects now General Available to help you easily initialize a CI/CD ready IoT Edge project

With the shift of modern software development, developers need to do more than ever. Having a CI/CD pipeline could help developers deliver value faster and more transparently. For Azure IoT Edge, we already have a built-in Azure IoT Edge task in Azure Pipelines as well as a Jenkins Plugin to help you easily adopt DevOps with your Azure IoT Edge applications.

Develop and debug ARM64 IoT Edge modules in Visual Studio Code (preview)

Develop and debug ARM64 IoT Edge modules in Visual Studio Code
With the release of IoT Edge 1.0.8, developers can preview the IoT Edge support on ARM64 IoT Edge devices. In the meanwhile, I’m glad to share the steps of developing and debugging ARM64 IoT Edge custom modules in VS Code.

Azure IoT Edge Jenkins plugin is now generally available

Today, we happy to announce that Azure IoT Edge Jenkins plugin is now generally available!
As we all know, Jenkins is a popular open source automation server supporting continuous integration as well as continuous delivery. Azure IoT Edge is a fully managed service built on Azure IoT Hub.

Debug IoT Edge C / C# Windows Module Container with Visual Studio Azure IoT Edge Tools

Azure IoT Edge Tools (Preview) for Visual Studio 2017 allows you to easily develop and debug Azure IoT Edge modules locally. To learn how to use this extension to develop and debug Edge module locally, you can refer these documents:
Easily Develop and Debug Azure IoT Edge C Modules with Azure IoT Edge Tools
Use Visual Studio 2017 to develop and debug modules for Azure IoT Edge (Preview)
However,

Debug IoT Edge C / C# Linux Module Container with Visual Studio Azure IoT Edge Tools

Azure IoT Edge Tools (Preview) for Visual Studio 2017 allows you to easily develop and debug Azure IoT Edge modules locally. To learn how to use this extension to develop and debug Edge modules locally, you can refer these documents:
Easily Develop and Debug Azure IoT Edge C Modules with Azure IoT Edge Tools
Use Visual Studio 2017 to develop and debug modules for Azure IoT Edge (Preview)
However,

Easily develop and debug Azure IoT Edge modules with Azure IoT Edge Tools (Preview) for Raspberry Pi in Visual Studio 2017

With 0.4.5 release of Azure IoT Edge Tools (Preview) for Visual Studio 2017, the tool has provided a rich set of functionalities to support development of IoT Edge solutions in Visual Studio 2017:  

New Azure IoT Edge project targeting different platforms (Linux amd64,

Easily develop and debug Azure IoT Edge C modules with Azure IoT Edge Tools (Preview) 0.3.1

NOTE: Although this post is using Visual Studio 2017 as example, you could also successfully complete this tutorial with Visual Studio 2019 and Azure IoT Edge Tools (Preview) for VS 2019.
With 0.3.1 release of Azure IoT Edge Tools (Preview), you can use Visual Studio 2017 to develop and debug C modules for Azure IoT Edge.

Easily build and debug IoT Edge modules on your remote device with Azure IoT Edge for VS Code 1.9.0.

Recently, both Docker and Moby engine support SSH connection, which means you can connect a remote Docker engine more easily than before. In Azure IoT Edge for VS Code 1.9.0, we introduced a new extension setting(azure-iot-edge.executor.env) to inject environment variables into VS Code terminals.

Azure IoT Hub

Easily send random generated D2C messages to IoT Hub with Azure IoT Hub Tools

Z, a software engineer, developed an application about a smart home assistant using Azure IoT service, and he wonders if the application works fine. He want to send messages indicating time and temperature to IoT Hub from many devices simultaneously each for many iterations,

Visual Studio Cloud Explorer now supports Azure IoT Hub Device Provisioning Service

In the world of IoT, there’re many device provisioning scenarios. For example, solution providers would expect a zero-touch provisioning to a single IoT solution without hardcoding IoT Hub connection information at the factory. The IoT Hub Device Provisioning Service is a helper service for IoT Hub that enables zero-touch,

Debug Azure IoT Edge C# Remote Linux Module Container with Visual Studio 2019 Version 16.3

With the 16.3 release of Visual Studio 2019, it starts to support debugging C# in Linux docker containers. This new feature can help developers easily debug remote Azure IoT Edge C# Linux module container.
Let’s see how it works.
Prerequisites
Setup Your Linux machine

Install and config Azure IoT Edge runtime on your remote Linux machine.

Azure IoT Tools make it easy to monitor custom Event Hub endpoints

With your Azure IoT application becomes more and more complicated, it is a common scenario that developers leverage IoT Hub message routing to send device-to-cloud messages to different endpoints. Therefore, we want to a convenient way to view and monitor the custom endpoints.

Azure IoT Device Workbench bumped to 0.2.6 with more cool samples and huge performance improvement

It’s April the Fool but this is real. We made a huge performance improvement by reduing the extension load-up time 10 times faster. Here are what’s new for Azure IoT Device Workbench 0.2.6:
What’s new

New sample:  “IoT Devkit Dictionary”. Using Microsoft Cognitive Service in IoT devices is always an interesting topic.

Read Azure IoT Hub device-to-cloud messages from the built-in and custom endpoints

IoT Hub Message Routing enables users to route device-to-cloud messages to service-facing endpoints. An IoT hub has a default built-in endpoint. You can create custom endpoints to route messages to by linking other services in your subscription to the hub. IoT Hub currently supports Azure Storage containers,

Diagnose issues with Distributed Tracing for Azure IoT Hub (preview) in Visual Studio Code 

Effective monitoring is instrumental in understanding and troubleshooting your modern cloud solution leveraging multiple services. Distributed tracing helps you diagnose issues in your cloud solution by providing the capability to track the flow of a call and the associated latency across these different services.

Azure IoT Hub Toolkit 2.1.0: Great performance optimization, more code generation templates and UX improvement

Happy New Year! Azure IoT Hub Toolkit 2.1.0 is the first version released in the year of 2019. In the release, we have several great updates for performance optimization, code generation and user experience! You could see the full Changelog here: https://marketplace.visualstudio.com/items/vsciot-vscode.azure-iot-toolkit/changelog

Azure IoT Toolkit: 200K installs, Open Source always on the Way

Really another milestone! We are glad to see that the Azure IoT Toolkit for VS Code has reached 200K installs now, with all 5-star ratings. More and more Azure IoT developers are using Azure IoT Toolkit in their daily work. Azure IoT Toolkit makes it easy to develop,

Azure IoT Toolkit supports IoT Hub Module Management (Module Twin, Module Direct Method, Module CRUD)

With the v1.4.0 release of Azure IoT Toolkit, it supports module management. You could easily create module, view module twin, update module twin, invoke module direct method and delete module in VS Code.

Device Provisioning Service

Diagnostics

IoT Developer

Azure IoT Tools make it easy to monitor custom Event Hub endpoints

With your Azure IoT application becomes more and more complicated, it is a common scenario that developers leverage IoT Hub message routing to send device-to-cloud messages to different endpoints. Therefore, we want to a convenient way to view and monitor the custom endpoints.

Azure IoT Edge for VS Code 1.11.0 has been released – import modules from Azure marketplace

Now Azure IoT Edge for VS Code 1.11.0 has been released with a bunch of new features.
What’s new in Azure IoT Edge for VS Code 1.11.0

You can easily import IoT Edge modules from Azure Marketplace in VS Code. To trigger this command,

Read Azure IoT Hub device-to-cloud messages from the built-in and custom endpoints

IoT Hub Message Routing enables users to route device-to-cloud messages to service-facing endpoints. An IoT hub has a default built-in endpoint. You can create custom endpoints to route messages to by linking other services in your subscription to the hub. IoT Hub currently supports Azure Storage containers,

Azure IoT Hub Toolkit 2.1.0: Great performance optimization, more code generation templates and UX improvement

Happy New Year! Azure IoT Hub Toolkit 2.1.0 is the first version released in the year of 2019. In the release, we have several great updates for performance optimization, code generation and user experience! You could see the full Changelog here: https://marketplace.visualstudio.com/items/vsciot-vscode.azure-iot-toolkit/changelog

New year, new experience and new sample for Azure IoT Device Workbench

Together with the new Azure IoT Tools for VS Code extension pack, we also overhauled the experience of Azure IoT Device Workbench. And there is another exciting sample contributed by Chris Lovett (Github) from Microsoft Research about running Embedded Learning Library (ELL) on MXChip IoT DevKit to achieve the keyword spotting locally.

Introducing Azure IoT Tools for Visual Studio Code

Azure IoT Tools for VS Code is an extension pack for Visual Studio Code that lets you get all you need for Azure IoT development with 1-click installation. Microsoft Azure IoT support for Visual Studio Code is provided through a rich set of extensions that make it easy to discover and interact with Azure IoT Hub that power your IoT Edge and device applications.

Continue using Hyper-V container for IoT Edge on Windows 10 1803

With Azure IoT Edge 1.0.5 release, developers should use process isolation container to build and run IoT Edge modules for Windows 1809 (Windows 10 October 2018 Update) IoT Edge device. And Azure IoT Edge tools for Visual Studio and Azure IoT Edge for Visual Studio Code also updated its default project template to align with 1809 requirements.

Azure IoT Edge for VS Code 1.6.0 has been released – One click to switch your IoT Edge platform

Now Azure IoT Edge for VS Code 1.6.0 has been released with a bunch of new features.

Azure IoT Edge for VS Code 1.6.0 has been released – One click to switch IoT Edge platform

Now Azure IoT Edge for VS Code 1.6.0 has been released with a bunch of new features.
What’s new in Azure IoT Edge for VS Code 1.6.0

Now you can have multiple *.template.json files in solution for your own purpose.

By default,

Setup Azure IoT Edge CI/CD Pipeline with ARM Agent

Azure IoT Edge is a fully managed service that delivers cloud intelligence locally by deploying and running artificial intelligence (AI), Azure services, and custom logic directly on cross-platform IoT devices. An Edge solution contains one or more modules, which are hosted as docker images and run in docker container on Edge device.