Skip to main content
Version: 3.6.0

Development Setup

info

Prefer video over text? Watch our IoT Starter Kit Tutorial covering the whole setup process for the Tributech OEM Module with the Infineon XMC board online.

Links mentioned in the tutorial video:

Prerequisites

  • Tributech OEM Shield
  • Antenna with U.FL connector (LTE CAT-M capable)
  • micro LTE SIM card
  • USB A to micro USB cable or 5V power adapter with micro USB
  • Username and Password for Tributech Web portal access
  • Arduino pin compatible development board

Set Configuration

The following steps represent the general procedure to setup the "Tributech OEM Arduino Shield" sample kit:

  1. Open the OEM SIM card socket, for this push the socket cover back and then tilt up the socket lit and insert a valid SIM card.

OEM SIM card socket opening

  1. Connect the antenna to the Tributech OEM shield.

OEM antenna connection

  1. Connect the Tributech OEM shield with the chosen Development kit.
  2. Connect the chosen sensor to the sample kit.

After the steps above the sample kit is ready to send data.

Verify Communication

The verification of the connection and communication can be done in the Tributech web portal. The user has to access url of the node which is linked to their device and complete the login. The address always follows the following format:

node-name.tributech-node.com

The "node-name" is dependent on the node which is linked to the device. The node-name as well as the login credentials will be provided by Tributech via email. The main page of the web portal shows multiple sections all with their own information, but for the verification the user needs to look at the left-hand side an click on the "Agents" tap.

List of all Agents linked to node

This tap lists all agents which are linked to the node. They are listed with the following information:

Online/StatusNameTypeKey Storage TypeProof KindActions

"Online" shows if the agents is online or offline. Name depicts the different names of the agents. Type lists the device type of the respective agents. Key Storage Type will show the user where the private keys are stored and ProofKind depicts which key format is used for the proof signatures. The Actions tap gives the suer more options to handle the linked device.

Here the user has to select their own device and click on it. The names of the device will be provided by Tributech via email and will be depicted either on the device box or on the device itself. This will lead the user to the "Agent Management" page. An example of the agent management page is shown in the following picture:

Agent management page: agent: Tributech OEM node:dev-node-a

Since the connectivity already is verified when the device is listed as online the next step is to verify the device communication. This can be done via clicking on the on of the listed streams. This action will show the stream information and it's associated values link in the picture below:

Temperature stream of an agent

The stream values will be depicted in a graph or table format below the stream information.

Get started with your project

Setup Dev Environment

The dev environment setup depends on the development kit which is chosen by the user. At the moment two dev kits are supported by Tributech. The setups For their respective dev environments can be found here:

Configure OEM Module

The Tributech OEM shield only acknowledges values provided via UART which have a valid stream ID. These stream IDs are generated automatically when a new stream is added to the Twin configuration of the OEM shield. The Twin configuration is a electronic representation of a IoT-device, it contains the configuration parameters like metadata, configurations and conditions of the device and their different correlations to each other. Parts of this Twin configuration can be altered by the user like adding sources and streams to the configuration. Thus the user has to configure the OEM shield via the Data-Space-Admin. For more in depth information on device twins follow this link Twin "How to use digital Twins for IoT devices configurations".

The configuration is sent to the OEM shield via a MQTT connection which means the device has to be online for a configuration update. If the device is online a new tap can be seen in the Agent management page called "Configuration". This is depicted in the picture below:

Agent management page Configuration tap

When the configuration tap is accessed the first action is triggered and the configuration is pulled form the linked OEM shield. This configuration is then depicted on the webpage:

Tributech OEM shield Twin configuration

Depending on the location where the OEM shield is stationed and the LTE CAT-M connection the configuration pull can last several seconds. When the current configuration is shown in the web portal the user can start changing the configuration. The most important part of the configuration change is to add a custom stream. To be able to add a new stream first the user should add a new source. To add a new source right-click on the device name and choose "Add Source". Furthermore search for "Embedded Source" this is the only source which can be added to a OEM shield device all other sources will be ignored.

Add additional source to a pre-conditioned device

After the source is added the name of the source can be changed on the right-hand side. The changes have to be finalized by clicking on the "Apply" button on the bottom of the configuration. If the changes are done a stream can be added to the source. Again via right-clicking on the source a dropdown menu is shown. In this menu navigate to "Add Streams" and use the only available option "Embedded Stream". The configuration of the stream follows the same principle as the name change of the Source.

Add stream to source

The last change which needs to be done is the addition of the "Value change options". Adding these options is shown in the following picture. The "value change options" consist of three values: PMIN, PMAX, ST. The PMIN value depicts the time frame which has to pass until a new value can be provided to the OEM in seconds. This value has to be at least 10 seconds. PMAX depicts the maximum time frame where no value is published by the OEM. If the user has at least supplied the OEM with at least one value the PMAX value will be activated. Afterwards if no value is supplied to the OEM in the PMAX specified time frame the last received value will be published by the OEM automatically. ST(step) is a threshold value. If the new value does not exceed "last value + ST" then the new value will not be published.

Add value change options to a stream

With these changes the configuration can be send to the OEM shield via the "Apply Configuration" button.