From: Hack a Day – Add an Arduino to a Google+ Hangout

Posted on 2012/10/22


a quick re-post from Hack a Day http://hackaday.com/2012/10/22/add-an-arduino-to-a-google-hangout/?utm_source=feedburner&utm_medium=feed&utm_campaign=Feed%3A+hackaday%2FLgoM+%28Hack+a+Day%29

Add an Arduino to a Google+ Hangout by Eric Evenchick

Google+ Hangouts provide a group video chat with the ability to add apps. [RobotGrrl] created a Node.js web app to control an Arduino that can be added to a Hangout.

There’s a Javascript client that runs inside of the Hangout and communicates with the Node.js server running on an EC2 server over WebSockets. The server receives this client data and sends commands to Processing using TCP sockets. Processing deals with communicating with the Arduino, allowing you to control many things from the Hangout.

In this simple example, [RobotGrrl] demonstrates how to toggle an LED from the Hangout. This includes a tutorial on setting up your EC2 instance, full source for the server and client apps, the processing sketch to control an Arduino, and the code to allow the app to be added to a Hangout.

This example shows the basics, but there’s a whole slew of things that could be controlled with this system. [RobotGrrl] even demonstrates some robots that are controlled from a Hangout interface.

Check out an overview video after the break.

Filed under: arduino hacks

Posted in: reading