Category Archives : Internet of Things

07

Jun

Using STMicroelectronics starter kits to connect to Azure IoT in minutes

Microsoft partners with silicon vendors such as STMicroelectronics to simplify and accelerate the development of embedded systems, so our customers can move projects from proof of concepts to production faster. One of the most common issues in IoT project development is the passage from proof of concept to production, from a handful of devices to deployment and management of devices at an IoT scale and from development hardware to mass produced silicon.

STMicroelectronics offers a wide range of IoT hardware along with pre-integrated software, a powerful development ecosystem and valuable starter kits. With these, connecting to Azure IoT Hub the cloud platform, monitor, and manage billions of IoT assets using one of the Microsoft Azure Certified ST devices takes minutes and you don’t have to write any code! This magic is possible because of the integration ST provides under the cover. For example, STM32 IoT Discovery Kit Node is an Arm® Cortex®-M4-core-based developer kit and sporting a full set of low power wireless connectivity options and environmental, motion and ranging sensors. FP-CLD-AZURE1 is an STM32Cube function pack that ST developed for this kit. Azure IoT C SDK is integrated into the middleware of this function pack, which enables direct and

05

Jun

Use Azure Data Lake Analytics to query AVRO data from IoT Hub

Recently a customer asked me how to read blob data produced from the routing capability of Azure IoT Hub. To provide this customer with a complete answer, I put together a step-by-step guide that I am happy to share with you in the video below.

One of the common patterns of Internet of Things applications is called “cold path” and consists of storing all data produced by IoT devices in the cloud for later processing. To make such an implementation trivial, Azure IoT Hub supports routing of messages coming from devices directly to cloud storage services. IoT Hub can also apply simple rules based on both properties, and the message body can route messages to various custom endpoints of your choice. IoT Hub will write blob content in AVRO format, which has both message body and message properties. Great for data/message preservation, AVRO can be challenging for querying and processing the data. Here is a suggested solution to process this data.

Many of the big data patterns can be used for processing non-relational data files in custom file formats. Focusing on cost and deployment simplicity, Azure Data Lake Analytics (ADLA) is one of the only “pay per query” big data

04

Jun

Regenerative Maps alive on the Edge

This week Mapbox announced it will integrate its Vision SDK with the Microsoft Azure IoT platform, enabling developers to build innovative applications and solutions for smart cities, the automotive industry, public safety, and more. This is an important moment in the evolution of map creation. The Mapbox Vision SDK provides artificial intelligence (AI) capabilities for identifying objects through semantic segmentation – a technique of machine learning using computer vision that classifies what things are through a camera lens. Semantic segmentation on the edge for maps means objects such as stop signs, crosswalks, speed limits signs, people, bicycles, and other moving objects can be identified at run time through a camera running AI under the covers. These classifications are largely referred to as HD (high definition) maps.

HD maps are more machine friendly as an input to autonomous vehicles. Once the HD map objects are classified, and because other sensors like GPS and accelerometer are onboard, the location of these objects can be registered and placed onto a map, or in the advancement of “living maps,” registered into the map at run time. This is an important concept and where edge computing intersects with location to streamline the digitization of our

30

May

Digging in with Azure IoT: Our interactive developer guide

The Internet of Things (IoT) presents many compelling opportunities for developers With the right tools and guidance, it doesn’t need to be intimidating. The conceptual and technical differences between IoT and traditional web and application are relatively easy to grasp. Plus, Microsoft offers a full range of managed services to make it even easier, while enabling you to experiment and scale. If your main skillset is in the Microsoft ecosystem, you can jump right in with Visual Studio Code, .NET, and Azure. If you prefer other languages and tools, our open-source SDKs will enable you to work with Azure solutions while staying in your comfort zone. Either way, you can get started quickly with our Azure IoT developer guide that will take you through common application patterns and tutorials that will have you up and running fast.

The IoT Application pattern

When it comes to knowing where to start, it can help to have a conceptual framework that organizes services and technologies in a logical way. We tend to think of IoT architecture as being divided into three main categories, each of which has considerations distinct from traditional development architectures:

Things: The devices and sensors in the field that are

18

May

Azure the cloud for all – highlights from Microsoft BUILD 2018

Last week, the Microsoft Build conference brought developers lots of innovation and was action packed with in-depth sessions. During the event, my discussions in the halls ranged from containers to dev tools, IoT to Azure Cosmos DB, and of course, AI. The pace of innovation available to developers is amazing. And, in case there was simply too much for you to digest, I wanted to pull together some key highlights and top sessions to watch, starting with a great video playlist with highlights from the keynotes.

Empowering developers through the best tools

Build is for devs, and all innovation in our industry starts with code! So, let’s start with dev tools. Day one of Build marked the introduction of .NET Core 2.1 release candidate. .NET Core 2.1 improves on previous releases with performance gains and many new features. Check out all the details in the release blog and this great session from Build showing what you can use today:

.NET Overview & Roadmap: In this session, Scott Hanselman and Scott Hunter talked about all things .NET, including new .NET Core 2.1 features made available at Build.

Scott Hanselman and Scott Hunter sharing new .NET Core 2.1.

With AI being top

14

May

Using the Azure IoT Python SDK: make sure you check the version!

