A web configurable Xively logger, build on AVR ATmega328

Xively (formerly Cosm and before that Pachube) is a platform devoted to simplifying the interconnection of devices and data with applications on the Internet of Things. It is an on-line database service allowing developers to connect sensor-derived data (e.g. energy and environment data from objects, devices & buildings) to the Web and to build their own applications based on that data.
This embedded platform is a modular and configurable Xively data logger, built on an ATmega328 micro, usefull to send datapoints to your xively feed.A web configurable Xively logger, build on AVR ATmega328
It has a network interface, so you can configure it using any browser, just pointing to the device address.
Network can be configured in two way:

  • Static IP, Gateway, NET Mask
  • DHCP
The Xively API Key and feed id can also be modified though the network interface.
Those parameters can be usefull if you want to build many devices with same sensors, and then connect it over different xively feed, without compiling and uploading a new hex.
To make this platform easly expandable, the portion of code that gets data from sensor has been divided from the other code.
Every sensor module must ‚Äúimplements‚ÄĚ (we are not using class here, but i‚Äôm using a object oriented term) some functions. Every sensor module, must be registered it in the¬†checkdata.c file.
Every module must implements a set of function with strongly name rules, every function name must ends with a terminal string, depending on what the function implements.Schematic A web configurable Xively logger, build on AVR ATmega328
A PCB has been developed on top of the use of the Arduino Pro Mini board, to speed up the deploy of logger boards.

About The Author

Ibrar Ayyub

I am an experienced technical writer holding a Master's degree in computer science from BZU Multan, Pakistan University. With a background spanning various industries, particularly in home automation and engineering, I have honed my skills in crafting clear and concise content. Proficient in leveraging infographics and diagrams, I strive to simplify complex concepts for readers. My strength lies in thorough research and presenting information in a structured and logical format.

Follow Us:

Leave a Comment

Your email address will not be published. Required fields are marked *

Scroll to Top