Nearbus
An IoT Open Project



NEARBUS IN 30 SECONDS



NearBus is a Cloud Connector that allows you to fully integrate in the cloud different MCU platforms (like Arduino, OpenPicus, etc.) in a very easy and transparent way. Installing a light agent (the NearAgent) in your MCU hardware the NearBus system will allow you to see the MCU as a real extension of the cloud, controlling it via the NearAPI (a very simple set of Web Services API functions).





to try this example follow the steps shown in Hello World



The NearBus Concept


The NearBus system proposes a different paradigm to support the deployment of simple controlled devices. Instead of the traditional concept of "connect" a remote device to the cloud (to control it), the NearBus system "maps" the device into the cloud, doing a mirroring (or replication) of small part of the microcontroller's memory into the Cloud's memory. Under this paradigm, reading or writing on the Cloud's memory will have the same effect as if you were reading or writing directly into the microcontroller's memory, simplifying the way in which the device is controlled.


This mirroring process between the Microcontroller's memory and the Cloud's memory is called the Memory-Map process, so under the NearBus paradigm we say that the remote device more than "connected" to the Cloud will be "Mapped" into the Cloud.




Main Components


The NearBus system has two main components, the remote device controller or NearAgent and the Cloud Hub manager or NearHub. These components communicate in a periodic way through the NearBus protocol. The main feature of NearBus system is to allow you to control the remote agent form the cloud via a simple set of web API functions known as the NearAPI. Additionally the Agent implements a NearBIOS code, a set of basic MCU functions (ADC, Digital I/O, etc.) that allows you to control the agent from the web in the same way as a traditional Microcontroller Unit.



The following picture shows how the NearBus paradigm works at application level (eg. with a smart heater). The device is mapped into the cloud generating a virtual device, so the applications only need to access the device's mirror image to control it (the applications never access directly to the device). This system is intended to simplify the deployment of small devices and increase the security while freeing the high level programmers from the complexity of low level communications.




when the device is Mapped into the Cloud the NearBus System assigns a unique URI that identify the device through Internet (a web link to the device). Thanks to the RESTful API the device can be controlled with a simple web call.




Note: Although the NearBus system has an extensive set of features, the video only shows two basic features of the NearBus system. For more detailed information about the NearBus System please refer to Overview section.



Now with JavaScript Support, the easiest way to control your Arduino from a Browser




The Cloud Connector Concept


The following picture shows how NearBus simplifies the integration of low level HW devices (eg. Arduino) with the top level Cloud applications, from professional environments like Google App Engine to DIY light platforms like IFTTT (www.ifttt.com).





What NearBus is not


NearBus only is a cloud connector thought to hide the complexity in the remote devices connectivity (virtualizing they in the cloud). NearBus is not a programming cloud platform where you can deploy your applications. NearBus only offers you a simple, secure, and easy to troubleshoot way to connect your microcontroller platform to the cloud and control it through a simple set of web services (eg. REST API).




Connect your Arduino to the Cloud in 3 easy steps





Define your Arduino as a new device in the NearBus System

Download and install the NearBus Agent in your Arduino Ethernet board

... and you will be able to control things like lamps, motors, heaters, etc, with your Arduino board in an easy way from a simple internet browser (running in a PC, Tablet or Smartphone)
"NearBus, the easiest way to connect your Arduino to Cosm (Xively)"

Now with Full Connectivity Support for Arduino

Do you need HELP with your project?... don't worry ask us




Remarks


» NearBus is an Open Project intended to be used with educational or development purposes, so we do not sell any of the hardware or software components that could be shown in this web site.


» If you are interested in trying the NearBus system please follow the steps shown in the Hello World example (an Arduino Ethernet board is required).


» In the HELP section you will find all the information necessary to install and run the NearAgent in your Arduino.


» If you are interested in learning more about the NearBus system please contact us at: info@nearbus.net