Download Adafruit_FONA

To begin reading sensor data, you will need to download Adafruit_FONA Library from our github repository. You can do that by visiting the github repo and manually downloading or, easier, just click this button to download the zip

Rename the uncompressed folder Adafruit_FONA and check that the Adafruit_FONA folder contains Adafruit_FONA.cpp and Adafruit_FONA.h

Place the Adafruit_FONA library folder your arduinosketchfolder/libraries/ folder.
You may need to create the libraries subfolder if its your first library. Restart the IDE.

We also have a great tutorial on Arduino library installation at:

Wire up and Power!

Insert a micro SIM, attach a GSM antenna, then connect battery and micro USB

Load Demo

Open up File->Examples->Adafruit_FONA->FONAtest

Don't upload the sketch yet!

You'll need to make a simple change to the sketch. At the top find these lines:

#include "Adafruit_FONA.h"

#define FONA_RX 2
#define FONA_TX 3
#define FONA_RST 4

and change them to:

#define FONA_RX  9
#define FONA_TX  8
#define FONA_RST 4
#define FONA_RI  7

Once uploaded to your Arduino, open up the serial console at 115200 baud speed to begin the tester sketch

Make sure you also have Both NL & CR for the serial command sender option. This means when you send data to the Arduino via the console, it will put a newline/return at the end.

Using the Test Sketch

The test sketch has a menu interface so you can test out just about everything the FONA can do. The menu may change slightly as we add more functionality and update code!

Continue onto the next few sections to see what functionality you can test with the sketch

Last updated on Feb 10, 2016 Published on Feb 10, 2016