MISC-TN-006: Implementing a full Industrial IoT system with SBCSPG, Eclipse Kura™, and Eclipse Kapua™

From DAVE Developer's Wiki
Revision as of 08:37, 10 September 2019 by U0001 (talk | contribs)

Jump to: navigation, search
Info Box
SBCSPG-1.jpg Applies to SBCSPG
Warning-icon.png This technical note was validated against specific versions of hardware and software. It may not work with other versions. Warning-icon.png


History[edit | edit source]

Version Date Notes
1.0.0 September 2019 First public release

Introduction[edit | edit source]

This and [[SBCX-TN-003: Deploying modules to Azure IoT Edge-enabled SBCX with Visual Studio Code|this] Technical Note show how to connect two different DAVE Embedded Systems products to famous IoT cloud platforms, Amazon AWS and Microsoft Azure, respectively.

MISC-TN-006 will show instead how to implement an Industrial IoT system by following a different approach. In this case, we will be using open-source software stacks both on the edge device and on the cloud platform. This choice is extremely flexible and allows making use of on-premise cloud infrastructure as well.

Specifically, on the edge device—the SBCSPG industrial gateway—Eclipse Kura™ 4.1.0 framework will be installed. On the cloud side, Eclipse Kapua™ 1.0.7 modular platform will be used.

From the software perspective, the basic configuration of the edge device is the same described here.

Setting up the cloud platform[edit | edit source]

For the sake of simplicity, Kapua platform was installed on a desktop PC running Debian Stretch distribution. The procedure is described here and it is quite straightforward, as it is based on the use of a Docker container.

Configuring the edge device[edit | edit source]

The installation procedure of Kura framework on the edge device is pretty straightforward as well. Again, please refer to this document for more details. In this example, the Device Display-Name was customized as follows:


Connection to Kapua platform


Once the cloud connection is set up properly on the edge device, it should establish the connection with Kapua as shown in the following picture:


Connection to Kapua platform


On the cloud side, the connection status to the device is denoted by a green icon:


Connection to the device

Running a simple demo[edit | edit source]

To run simple demo to test uploading data to the cloud, the following steps can be carried out:

  • Creating a new Cloud Connection
  • Creating and configuring a new Publisher
  • Installing and configuring the example publisher application

https://marketplace.eclipse.org/content/example-publisher-eclipse-kura-4xy


root@sbcspg:~# cat /etc/resolv.conf
nameserver 8.8.8.8
TBD

Useful links[edit | edit source]