Difference between revisions of "MISC-TN-006: Implementing a full Industrial IoT system with SBCSPG, Eclipse Kura™, and Eclipse Kapua™"

From DAVE Developer's Wiki
Jump to: navigation, search
Line 22: Line 22:
 
[[MISC-TN-005: Running AWS Greengrass Core on SBCSPG|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-005: Running AWS Greengrass Core on SBCSPG|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.
+
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—[https://www.eclipse.org/kura/ Eclipse Kura™] 4.1.0 framework will be installed. On the cloud side, [https://www.eclipse.org/kapua/ Eclipse Kapua™] 1.0.7 modular platform will be used.
 
Specifically, on the edge device—the SBCSPG industrial gateway—[https://www.eclipse.org/kura/ Eclipse Kura™] 4.1.0 framework will be installed. On the cloud side, [https://www.eclipse.org/kapua/ Eclipse Kapua™] 1.0.7 modular platform will be used.
Line 29: Line 29:
  
 
==Setting up the cloud platform==
 
==Setting up the cloud platform==
 +
For the sake of simplicity, Kapua platform was installed on a desktop PC running Debian Stretch distribution. The procedure is described [http://www.opensourcerers.org/connecting-kura-to-kapua/ here] and it is quite straightforward, as it is based on the use of a Docker container.
  
 
==Configuring the edge device==
 
==Configuring the edge device==
 +
The installation procedure of Kura framework on the edge device is pretty straightforward as well. Again, please refer to [http://www.opensourcerers.org/connecting-kura-to-kapua/ this document] for more details. In this example, the ''Device Display-Name'' was customized as follows:
 +
 +
 +
[[File:TBD.png|thumb|center|600px|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:
 +
 +
 +
[[File:TBD.png|thumb|center|600px|Connection to Kapua platform]]
 +
 +
 +
 +
On the cloud side, the connection status to the device is denoted by a green icon:
 +
 +
 +
[[File:TBD.png|thumb|center|600px|Connection to the device]]
  
 
==Running a simple demo==
 
==Running a simple demo==

Revision as of 08:37, 10 September 2019

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]