Skip navigation
It appears I have not anticipated the issues that I faced in this project challenge. Unfortunately I had to devote lot of time in researching Azure documentation to fulfill my goal of providing a mobile app for both Android and iOS using Xamarin Forms technology. But the final result is that I could not meet my goals. Even after compromising to provide a set of Console apps, I couldn't meet all the goals. The issues I faced are as follows:   Not able to access Azure services through Xamari ...
Storing the device sensor data that is sent to the IoT Hub can be stored either into a Blob or into a Storage Table. Saving in a Table is more easy to comprehend. The process is as follows:   Create an Azure Function App named esm-device-msgs2table-appattached to an Azure Storage account named esmiotstorage. Then created an Event Hub Namespace named esm-event-hub-ns. In this namespace created an Event Hub named esm-event-hub. Then created Azure Function code as follows: Go to the functi ...
In this blog I detail the procedure to separate the device messages that contain temperature alert. Once these are separated, they can be channeled to separate cloud storage and also trigger actions to intimate the user about the alert.   The messages with alert are sent to a critical queue and read from that. This is done as described in the Azure document   First a Service Bus Messaging Namespace is created in Azure Portal as follows: Go to +New -> Enterprise Integration -> S ...
In previous blogs, I have shown the Main Menu of the Mobile App. In this blog I will explain the "Setup New Device" option in that menu. Below is the screenshot of this page on Android Emulator running Marshmallow image.   The various components are described here: Device Model #: The format of this value is two letters followed by two numbers. This will be used in forming the Device Id for cloud access purpose. These indicate as follows, The 1st letter indicates the Connectivity as fol ...
C In this blog post I will describe the program that shows live data after formatting it to general user readable form as shown in the following screenshot.   Each data received is shown in two rows. The top row shows the Date & Time the sensor data was sampled and the data message number (after the device was powered). The bottom row shows the Temperature, Humidity % and whether the temperature read is above the Threshold Temperature set (which is 86 F). I have created the alert si ...
In previous blog post #5 I have shown the Setup New Device page in Mobile App. But unfortunately I found that Azure services are not easily available from Xamarin Forms. There are many Xamarin, the tech that I want to use for cross-platform apps, examples on Azure site but they are all for either .NET console apps or Xamarin Native code. The Xamarin Forms is so appealing that I completely neglected native coding with Xamarin. Hence I chose to work with .NET Console Apps for the present. The foll ...
Device-to-Cloud Communication: In the last blog I have explained the code that reads the sensors data, process it and sent to Cloud storage, in this case it is Azure Services.   First created an Azure IoT Hub using the Azure portal as described here. I am using my Biz Spark subscription for this.   Then provisioned a device in the above IoT Hub and got the Device Connection String, which is set in the device software in the azure1_config,h as shown below. Actually this device name / ...
This is the 3rd blog post for the "IoT on Wheels Design Challenge"   Temperature Alert Logic: Related Parameters: Temperature Unit: This can take only two values, 0 for Celsius and 1 for Fahrenheit. Default value will be 1 (Fahrenheit). Temperature Threshold: If the sensed temperature is above this value, alert mechanism will be activated. Default value will be set to 85 F. Desired Telemetry Interval:This sets the how frequently the data is transmitted to cloud. This will be set as follow ...
This is the 2nd blog post for the "IoT on Wheels Design Challenge".   STM32 Setup: The boards in the STM32 kit have been arranged as shown below. Download & Install USB Drivers & Firmware Update: First go to www.st.com/stm32nucleo. You will find a link to www.mbed.com. Click on it and select NUCLEO-L476RG figure. Then go to the bottom of the page and click on the first LINK for ST-LINK/V2 driver in the yellow patch. Now click on Download the latest ST-LINK/V2 drivers. Go to Ge ...
Now a days we have been hearing about death of children being left inside hot cars. None of the vehicles driven today, old or new, have any way of intimating the drivers that either the car interior is getting hot, left a kid in the car or both. Hence this VeTAS project will enable the drivers to get intimation when things are going wrong.   As these are basically 'proof of concept' projects, I am aiming to keep it simple with provisions for extensions and improvements. I will make it as m ...