Example output:
A#51,-120,-157,-213,-288,48,17168
A#<heading>, <mag. field x>, <mag. field y>, <mag. field z>, <accel x>, <accel y>, <accel z>
Accelerometer
functions¶
// Temperature in degrees Celsius
{ variable } = accel.gettemp()
// Unit orientation
{ variable } = accel.getorientation()
values to compare with:
accel.UP_SX (0x44): Y-low
accel.UP_DX (0x42): X-high
accel.DW_SX (0x41): X-low
accel.DW_DX (0x48): Y-high
accel.TOP (0x60): Z-high
accel.BOTTOM (0x50): Z-low
accel.NA (0x00) : ??
NOTE: need to add diagram here showing orientation of unit and maybe change the
names of these to be more intuitive.
Battery
functions¶
//Battery percentage integer value from 0 to 100
print(bat.getpercent())
//Battery voltage in millivolts IE: 4000 = 4.0V
print(bat.getvoltage())
// Enable/disable periodic battery state logging
bat.setmonitor( {mode} )
mode:
1: on
0: off
Settings
functions¶
These settings can be configured through the "Send Command" function on the GSatTrack site
(found under the down arrow menu for the GSatMicro asset of interest). The "Get Parameters" function
from this screen can request the current parameters stored on the device. Sending parameter
requests
GSat.us • sales@gsat.us • 954-459-4000
sa les@gsa t.us : gsa t .us
Need help?
Do you have a question about the GSatMicro and is the answer not in the manual?