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”

Arduino Yun Serial Port over TCP

Introduction

This article contains instructions on how to expose the Arduino Yun Serial Port over TCP.

Few days back, the Windows IOT challenge dropped in my twitter feed. While the challenge was very interesting, after poking around the web, I quickly realized that there is no Windows IoT Core for Arduino. Hopefully, sometime soon, Microsoft and Arduino will give us one.

Until then we will have to make do with Windows Remote Arduino. It is essentially a Firmata client library wrapped in a Windows Runtime Component. I had both an Arduino Uno and an Arduino Yun and I wanted to check out the Windows Remote Arduino interfacing.

Continue reading “Arduino Yun Serial Port over TCP”

TCS34725 and ESP8266 based Color Sensor Glove

In the earlier posts here, here and here, I was leading up to this build: The Color Catcher and Thrower. A Pro Trinket based glove that captures colors with TCS34725 and sends it out as MQTT message through ESP8266 for my WiFi Christmas Tree and other light fixtures to consume.

Continue reading “TCS34725 and ESP8266 based Color Sensor Glove”

ESP8266 + Arduino Uno + Eclipse Ponte HTTP Bridge = MQTT Magic

In my last two posts I covered how I setup the Eclipse Ponte Bridge locally and how my Arduino Yun was reading a MQTT topic from the Ponte Bridge using HTTPClient. In this post I will cover how I used an ESP8266 with Arduino Uno to publish a MQTT message with RGB values.

Esp8266 Arduino Uno
Esp8266 Arduino Uno

Continue reading “ESP8266 + Arduino Uno + Eclipse Ponte HTTP Bridge = MQTT Magic”

HttpClient with MQTT On Arduino Yun

In the earlier blog post, I introduced Ponte and set it up locally on my windows PC. In this post I will demonstrate how I used the HttpClient on the Arduino Yun to read the MQTT messages and light up the LED strip using the Infineon Shield. This code does not use any of the MQTT Client libraries to subscribe to a topic. It just uses the HttpClient available on Arduino Yun’s bridge library and keeps polling the HTTP bridge on the Ponte server for message availability.

Continue reading “HttpClient with MQTT On Arduino Yun”

Ponte, a M2M bridge for MQTT, CoAP and HTTP

In an earlier post I described how I setup Mosquitto as a local MQTT broker. In this post I will introduce you to “Ponte” a brilliant project that’s in development at the Eclipse foundation.

What is Ponte

Ponte Architecture
Ponte Architecture – Image Source: Eclipse.org Ponte team.

Ponte is a M2M bridge framework that aims to close the gap between M2M interactions and the rest of the Internet. The current implementation is built on top of NodeJs.

Continue reading “Ponte, a M2M bridge for MQTT, CoAP and HTTP”

Touche Minions – Capacitive touch minion ornaments

After receiving the hardware from Element14.com for the IOT Holiday lights challenge, i have completed the touch enabled minion ornaments for my Christmas tree to go along with the minion sound generation i described in the earlier blog post.

Continue reading “Touche Minions – Capacitive touch minion ornaments”

Swap File for Extending the RAM on Arduino Yun

This post guides your through setting up a swap file for extending the RAM on the Arduino Yun. In the last blog post, Arduino Yun OpenWrt upgrade, sftp and nodejs , I installed nodejs on my Arduino Yun. Then when I tried to install some more node packages using node package manager (npm) i ran in to “out of memory” issue.

 FATAL ERROR: Evacuation Allocation failed – process out of memory

Aborted

Continue reading “Swap File for Extending the RAM on Arduino Yun”

Arduino Yun OpenWrt upgrade, sftp and nodejs

As i get to understand more about the capabilities of Yun, i did some basic house keeping work on the Yun. I expanded the disc space with a micro SD card. Upgraded the OpenWrt-Yun firmware and installed sftp and nodejs.

Continue reading “Arduino Yun OpenWrt upgrade, sftp and nodejs”

Arduino Yun Power Supply

Thanks to Element14 I got my Arduino Yun today. The first thing i noticed was the power supply. No barrel jack. So it has to be powered through Micro USB. That’s fine when connected to a computer. But if you are powering it from wall wart or from batteries then it has to be the right specification because of the lack of built in regulator.

Continue reading “Arduino Yun Power Supply”