GSE GSatMicro User manual

Specifications
oDimensions: 45mm x 45mm x 34mm including battery, modem and antenna
(OEM version).
o45mm x 45mm x 20mm including battery and modem
oSiRFstarIV GPS with an amazing -163dBm sensitivity
oAES 256-bit encryption supported (optional)
oRechargeable Lithium Polymer battery (2.4 Ah, up to 1000 position reports)
oIntegrated omnidirectional helical antenna (high gain ceramic patch antenna for
OEM model)
oOver the air configuration of terminal
oUSB, RS-232 and Bluetooth connections for programming
oFull 2 way communications network
oBluetooth 4.0 (LE) smartphone connectivity for messaging and configurations
oTruly global coverage with the Iridium satellite network.
Interfaces
oDC Power (6V to 36V DC) @1A max
oUSC Interface (Power, Serial Console/Logging, Firmware Update)
oRS232 Interface (Serial Console/Logging)
oBluetooth 4.0 Low Energy
o2 Relay Outputs @ 250Ma (Open Drain)
o2 Analog Inputs (0V to 30V DC)
Getting Started
Out of the box, your unit should be in off or storage mode. In order to power it up
and start transmitting you will need to hold down the power button until power and
GPS lights "fade up" (dark to bright). When you release the button it will start a
position report cycle. The states of which are described below:
While the unit is powered on, it will go through progressive stages of acquiring,
transmitting, and sleeping, as indicated by the Power and Message LED's.
GSatMicro Operations Manual

1) Upon power up or wakeup from sleep, the Power LED will "fade up" until
initialization is complete, after this the LED will indicate battery state (flashing up to 5
times if the battery is full).
2) Next, when GPS is enabled the GPS LED will fade up until satellites are acquired, at
which point the number of flashes indicates the number of satellites acquired (up to 5)
until a fix achieved, then the LED will stay on, solid.
3) Next, the Iridium modem will be enabled and the Satellite LED will fade up until
signal is acquired. Once iridium signal is acquired, the LED will flash 1-5 times
indicating signal level. The LED will stay on solid once a transmission has been
successful.
4) If only one report or message was pending the unit will then sleep until the next
transmission. On battery all LEDs will turn off. If plugged into an external power source,
LEDs will reflect last state achieved. The last status can be displayed by briefly
pressing the power button if the unit is on battery.
If transmission was successful your unit should appear on the map at its current
location.
See the "Terminal Behavior" section below for more details on button and LED
behavior.
sales@gsat.us : gsat.us

Terminal Behavior
The front interface panel has three buttons and 5 lights. Behavior is described below.
Button Behavior
Button
Description
Power
<1 second: flash LEDs showing last state before sleep
>=1 second: From off/storage, resume transmit/sleep (Power
and GPS LEDs will "fade up" to indicate this will happen when
button is released). From sleep or wake, enter off mode
(power and GPS LEDs will "fade down")
>=10 seconds: From any mode. Enter storage mode (Power,
GPS, Satellite and Message LEDs will "fade down" to indicate
the mode is selected)
Check-in
Set the check-in bit for next transmission.
Configuration
Hold for >=10 seconds (message LED will fade up) to enable
Bluetooth pairing. Hold for >=10 seconds while in pairing
mode to disable pairing (led will fade down)
Check-in+
Configuration
If ALERT mode is disabled, enable (Alarm will flash), transmit
immediately. If ALERT is enabled, disable.
When you depress the Power button for more than 1 second, the unit will either turn
Off if it is currently On and go into a deep sleep without transmitting, or if it is
currently sleeping, will wake the unit and immediately transmit a position.
When you depress the Check-In button WHILE the unit is on, the next successful
transmission report will contain a bit flag indicating that it is a Check In message. This
mode will be cleared once a successful transmission is made. The MSG light will begin
flashing slowly.
When you depress the Configuration + Check In button together for ALERT mode, the
unit will IMMEDIATELY begin transmitting it's current location (even if it was sleeping).
The MSG light will begin flashing rapidly. The unit will also use change the sleep
interval to the value specified by "ALERT sleep" time in seconds indicated in the
!

"settings" function below. To exit ALERT mode, depress the Power + Check In button
together again and the MSG light will turn off again.
LED modes
Power
Description
1-5 flashes
1: 0-19% battery
2: 20-39% battery
3: 40-59% battery
4: 60-79% battery
5: 80-100% battery
When charging between flashes LED will
glow with diminished brightness. When
not charging, LED is off between flashes.
When on external power and battery
>=95% power LED will be solid on.
Fade up
Powering up
Fade down
Powering Down
Off
Off
GPS
Description
Slow flash
Powered, no fix
1-4 flashes
1-4 GPS satellites
5 flashes
>=5 GPS satellites
On
GPS fix acquired
Off
Off
Iridium/ Satellite
Description
Fade up
Radio on, no signal
1-5 flashes
Iridium signal acquired, flash count
corresponds to signal. More flashes,
better signal
On
Transmitted message
Off
Off, or powered with no radio
GPS

