The FONA library is under heavy development! This page may change over time!

Download Adafruit_FONA

Open up the Arduino library manager

Search for the Adafruit FONA library and install it

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

FONA 3G Baud Adjustment

If you have a FONA 3G, the first time you use it you may need to run the FONA3G_setBaud example to set the baud rate manually to 4800bps rather than 115200

Load Demo

Open up File->Examples->Adafruit_FONA->FONAtest and upload to your Arduino wired up to the module.

For the FONA 3G, change the constructor used in FONATest to Adafruit_FONA_3G:

// Use this for FONA 800 and 808s
//Adafruit_FONA fona = Adafruit_FONA(FONA_RST);
// Use this one for FONA 3G
Adafruit_FONA_3G fona = Adafruit_FONA_3G(FONA_RST);

For Mega, Leonardo, or Micro, change the definition of FONA_TX to the pin you used!

Make sure you have a charged 3.7/4.2V LiPoly or LiIon battery plugged into the JST and an antenna attached
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

This guide was first published on Jul 17, 2015. It was last updated on Mar 08, 2024.

This page (Arduino Test) was last updated on Mar 08, 2024.

Text editor powered by tinymce.