Being able to display data in a user defined way allows any sensor to be connected to the UrsaLeo platform or to allow the range of data that is of interest to be displayed more meaningfully. UrsaLeo supports a range of chart types from a simple digital number to dials, gauges, and more.
When a sensor is first connected, the system will default to certain presets. If, for example, the sensor ID is 'temp', the system will default to displaying a thermometer. However, if no preset has been defined, the initial display will be a raw number. Here's one of a temperature sensor.
This is not a very useful reading for an observer, so we need to add context. This is done by clicking the setting wheel displayed in the top right
You will be presented with this dashboard element's preferences.
Below is a description of the options available to configure the dashboard element.
The title at the top '0 Preferences' gives us the channel ID this sensor data is being received on, in this case channel '0'. Note which sensor data is being sent on which channel is controlled through the gateway API - it is useful for the user to know which sensor maps to which channel as the dashboard is configured.
Allows users to specify preferences for one device or as a default for all devices.
The name of sensor sent from the device.
User can define a more meaningful name for the sensor. 'Temperature from motor 11' will be used in our example.
The number here defines the order in which dashboard elements will be displayed. A dashboard element with priority 1 will be displayed before a dashboard element with priority 10. It is recommended that these numbers are spaced out a bit to allow insertion of new dashboard elements.
Record data from this sensor
The checkbox to record data from this sensor should be selected if the user wishes to save historical data for future download or other purposes.
Hide this sensor on dashboard
The checkbox to hide the dashboard element is useful when a multi-sensor board (like the SiLabs Thunderboard 2) is connected but the user is only interested in data from a subset of the sensors available.
Defines the overall look of the dashboard element. Below is an example of each chart type.
Orientation can be used with gyroscopic sensors where typically a 3-axis representation of the element is displayed.
Number of major ticks
The number of large ticks around the gauge.
Number of minor ticks
The number of minor ticks between each major tick on the gauge.
Unit of measurement
Label for the data (Celsius, Fahrenheit, %, pascal etc.)
Choose the number of decimal places to be displayed for more or less accurate readings
Yellow zone from / to
Defines the starting point outer rim of the gauge where the readings are marked in yellow (warning zone).
Red zone from / to
Defines the starting point outer rim of the gauge where the readings are marked in red (danger zone).
Minimum and maximum values
The beginning and ending reading of the gauge.
The multiplier to get the reading into a human expected range. For example, a temperature sensor may send a value of 2541 representing a value of 25.41 Celsius. The scale value entered would therefore be 0.01.
The amount to add or subtract from the raw reading to calibrate the sensor to actual conditions.
Here's a screenshot of a temperature sensor fully configured:
And here's how it appears on the dashboard: