In response to the technological trends, in fall of 2012, DataArt launched the DeviceHive project – an open source platform using networking and cloud technologies to implement solutions for M2M data exchange. Using a cloud API, an administrative portal and a number of components and descriptions, including open descriptions of exchange protocols and their implementations, a user can easily create and configure their own M2M network with nearly any topology.
DeviceHive is a flexible, scalable and easy to use platform. Using it to develop private M2M systems can save large amounts of time and allows developers to put aside the implementation of protocols and messaging libraries and focus on the main functionality of the system. With DeviceHive, building M2M solutions is made simple and transparent.
DeviceHive is available to a wide audience. It provides tools for the rapid prototyping and design of industrial-grade systems in areas such as security, green technologies, smart home, remote facility management and logistics.
To educate developers about DeviceHive capabilities, DataArt developed two hardware/firmware test beds. Both allow developers to activate sensors that are connected to interfaces managed by the DeviceHive framework.
On the structural diagram above, Platform 1 is represented by the Gateway and Platform 2 by the Device. Both types have a kernel, a rich array of standard peripheral and network interfaces as well as controls and various indicators.
Let’s go into greater detail about these platforms.
DeviceHive Raspberry Pi Discovery Platform (Platform 1) is the optimal choice for applications that require a display, a graphical user interface and an Internet connection, as well as for serving as a node controller combining a large number of DeviceHive modules into a single M2M network without a desktop computer.
DeviceHive Arduino Discovery Platform (Platform 2) is a fairly functional and flexible embedded development platform with huge possibilities for (mostly) real-time interaction with the outside world. It’s a great choice for both studying microcontrollers and being the basis of small projects using DeviceHive. A promising direction to go down is using compact real-time operating systems (RTOS) on devices running DeviceHive. This would allow the unification of the Gateway interaction code with various end device architectures. One such operating system is ChibiOS (http://chibios.org) – a compact open source OS written in C, which is compatible with many software architectures.
Both platforms have the following advantages:
Can receive signals from various analog and digital sensors;
Can manage various actuators;
Simple and intuitive development environment;
By installing DeviceHive Arduino Discovery Platform development tools on a DeviceHive Raspberry Pi Discovery Platform, you can go without a PC and perform the full software development cycle using only these two platforms. In this case, they can communicate using both wired and wireless interfaces.