Alert (!)
Description
Fast Flash
ALERT mode, cleared on successful
transmit
Off
Not on ALERT mode
Message
Description
Medium Flash
Check-in mode, cleared on successful
transmit
Off
Not in check-in mode
Fade up
Bluetooth pairing enabled (overrides
check-in)
Fade down
Disabling Bluetooth check-in
!

Lua Functions
These options can be sent to the terminal via the "Send Command" function within the
tracking platform, or entered through the RS232 serial connection, or the USB cable
via CDC mode.
NOTE: Commands sent from the tracking platform will not show command output
anywhere other than on the serial console. However, messages can be composed using
the tracking platform’s functions and the Iridium transmit function can be used to send
them.
GPS functions¶
// GPS Power
gps.setpower( {mode} )
NOTE: Iridium modem must be powered on for GPS to get signal
mode:
1: on and initialize
0: off
// Get GPS Time
{second}, {minute}, {hour}, {day}, {month}, {year} = gps.gettime()
{epochseconds} = gps.getunixtime()
// Get Position
{latitude}, {longitude}, {speed}, {altitude}, {course}, {hdop} = gps.getpos()
Messaging functions¶
// Encode position report in Palmer format
{string} = gsattrack.encposition({latitude}, {longitude}, {speed}, {course},
{battery percent}, {minute}, {altitude},
{epochseconds} )
// Encode email/text message
{string} = gsattrack.enctext( {destination}, {message} )
// Encode settings report
{string} = gsattrack.encsettings()

Iridium functions¶
// Power Iridium Modem
iridium.setpower( {mode} )
mode:
1: on
0: off
NOTE: Must be called with mode 1 to enable signal for GPS functionality
// Enable Iridium Radio
iridium.setradio( {mode} )
mode:
1: on
0: off
iridium.transmit( {string} )
string: arbitrary string to transmit over SBD
Example:
iridium.transmit(gps.encode(lat,lon,speed,course,batp,min,alt))
GPIO functions¶
{ variable } = gpio.wakereason()
values:
gpio.UNKNOWN: no matching wake reason
gpio.POWERUP: unit was just powered on
gpio.RESETPIN: unit was reset using the reset button
gpio.WAKEPIN: unit was woken using the wake pin
gpio.RTC: unit was woken by RTC
gpio.POWERCONNECTED: unit was woken when power was connected
Compass functions¶
// Compass heading in degrees
{ variable } = compass.getheading()
// Monitor compass and accelerometer values
{ variable } = compass.setmonitor( {mode} )
mode:
1: on
0: off

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

through the site to the unit will not automatically update fields on the site. "Get Parameters" can be
used
to confirm the current configuration state of the unit.
//Set variable into flash
settings.flash( {setting}, {value} )
//Read variable from flash
{variable} = settings.flash( {setting} )
setting:
settings.sleep // Seconds to sleep when in NORMAL mode (between cycles) (range: 0 - ( 2^31 - 1 ) )
settings.sos_sleep //Seconds to sleep when in SOS mode (between cycles) (range: 0 - ( 2^31 - 1 ) )
settings.g_timeout //GPS Timeout in seconds, default 120 (range: 0 - ( 2^31 - 1 ) )
settings.g_hdop //GPS Horizontal Dilution of Precision needed x10, default 20 (range 0 - 500)
settings.g_settle // Seconds to settle GPS after getting a fix, default 15 (range: 0 - ( 2^31 - 1 ) )
settings.i_tx_timeout //Iridium transmit timeout, default 60 (range: 0 - ( 2^31 - 1 ) )
settings.i_signal_timeout //Iridium signal timeout, default 60 (range: 0 - ( 2^31 - 1 ) )
settings.i_tx_retries //Iridium transmit attempts, default 3 (range: 0 - ( 2^31 - 1 ) )
settings.sleep_w_power // Set to 1 to sleep when on external high voltage
// (does not sleep on USB), default 0 (range: 0=sleep,1=run, count down to
next cycle)
settings.led_mask // mask to mask off LED's, default 0xFF (range: 0 - 255, 0=all off, 255=all on)
Membrane Panel Individual Bits:
bit0: GPS
bit1: Message
bit2: Power
bit3: Satellite
bit4: Alarm
bit5-7: ignored
settings.i_rx_always // keeps radio awake always to receive commands, default 0 (range: 0=off,1=on)
settings.tx_altitude // transmit altitude with position reports (range: 0=off,1=on)
Example:
//Set sleep time between reports to 10 minutes
settings.flash(settings.sleep, 600)
//Print current sleep time
print(settings.flash(settings.sleep))
LEDs¶
NOTE: These functions are currently overridden during normal transmit behavior by built-in functions.
//Set LED
led.led( {led}, {led mode}, {cycles} )
// Set LED with cycles set to continuous
led.led( {led}, {led mode} )
Table of contents


















