G100 Firmware 1.24 and above supports the use of the "Input Monitor"
The input monitor allows a digital output to be set, or a buzzer to be sounded, based on the state of device digital inputs, and a speed threshold.
Examples of the use of this feature might be:
- Sound a buzzer when a digital input (seatbelt input) is inactive, AND a vehicle is in trip and is moving at over 5km/h. This allows for seatbelt buzzing to occur once the vehicle is actually on the move, rather than simply if the ignition is running.
- Turn on an output based on the state of another input.
Defaults shown below.
Available parameters are:
Enable Input Monitor
Disable or Enable to turn this feature off/on.
The next 4 parameters - Speed Threshold, Speed Hysteresis, Digital Input Active Mask, Digital Input Inactive Mask control when the input monitor is 'on', and then the remaining 4 control what is done when the monitor is activated (i.e. buzz, set an output)
The Speed Threshold and Digital Input masks are ANDED together, i.e. when above X speed, and X inputs are active + X inputs are inactive, the monitor is on.
Speed value for which to activate the input monitor. Leave as NULL/0 to not use speed checking.
It is not advisable to use very low speeds (< 10km/h)
Provides some hysteresis. For example, if Speed Threshold is 10km/h, and Hysteresis is 3km/h. The monitor will be activated if the speed exceeds 10km/h, and it will not turn off until it has dropped below 7km/h
Digital Input Active Mask
This is a bit mask which controls which inputs control the input monitor. It enables any of the device digital inputs (including ignition status, or other inputs such as battery status, GPS jamming etc) to control the monitor.
For example, to have the input monitor active for when Digital Inputs 1, 2 and Ignition (0) are ON, this would result in a binary representation of the inputs as: 111
Using an online binary -> decimal converter, or simply the Windows calculator and this results in a value of 7, which we would use for this parameter.
Digital Input Inactive Mask
As above, but these are the inputs that when OFF, the input monitor is activated.
Digital Input to set when the Input Monitor is on (i.e. above conditions were true)
For example this enables a set up such as - if speed > 10km/h, and Digital Inputs 1 and 2 are active, then set Digital Input 9.
Then end the software platform can be set up to send an alert when input 9 is active.
This enables somewhat complex alerts and combinations of other events to be distilled to a single input.
Check the G100 Default Input Mappings to ensure that you do not set up one that is already in use, causing a clash.
DI 5 and 6 are in use by default.
These options are available:
Don't set any outputs
Digital Output 1, Digital Output 2:
Set either of these outputs and keep it on for the duration the Input Monitor is active (i.e. to turn on a light or other output) Input
"Buzz" - this buzzes the G100 Internal Buzzer, the buzzer within the RFID reader if connected, and pulses any outputs set up to "Buzzer"
Turn on any outputs set up as an Immobiliser
The Digital Output 1 Parameter Tab is shown below - the Function of your Output must be set to one of the above if you wish to control this output.
Buzzer Beep On/Off Period
The duration of the buzzing - generally leave as default.
Notes and what to be aware of
It is important to consider the ignition digital input when setting up parameters. E.g. if the input monitor needs to be on when an asset is travelling at over 20km/h, AND one of the digital inputs is active - if the vehicle is towed this could be the case.
So ensuring that DI 0 (ignition) is included in the Digital Input Active mask - and Emulated Ignition is Disabled (article) will prevent any potential buzzing during a towing trip.
Digital Input Active + Digital Input Inactive Masks
While it is perhaps not the simplest method, the use of the bit masks enables great flexibility in settings and functionality.
It is possible to set the same values in the Active and Inactive masks - which will result in the monitor being on or buzzing constantly. Take care when setting up your parameters.
Applications and Examples
There are a number of ways to implement seatbelt buzzers. One such way is to set up buzzing on a digital input being inactive, and wiring the high side of the buzzer to the ignition source - so buzzing only occurs when the ignition is on and the seatbelt (as read by a digital input) is not done up.
However this results in buzzing immediately once the ignition is turned on.
Setting up the Input Monitor will allow the vehicle speed to be taken into account.
So for a device with the seatbelt connected to Digital Input 1, which we wish to buzz when travelling at > 10km/h and the ignition is inactive - settings would be
1) Digital Input Active Mask
1 = ....0001 (i.e. Ignition Active)
2) Digital Input Inactive Mask
2 = ...10
i.e. Digital input 1 is inactive.
Digital Output Setup
Turn on an Output when an Input becomes active
For example, when Digital Input 2 becomes active, turn on the Digital Output.
In general, this kind of behaviour can be achieved in hardware when the device is installed via a relay or similar. However the Input Monitor feature can be used to provide this functionality without revisiting the asset.
E.g. - Turn on Digital Output 1 when Digital Input 3 is activated
8 (decimal) = 1000 in binary, (input 3 active)
The digital output must be set to function Digital Output
The input feature can be used to set up advanced alerts.
Some digital inputs such as GPS Jamming, Battery and External Power status can be mapped to virtual digital inputs.
Thus the state of a combination of these inputs can be then again mapped to an input using the Input Monitor.
Then the software platform can simply alert when this mapped input becomes active.