The Telit JF2 module draws between 25mA – 50mA when operating (not in hibernate mode), so a coin cell battery is not sufficient to run this board- a lithium polymer battery or USB power is required. The GPS TinyShield includes a local voltage regulator and level shifters, and can operate from 3 to 5 volts.
Upon power up, the GPS is in hibernate mode. To wake up the module, a low-to-high pulse is needed on the ON-OFF pin of the module, which is connected to the Arduino A3 pin.
After waking, the module will start to send NMEA data once per second through the serial data interface attached to pins A0 and A1. This data can be logged directly or the time, date, location, speed, and altitude information can be interpreted and used within your software.
The system can also be put back into hibernate mode with a pulse on the ON-OFF pin again.
These necessary functions along with pin definitions and basic helper functions are provided in a GPS.h header file in each of our examples. Use of this header might look like:
Where gpsInitPins(), gpsOn(), and gpsConfig() are functions provided in GPS.h
Additionally included is the SoftwareSerialZero library for Arduino Zero based platforms like TinyScreen+.
Our basic example shows how to receive and log or display NMEA strings from the GPS module. During startup, the code will try to initialize an optional micro SD card in our standard SD TinyShield. If it fails, it will revert to displaying the NMEA strings. These strings can be viewed in the Serial Monitor: