The Sting's temperature, relative humidity and light sensors can be used to intelligently log environmental conditions.


This is a beta feature in firmware version 1.1 and newer


Background

The Sting PCB has a temperature and humidity sensor on board. The capabilities and limitations of this sensor are discussed (<coming soon>).


The Sting also has a light sensor used for tamper detection. It can record lux measurements periodically.


The intelligent logging is based on the temperature logging. Relative humidity and light can only be logged and uploaded periodically.


Warnings

The Sting is not an IP rated product. Please be careful in wet and humid environments. Moving a cold Sting into warm humid air may result in damaging condensation.


Firmware

The feature is available in version 1.1 and newer on the OEM Server.


Settings: 

The default setup is DISABLED.

To enable the module, be sure to set the Enable Module setting to Yes.


Settings can be changed in the OEM Server Admin Interface using the System Parameters.


The following settings are available:

  • Enable Module: must be set to Yes to use the sensors.
  • Temperature Analogue: which analogue to map the device temperature into. Default is 5 (16 bit)
  • Relative Humidity Analogue: which analogue to map the relative humidity into. Default is 6 (16 bit)
  • Lux Analogue: which analogue to map the lux value into. Default is 11 (32 bit).
  • Sensor read period: determines how often the sensors are read. Analogues are updated on every read, but not necessarily logged.
  • Logging multiple: controls periodic logging. After how many reads should the values be recorded in a log.
  • Upload multiple: controls periodic uploading. After how many reads should an upload be done.
  • Temperature Change Log Threshold: provides intelligent logging. If the temperature moves up or down by this much since that last log, log again.
  • Low Alarm Threshold: if the temperature is lower than this threshold, raise the low temperature alarm.
  • Low Alarm Reset: if the low alarm is active, reset it when the temperature rises by this much.
  • Low Alarm Digital Input: map the alarm state to this digital input. Default 2.
  • Upload on Low Alarm: should the Sting perform an upload on the low alarm?
  • Emergency upload on Low Alarm: should the upload be treated as an emergency? ie. Persistent retries.
  • (Repeated for High Alarm)

IO Mappings on Telematics Guru:

The screenshot below shows an example of the IO mappings based on the defaults above:


Testing:

To get started, select the correct firmware. Enable the module selecting Yes for Enable Module. Select a suitable logging setup for your application. Ensure that the device connects to download the new settings.


Please test and verify your setup..