EasyManuals Logo

STW TC1 User Manual

STW TC1
374 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Page #328 background imageLoading...
Page #328 background image
11 Utilities Tools
User Manual 328/374
EXAMPLES
stw_GetGPS
Status: NMEA
Latitude: 47.862628
Longitude: 10.631297
Altitude: 696
Time: 114713
Satellites: 3
Quality: 1
Warn: A
Speed: 0.00000
Course: 184.39000
Date: 210716
UTC String: 072111472016
stw_GetGPS -a
NMEA 47.862653 10.631265 696 114854 3 1 A 0.03600 41.50000 210716 072111482016
stw_GetGPS -j
{'status':'NMEA','lat':'47.862653','long':'10.631233','alt':'692',
'time':'114934','sat':'3','quality':'1','warn':'A','speed':'0.01800',
'course':'135.99000','date':'210716','utc':'072111492016'}
11.3 stw_ReadACC
NAME
stw_ReadACC - Reads the acceleration values of the internal motion sensor
SYNOPSIS
stw_ReadACC [-h] [-v] [-m] [-d] [-q <NUMBER>]
DESCRIPTION
This application reads the acceleration values of the internal motion sensor
of the device.
It is necessary for the tool to work, that the FIFO mode is enabled.
The motion sensor could be adapted via its config file 'control'.
'cat /sys/bus/i2c/devices/0-0018/control'
power=on [on/off]
powermode=normal [normal/low_power]
fifomode=stream [off/fifo/stream/bypass]
datarate=100Hz [1Hz/10Hz/25Hz/50Hz/100Hz/200Hz/400Hz/1.25kHz/1.6kHz/5kHz]
scale=2g [2g/4g/8g/16g]
setting=default [wakeup/default]
wakeup_threshold=05 (default=10 [05 .. 101])
In order to adapt a parameter of the config file, it needs be overwritten.
Example: set 'scale' to '8g'
'echo "scale=8g" > /sys/bus/i2c/devices/0-0018/control'
For further information, see the User Manual of the device.
OPTIONS
-v, --version
Version number of the daemon.
-h, --help
Usage and options (help).
-d, --debug
Print debug messages and the current motion sensor configuration.

Table of Contents

Questions and Answers:

Question and Answer IconNeed help?

Do you have a question about the STW TC1 and is the answer not in the manual?

STW TC1 Specifications

General IconGeneral
BrandSTW
ModelTC1
CategoryController
LanguageEnglish