User’s Manual GalileoSky GPS Lite (0192)
GalileoSky Ltd
Page
43
Discrete-analog input setting
Command format
InCfg_num_in ft,fl,up_low,up_hi,down_low,down_hi,imp_null
Parameters
num_in
– input number, beginning from 0;
ft
– filter type
0 – mean value computation;
1 – pulse count;
2 – frequency count
3 – pulse count from two synchronous connected sensors.
fl
– filter length [1÷50]. It is used for average and discrete signal function;
up_low
– discrete signal triggering lower limit, [mV];
up_hi
– discrete signal triggering upper limit, [mV];
down_low
– discrete signal failure lower limit, [mV];
down_hi
– discrete signal failure upper limit, [mV];
imp_null
– pulses counter behavour: 1 – counter is set to zero, 0 – counter is
continued operation.
Explanation
Allows one of 8 analog/discrete inputs to be configured.
Example
Request: InCfg0 0,10,8000,15000,0,3000,0
Reply:
INCFG0:FiltType=0,FiltLen=10,UpLow=8000,UpHi=15000,DownLow=0,DownHi=3
000, ImpNull=0;
Command format
PowInCfg fl,up_low,up_hi,down_low,down_hi
Parameters
fl
– length of the averaging filter [1÷50];
up_low
– lower limit of a discrete signal response, [mV];
up_hi
– upper limit of a discrete signal response, [mV];
down_low
– lower limit of a discrete signal non-response, [mV];
down_hi
– upper limit of a discrete signal non-response, [mV];
Explanation
Allows configuration of the response limits for external power input.
Example
Request:
PowInCfg 10,8000,15000,0,3000
Reply:
POWINCFG:FiltLen=10,UpLow=8000,UpHi=15000,DownLow=0,DownHi=3000;
Command format
AccVal
Explanation
Obtaining filtered accelerometer mean-square value by three axes.
Accelerometer sensitivity:
min = 555mV/g; average = 600мВ/g; max = 645мВ/g;
where g is free fall acceleration (g≈9.8м/с
2
).
Example
Request: AccVal
Reply: ACCVAL = 625
---------------------------
AccVal = 0.625В. As can be seen, the accelerometer is affected by the gravity
force only.
Transistor output setting
Command format
Out 0,s
Parameters
s
– desired state (0 – on-state transistor output; 1 –off-state transistor output).
Explanation
Transistor output control.
With one output being controlled, the others outputs’ state remains unchanged.
Transistor outputs are off by default.
Example
Request: Out 1,1
Reply: OUT(3..0) = 0010
All outputs except 1 are seen to be on.