This article will demonstrate how to interface a NetBurner device to the Sparkfun TMP102 temperature sensor using the I2C communication bus. The temperature readings can be read through the serial port of the NetBurner device, and will also be visible on the device’s web page. The web page will use Ajax (a type of javascript) to continuously update the reading without reloading the web page.

Last week Sparkfun Electronics announced a new, open source cloud server application called Phant. Phant acts as a logging tool which allows any device to read and write data to and from the service. Additionally, Sparkfun also created data.sparkfun.com, which is a free service running phant. This service allows anyone to save up to 50MB worth of data to the cloud, allowing 100 pushes over 15 minutes, which averages out to a push every 10 seconds or so.

To send data to and from the service, you just need to register a new stream. Registering gives you a private key and public key for accessing the data. A private key is required to update that stream, while a public key grants access to any other stream on the service.

In this video watch a live coding session on how to connect to a TSL2561 light meter via I2C, dump that data to serial, and then send the reading to the cloud. Also, don't forget to check out the new Internet of Things (IoT) Cloud Kit!

With NetBurner hardware, you already have the power to connect, collect and quantify your data. Now with Xively support, add the power of Xively’s cloud service and API to access your data anywhere and from any device. With Xively, connect to your data with C, Objective-C, Javascript, Python, Ruby and more! With this tutorial, learn how to send and receive data between NetBurner hardware and the Xively platform.

This is part one of a multi-part series of articles in exploration of the Xively platform and the libxively C API. Additional articles will be referenced here when they are posted.