Spacebrew Library for Arduinos

Over the past few months we've been working on making it possible to connect Ethernet- and wifi-enabled Arduinos directly to Spacebrew. We are happy to announce that the Spacebrew Arduino Library is now available in beta.

This library makes it possible to create Arduino-based Internet of Things prototypes that can connect to Spacebrew and be untethered from a computer. Previously, most of our Arduino-based physical computing prototypes were tethered to a computer and depended on a forwarding app that connected to the arduino via serial, and to other apps via sockets.

Screen Shot 2012-12-25 at 9.53.14 PM.png

Arduinos that are connected to Spacebrew show-up like any other Spacebrew client. You can connect the input and output channels from your Arduino sketches to those of any other applications that support the appropriate data types. The Spacebrew library supports all three of Spacebrew's standard data types - boolean, range (int values between 0 and 1023), and strings.

Getting Up and Running

  1. download the Spacebrew Arduino Library and the WebSocketClient Library.
  2. unzip both libraries and copy them into the Arduino libraries folder.
  3. restart the Arduino IDE.

Check out the examples included with the library, and read the documentation on the overview page (and readme file). Once you are up and running, take a look at the Spacebrew Arduino Examples collection, which features more advanced examples (currently only one). You can also download this collection from github.