MKR1000 Windows Remote Arduino with Firmata WiFi

This MKR1000 Windows Remote Arduino with Firmata WiFi guide lays out how I got my new MKR1000 working with Windows Remote Arduino. This guide will walk through:

  1. Setting up the latest Firmata Version with the WiFi support
  2. Verifying with the Windows Remote Arduino Experience App
  3. Controlling MKR1000 with Universal Windows App

Continue reading “MKR1000 Windows Remote Arduino with Firmata WiFi”

Amqp protocol is not supported on Universal Windows App

I was surprised to learn that AMQP protocol is not supported on Universal Windows Platform with Azure Devices Client libraries.I was getting this message “Amqp protocol is not supported” when trying to connect to the Microsoft Azure IoT Hub through the UWA app. This applies to MQTT as well. Only thing that’s supported right now is HTTP.

The nuget package Microsoft.Azure.Devices.Client lists both AMQP and MQTT libraries as dependencies. But its not supported on the Universal Windows platform. Weird.

Workaround:

This threw “Amqp protocol is not supported” :

__thisClient = DeviceClient.Create(__azureIoTHubHostname, 
                       new DeviceAuthenticationWithRegistrySymmetricKey(__azureIoTHubDeviceId, __azureIoTHubDeviceKey));

Had to update the line to include the TransportType.HTTP1 parameter:

__thisClient = DeviceClient.Create(__azureIoTHubHostname, 
                       new DeviceAuthenticationWithRegistrySymmetricKey(__azureIoTHubDeviceId, __azureIoTHubDeviceKey),
                       TransportType.Http1);

Windows Remote Arduino WiFi Lamp with Arduino Yun

In an earlier post i explained how i exposed Arduino Yun Serial Port over TCP.   This allowed me to control an Arduino Yun with Windows Remote Arduino over WiFi. This project is a further extension of it in exploring what is possible with Windows Remote Arduino. This time i connected a LED strip (TM1803 based three wire LED strip from Radioshack) to my Yun and controlled its color through an Universal Windows App that uses Windows Remote Arduino. Here is the lamp in action.

Continue reading “Windows Remote Arduino WiFi Lamp with Arduino Yun”