www.geolink.io
User Manual (1.4.0)
OpenTracker 2.4
19
LEDs
OpenTracker has two LEDs for status indication. The Green LED named NET indicates the network status of
the M95 modem and cannot be used for other purpose as connected directly to the GSM Modem.
The Red LED can be programmed to indicate various information.
Using the LEDs
PWR LED (red)
The power LED can be programmed.
Please see below the Arduino Example:
1.
#include <avr/dtostrf.h>
2.
3.
void
setup() {
4.
5.
//setup led pin
6.
pinMode(PIN_POWER_LED, OUTPUT);
// Set LED as Output
7.
digitalWrite(PIN_POWER_LED, LOW);
// Set LED initially off
8.
}
9.
10.
void
loop() {
11.
12.
// Switch the Power LED
13.
digitalWrite(PIN_POWER_LED, HIGH);
14.
delay(800);
15.
digitalWrite(PIN_POWER_LED, LOW);
16.
delay(800);
17.
18.
}
NET LED (green)
This LED is just used by the M95 modem for network feedback and directly connected to the M95 Pin
NETLIGHT.
State
Module function
off
The module is not running
64ms on / 800ms off
The module is not synchronized with network (no network)
64ms on / 2000ms off
The module is synchronized with network (has network)
64ms on / 600ms off
GPRS data transfer is ongoing