Since the release in 2016, developers are using our Azure IoT Python SDK to write device and back-end applications to connect to Azure IoT Hub and Device Provisioning Service, as well as writing modules for Azure IoT Edge (preview). Python is a popular choice for prototyping, and it is gaining traction in the embedded world.

If you decide to use the Python SDK for development, there are few things you should keep in mind: Python SDK is a wrapper on top of our Azure IoT C SDK, and we release binary packages on pip for Windows, Ubuntu, and Raspbian, all of which are compatible with Python 2 and Python 3. This approach has its ups and downs. On the upside, the features you see in C are available in Python with no functionality difference. On the downside, it is not a native Python SDK. Application Programming Interfaces (APIs) that we exposed may look different from typical Python APIs; and as a developer, you will need to pay attention the architecture of underlying platform, especially when you are using pip!

At a high level, there are three things that must align to reference the Python SDK properly: Python version (2 or

07

May

What’s new with Azure IoT Edge?

At Microsoft Build 2017 we shared our vision for Azure IoT Edge. At that time we demonstrated the idea of what Azure IoT Edge could do with Azure Stream Analytics job and Azure Machine Learning workloads by moving from Azure cloud to an IoT Edge device so that decisions could be made quickly and reliably without having to rely on the public Internet. This allowed million-dollar machines to operate reliably and safely with Azure IoT Edge, making intelligent decisions based on data from the machine. Deployment of these workloads can now be at a scale of thousands or millions of devices.

In November 2017, we shipped the public preview of Azure IoT Edge with the ability to move workloads from the Azure to Edge devices. These workloads included the AI Toolkit for Azure IoT Edge, Azure Machine Learning, Azure Stream Analytics, Azure Functions, and your own code. With these services on the edge, you could build rich and intelligent applications which operate locally, but can easily be deployed and managed from the Azure IoT Hub. We also articulated the security model for Azure IoT Edge and announced partnerships with NXP and Microchip for support of this model.

Since the public

07

May

New Azure innovations are helping developers write code today for tomorrow’s technology challenges

This morning, at the Microsoft Build conference in Seattle, I talked about the key areas of new Azure innovation that enable the intelligent cloud and intelligent edge – spanning developer tools, DevOps, containers, serverless, Internet of Things (IoT) and artificial intelligence (AI).

Innovation starts with developers writing code. The effectiveness of your dev tools are at the heart of your ideas becoming reality. With this in mind, we continue to deliver new innovation and experiences with Visual Studio tools. Whether it is Visual Studio, VS Code or Visual Studio Team Services for DevOps, we are committed to providing the most productive developer experience end-to-end. Today, we announced a preview of Visual Studio IntelliCode, that brings AI to everyday development by providing intelligent suggestions that improve code quality and productivity. We also announced the preview of Live Share, which lets developers collaborate on their code and problem solve across Visual Studio and VS Code. Finally, building on our shared commitment to developers and open source, we also announced a fantastic partnership with GitHub where Visual Studio App Center will be natively available in GitHub via their marketplace. This means any GitHub developer building mobile apps for iOS, Android, Windows and macOS

02

May

Bring the power of serverless to your IoT application and compete for cash prizes

It is hard these days to not walk past something which is connected to the Internet in some way. These things are everywhere – desks, pockets, wrists, walls, kitchens, vehicles, factories, traffic stops, grocery shops… the list goes on and on. These things perform useful operations, gather data, and most importantly have built-in connectivity. There are endless possibilities to what can be achieved when the data from these things is securely captured, processed, and analyzed using the processing power, availability, and intelligence of the cloud. We want to explore these possibilities, with YOU!

Which is why we are inviting you to participate in the Azure IoT on Serverless hackathon for your chance to win* a piece of the $20,000 prize pool.

This online competition will run over the next few months, is open to anyone who wants to participate. In addition to winning cash prizes, this competition gives you an opportunity to be featured on the Azure blog.

All ideas are welcome, whether you want to work on that sensors-driven smart-home project you have been putting off, build a remote monitoring solution for a healthcare facility, create an intelligent system to streamline the manufacturing process of your production plant,

26

Apr

Train an IoT-equipped drone and compete to win at Microsoft Build

Are you ready for Microsoft’s ultimate developer event? You probably already know Microsoft Build, happening May 7–9 in Seattle, Washington, is where you need to be to connect with the experts, discover new tools, and boost your skills around cloud technologies, AI, mixed reality, and more.

Sure, there will be great speakers and tech sessions galore—but did you know you could win a drone?

That’s right, we’re having a drone contest. Participants will compete against fellow conference go-ers on who’s drone can complete the outdoor search and rescue course designed specifically for Microsoft Build. You’ll get hands-on, end-to-end experience with Microsoft’s intelligent cloud platform, Azure IoT Edge, and be eligible to win a DJI Mavic Air drone.

How cool is that?

Here’s how it works

Contestants will create training images using AirSim, an open-source aerial informatics and robotics simulation platform. Then contestants will build and train a realistic AI drone model in the cloud using Custom Vision, and then create a container for AI deployment to Microsoft Azure IoT Edge. This intelligent cloud platform lets you run artificial intelligence at the edge of the cloud, perform analytics, deploy IoT solutions from cloud to edge-enabled devices, and manage them centrally