Embracing Open Source for Connected Devices [DotNetCurry Magazine]

3 minute read

**I am glad to inform that my article on Internet of Things on Azure using Javascript and .NET is featured in the 3rd anniversary of DotNetCurry Magazine (Issue 19).** With each passing day, we are getting hooked on to an increasing number of small devices. Besides, the Internet, too, drives our lives like never before. It is obvious, as well as natural, that the connectivity of these small devices with the Internet will lead towards inter-connectivity between these small devices themselves in a way where not only data exchange, but decision making will be a shared responsibility of these smart devices. That, means, the real value of Internet of Things does not just lay in just home automation, but rather in the data collection by these smart devices and analytics in further up the value chain. In this article, we will explore the possibility of developing applications for IoT devices that capture data from low-cost sensors and communicate with real-time scalable services in Azure – primarily using Open Source Technologies for devices and Managed Services in Azure. Connected Devices vs People In the last decade, we have seen multiple platforms (through the power of Internet) facilitate all the facets of our communication – email, chat, meetups, networking or career development. People have more than one device that allows them to remain connected to the Internet to access platforms like Facebook, Twitter, WhatsApp, LinkedIn, Meetup, etc. With the current trend, soon, the number of Internet connected devices (Internet-of-things, aka IoT) will outnumber the world population. While this increase in the number of Internet-connected devices will increase the network traffic and will force us to adopt IPv6, it will also open the door to new opportunities for developers, security analysts, business houses and governments. As developers and architects, it becomes essential for us to think of IoT from the aspects of scale of operation, autonomously connected devices, interoperability between them and seamless collection of data captured by these IoT devices into a centralized data store that can be used for analytics. This makes the marrying of IoT with Cloud perfect! Internet of Things and Azure – The Way Ahead There are several IoT boards available in market and new ones are getting released every month. Whichever board we choose, the basic process of getting our board connected to the cloud remains the same. The 4 essential steps to have our sensors stream or send data to cloud are: 1. Connect the device that we have: We need to start with connecting sensors to our device and device to the Ethernet/Wireless network. 2. Utilize the Cloud Services: We need to build services (Worker Roles, Web Roles, Jobs) that run in the cloud and help in persisting data in one of the data stores like SQL database, DocumentDB, MongoDB, Blobs, etc. 3. Combine data collected from devices: With service contracts ready in step 2, we need to ensure that our device consumes the service contracts and is able to push the sensor data to cloud services 4. Generate new insights from data collected: From the network of IoT devices, the collected data can be used to feed into Big Data platforms (like, HDInsight) for the purpose of analytics.

An excerpt from the article is

With each passing day, we are getting hooked on to an increasing number of small devices. Besides, the Internet drives our lives like never before. It is obvious, as well as natural, that the connectivity of these small devices with the Internet, ultimately, will lead towards their inter-connectivity; where not only data exchange, but decision making will be a shared responsibility of these smart devices. That means the real value of Internet of Things (IoT) does not lie in just home automation, but rather in the data collection by these smart devices and analytics, further up the value chain.

In this article, we will explore the possibility of developing applications for IoT devices that capture data from low-cost sensors and communicate with real-time scalable services in Windows Azure – primarily using Open Source Technologies for devices and Managed Services in Azure.

Direct download: [PDF- DNC-July 2015] [ZIP- DNC-July 2015]

Updated: