FONA 808 Cellular + GPS Breakout Datasheet by Adafruit Industries LLC

View All Related Products | Download PDF Datasheet
adafruit learning sysmm
Adafruit FONA 808 Cellular + GPS Breakout
Created by lady ada
Last updated on 2018-08-22 03:48:34 PM UTC
2
4
8
8
9
11
11
12
13
14
15
15
16
16
16
17
17
19
19
22
22
24
24
25
25
26
28
28
29
29
29
29
32
33
33
33
35
35
35
36
Guide Contents
Guide Contents
Overview
Obtaining a SIM
T-Mobile & TING
Some suggestions from FONA users!
Pinouts
Connectors
Antenna ports
SIM Connector (on Back)
Bottom Breakouts
LEDs
Other Breakout Pins
Assembly
Attaching Header
Prepare the header strip:
Add the breakout board:
And Solder!
Attaching Antenna & Battery
SIM Card
Wiring to USB
Wire it up
Double Check!
Test Commands
Test Setup
Test Send SMS
Test Call
Wiring to Arduino
Wire up
Arduino Test
Download Adafruit_FONA
FONA 3G Baud Adjustment
Load Demo
Using the Test Sketch
Hardware Test
Battery voltage
Check SIM CCID
Network Test
Check RSSI (network signal strength)
Checking Network Registration
Audio Settings & Test
© Adafruit Industries https://learn.adafruit.com/adafruit-fona-808-cellular-plus-gps-breakout Page 2 of 57
36
36
36
38
38
39
39
40
40
43
43
44
46
49
49
49
49
49
49
49
50
50
50
50
50
50
50
51
53
53
53
53
54
54
55
55
55
56
Set and Get audio volume
Setting Headset or External audio
Playing Toolkit Tones
PWM Buzzer
PWM/Buzzer
Phone Calls
Make Phone Calls
SMS
Send and Read SMS
GPS (FONA808)
GPS Submodule (FONA 808 only)
Raw NMEA out
FONA 808 vs FONA 800
F.A.Q.s
Is a Lipo Battery required? Can I run the FONA off of a power supply or just the microUSB port?
I really want to run my FONA without a Lipoly battery!
Ahh! My FONA was working fine then I sent it some command and its not working right anymore?
I'm using FONA as a voice caller and the other person can't hear me!
My FONA doesn't work with Arduino Due/ADK/101/Galileo/STM32....
Can I charge the battery and use FONA at the same time?
My FONA won't turn on/respond! Or it acts flakey and auto-shuts off sometimes!
FONA 800/808 requires a 2G SIM, does it work with a dual 2G-3G SIM?
Are you sure I can't use ATT for 2G service? I'm in a T-Mobile cold spot
How long can FONA last on my battery?
How do I set the Real Time Clock on the FONA SIM?
I'm using a FONA 808 and the GPS commands aren't working
How do I switch between SMS storage on SIM and in internal FLASH?
I'm trying to reset the FONA with my microcontroller/computer and pulling the RESET pin low via a GPIO isnt
working?
Handy Commands
RI on SMS receipt
Factory Reset
Bluetooth commands
Downloads
Datasheets & App Notes:
Test Reports
Files
PCB Print
Schematic
© Adafruit Industries https://learn.adafruit.com/adafruit-fona-808-cellular-plus-gps-breakout Page 3 of 57
Overview
Cellular + GPS tracking, all in one? Oh yes! Introducing Adafruit FONA 808 MiniGSM + GPS, an all-in-one cellular phone
module with that lets you add location-tracking, voice, text, SMS and data to your project in an adorable little package.
This module measure only 1.75"x1.6" but packs a surprising amount of technology into it's little frame. At the heart is a
powerfull GSM cellular module (we use the latest SIM808) with integrated GPS. This module can do just about
everything
Quad-band 850/900/1800/1900MHz - connect onto any global GSM network with any 2G SIM (in the USA, T-
Mobile is suggested)
Fully-integrated GPS (MT3336 chipset (https://adafru.it/fhj) with -165 dBm tracking sensitivity) that can be
controlled and query over the same serial port
Make and receive voice calls using a headset or an external 32Ω speaker + electret microphone
Send and receive SMS messages
Send and receive GPRS data (TCP/IP, HTTP, etc.)
PWM/Buzzer vibrational motor control
AT command interface with "auto baud" detection
Here's the GPS specifications:
22 tracking /66 acquisition channels
GPS L1 C/A code
Sensitivity
Tracking: -165 dBm
Cold starts : -147 dBm
Time-To-First-Fix
Cold starts: 30s (typ.)
© Adafruit Industries https://learn.adafruit.com/adafruit-fona-808-cellular-plus-gps-breakout Page 4 of 57
Hot starts: 15 (typ)
Hot starts: 1s (typ.)
Warm starts: 28s (typ.)
Accuracy: approx 2.5 meters
Sounds delicious, right? So we plated this fine module onto a little breakout with all the extras you need to make your
next project shine
Onboard LiPoly battery charging circuitry so you can take your project on the go. Use any 500mAh+ LiPoly or
LiIon battery and recharge over the MicroUSB when necessary. Two LEDs let you know when its charging and
done
Standard 4-pole TRRS headphone jack. Use any 'Android' or 'iPhone'-compatible headset with mic
Breakouts for external 32Ω speaker and electret mic if you don't want to use a headphone
Level shifting circuitry so you can run it with 2.8V to 5V logic.
Vibrational motor (buzzer) driver so you can have noiseless notifications
uFL connections for external antennas
Indicator LEDs for power and network connectivity
Standard SIM slides into the back
© Adafruit Industries https://learn.adafruit.com/adafruit-fona-808-cellular-plus-gps-breakout Page 5 of 57
SIHE‘BE! 92 -IBSBE- ZlFGl pr \ MMHIIIIHII IIIIIIIIIIII l“; 3;: fig 5; g a; |||1|l IHIIIIH III‘IIIIIIII m OOOOOOOOOOOOOOOO
On its own, this module can't do anything. It requires a microcontroller to drive it! We suggest and use an Arduino but
any 3-5V microcontroller with a UART can send and receive commands over the RX/TX pins.
You will also need some required accessories to make FONA work. These are not included!
SIM Card! A 2G Mini SIM card is required to do anything on the cellular network. (https://adafru.it/fbO)
Lipoly Battery - 500mAh or larger! This 500mAh (https://adafru.it/drL)battery, or this
1200mAh (http://adafru.it/258) will work great.
MicroUSB cable for charging the battery.
External uFL GSM Antenna - this slim one works great (https://adafru.it/fbL).
(or, if you want to us an SMA antenna - a uFL to SMA adapter cable. (http://adafru.it/851))
External uFL Passive GPS Antenna - like this one! (https://adafru.it/fhk)
© Adafruit Industries https://learn.adafruit.com/adafruit-fona-808-cellular-plus-gps-breakout Page 6 of 57
T“— lane FONA+GPS a ‘ O ada1ru) ' Lauux‘ uim GPS 5D‘ Dam/Umce ’SHS 3 u Livolg‘ fl ‘ ‘ QEQ. durmq use USB Charqmq 1 ESBBmA , 25 55:1 crm Headsex SIM Card ‘ A “(335755 u' .«‘ TEQS' Li? H ccrz swro . . um: no Level Hum: 695 vars Snahm Passur flm._
There's also some recommended accessories. They are not required but chances are you'll want them!
TRRS 4-Pole Headset - Any 'iPhone' or 'Android' compatible (but not iPhone original) should work. We tried about
10 different ones, and basically the more expensive once are more comfortable and louder but our official iPhone
headset mic did not work.
Vibrating motor - the FONA can drive this directly, just solder a mini vibrating motor disc in! (https://adafru.it/dDc)
USB console cable - the microUSB connector is for charging only, but you can wire up a console cable for direct-
connection to the module (https://adafru.it/dDd)if you want to send commands from a terminal (great for testing
and tweaking)
© Adafruit Industries https://learn.adafruit.com/adafruit-fona-808-cellular-plus-gps-breakout Page 7 of 57
Obtaining a SIM
In order to use the phone parts of FONA you will need a SIM card. Luckily, there's a phone store in every town in
America! You can get a pre-paid or post-paid SIM but we kinda like the pre-paid kind.
A 2G Mini SIM card is required to use the module. Nearly any cell phone shop can sell you a SIM card. It must be a 2G
GSM card. AT&T in the US does not sell these anymore! They are shutting down their GSM network, and only T-mobile
sells and supports a GSM network. If you are in another country, chances are you can just ask for a GSM 2G card.
MicroSIMs won't fit - so make sure its a "Mini" SIM. Sometimes these are just called plain "SIM" cards since the huge-
size SIMs are rarely used. Mini SIMs are 1" x 0.6" / 25mm x 15mm. these are by far the most common size.
The only thing to watch for is you need to have a 2G GSM-compatible SIM
If you have an
older
AT&T SIM it
may
work. AT&T announced in 2012 that they would shut down their 2G network
January 1, 2017. The vast majority of M2M (machine-to-machine) cellular devices use GSM, so the 5 year lead time was
to give people plenty of time to migrate from AT&T.
You can read an interesting whitepaper from Aeris about this below:
https://adafru.it/dEh
https://adafru.it/dEh
T-Mobile & TING
T-Mobile does not have any announcement that they will sunset GSM. We can't speak for them but we expect at least
5 years warning as well, probably they will never fully sunset since there's millions of machines with GSM connectivity.
In the US, AT&T no longer sells 2G SIMs! We suggest T-Mobile or T-Mobile "distributors"
© Adafruit Industries https://learn.adafruit.com/adafruit-fona-808-cellular-plus-gps-breakout Page 8 of 57
Adafruit now sells the TING SIM card, a 2G GSM SIM that works great with all FONAs, and has a great billing system as
well, where you only pay what you use!
If you don't want to use TING, there are dozens of T-Mobile resellers such as Walmart, SIMPLEMOBILE, etc! Just ask
the seller if its AT&T or T-Mobile network. If they get cagey just say your apartment has no AT&T coverage.
Some suggestions from FONA users!
I've had good luck using the FONA with a SIM from Walmart. Their 'Walmart Family Mobile' is a T-mobile reseller
and you can pick up the SIM starter in store pretty easily (https://adafru.it/dEi). The service isn't the cheapest, it's
$25 for the SIM and $30/month for unlimited talk+text or $40/month for unlimited talk+text+data but there's no
contract as its all prepaid -tdicola
Just want to let the Adafruit team know that it is possible to get pre-paided minutes on T-Mobile and its a pretty
good deal. I was paying $100 for 1000 minutes (10c a minute 20 a sms) over the course of the
year. (https://adafru.it/dEj) For me it in my usage came out to about $8 a month. Have found this is something that
you have to ask for at the store. No evidence in advertising or website -Paul B.
Telna has a good deal you may want to point people to for FONA. I used them for a previous GSM project and
they worked great. $20 per year, includes 1000 free txt messages and a bunch of other nice features.
(https://adafru.it/dEk)I had a lot more issues with T-Mobile (Their cards go inactive if not used in a month and you
have to call to reactivate) -Tyler C.
I pay 2 EUR (a bit less than $3 USD) for 2 hours, unlimited SMS and 50Mb of Data at
http://mobile.free.fr/ (https://adafru.it/dEr) -KTOWN
There are specialty "machine 2 machine" SIM sellers that have plans that are tuned for the short bursts of usage
used by these kinds of modules. Check out these guys (https://adafru.it/vQA) for example, you can choose data,
You do not need to bring in or show your FONA to the Cell Phone store. Just tell them you need a Mini SIM
for a GSM phone and it's at home.
© Adafruit Industries https://learn.adafruit.com/adafruit-fona-808-cellular-plus-gps-breakout Page 9 of 57
voice/sms or a combinafion for a preny low price}
voice/sms or a combination for a pretty low price!
Hi, just a update to let you know I have just begun to use the Fona, SIM from ROGERS, which is 2G, 3G, ang 4G. I
pulled my sim out of my phone, and it works well. So if you have Canadians that want to use that product, let
them know it works on the west coast ! You can go to Rogers website and see the coverage map and services. -
Steve C
We haven't tried all of these SIMs so you may need to try it out. For other countries, GSM is very common so you
should be able to buy a SIM from any cell phone store.
© Adafruit Industries https://learn.adafruit.com/adafruit-fona-808-cellular-plus-gps-breakout Page 10 of 57
W=WO:C> Ililo. SINEHBE: 62~19686 FBI E'H F8615 mama WWWWMWW :I I up I ‘T .1 .fi? 0 n m c.- a — — — — - - — — - — 5%00050000000000
Pinouts
There's a lot packed into the FONA MiniGSM, lets go thru all the pins, buttons and indicators and what they do
Connectors
There's three external connectors along the left side, from the top, a mini JST 2-pin, a microUSB and a headphone
jack.
JST 2-pin - this is the battery input connector. It works with any of our Lipoly batteries but since the charge rate is
500mA (and the cellular module can spike high current draw!) we suggest our 500mAh (https://adafru.it/drL) or
1200mAh (http://adafru.it/258)batteries. You can also connect a JST cable here if you have other
plans. (http://adafru.it/261)
MicroUSB connector - this is the LiPoly/LiIon battery charging port. The SIM808 has a USB interface but its ONLY
for reprogramming the module with an expensive and unavailable IDE. So charge only! The charge rate is
500mA max.
Headset jack - this is a 'standard' TRRS 3.5mm phone headset jack with stereo earphone and mono
microphone. Any 'iPhone' or 'Android' compatible (but not iPhone original) should work. (https://adafru.it/fbK) We
tried about 10 different ones, and basically the more expensive once are more comfortable and louder but our
official iPhone headset mic did not work for unknown reasons. Sleeve is Mic+, first ring is ground, then the
second ring and tip are for stereo audio. The module does not have stereo out so we just tied both together.
© Adafruit Industries https://learn.adafruit.com/adafruit-fona-808-cellular-plus-gps-breakout Page 11 of 57
Antenna ports
Up top is the place where you can plug in your GSM antenna. An antenna is required to use the module for any kind
of voice or data communications as well as some SIM commands!
You can either use a uFL GSM antenna like this (https://adafru.it/fbL), or use a uFL to SMA adapter (https://adafru.it/fbM)
and then an SMA antenna (https://adafru.it/fbN)
On the right is a GPS antenna port. This is for a passive 50 ohm GPS antenna only!
© Adafruit Industries https://learn.adafruit.com/adafruit-fona-808-cellular-plus-gps-breakout Page 12 of 57
I Ifi'o O Sum—”‘1 FONEHGDS c Qr-‘Enn GS” GEL-Phone uim BPS SD‘ ‘ O i Dam/once/SHS l 3 u LiDclgj fl‘ 3 Jet}. durmq us? 4 h l usa Charqmq L) z I ESBBMH 25 55:1 arm Headsm 5m Card was UL” “£3357“ u' .«‘ ' ccrz emu I . Um: m Level 375w: uvwvyvvgvuv>~u-,g
SIM Connector (on Back)
A 2G Mini SIM card is required to use the module. Nearly any cell phone shop can sell you a SIM card. It must be a 2G
GSM card. AT&T in the US does not sell these anymore! They are shutting down their GSM network, and only T-mobile
sells and supports a GSM network. If you are in another country, chances are you can just ask for a GSM 2G card. For
USA customers, we have a known-working TING SIM card which has a great billing system and works very
well! (https://adafru.it/fbO)
MicroSIMs won't fit - so make sure its a "Mini" SIM. Mini SIMs are 1" x 0.6" / 25mm x 15mm. These are by far the most
common size.
Most cards come with a voice and/or data plan. If you want to make phone calls and SMS's you'll need a voice plan. If
you want to transmit data like fetching a webpage, you'll need a data plan.
© Adafruit Industries https://learn.adafruit.com/adafruit-fona-808-cellular-plus-gps-breakout Page 13 of 57
SIHE‘BE! 92 -IBSBE- ZlFGl pr \ MMHIIIIHII IIIIIIIIIIII l“; 3;: fig 5; g a; |||1|l IHIIIIH III‘IIIIIIII m OOOOOOOOOOOOOOOO
Bottom Breakouts
The most important pins are broken out at the bottom of the board. Not all of these are required, but they are all hella
useful
These are in rough order of most important (not in linear order like we usually do)
These pins are all 3-5V input safe and if they are an output, the logic level is whatever Vio is set to.
Vio - THIS IS THE MOST IMPORTANT PIN! This is the pin that you MUST drive with an external voltage from 3V-
5V to set the logic level converter. The converter also buffers the indicator LEDs so NOTHING will appear to
work unless this pin is powered! You should set the voltage to whatever voltage your microcontroller uses for
logic. A 5V micro (like Arduino) should have it be 5V, a 3V logic micro should set it to 3V.
Key - This is also a super important pin (but not as important as Vio). This is the power on/off indicator. Its also
tied to the button in the top left. Tie this pin to ground for 2 seconds to turn the module on or off. It's not a level
signal so it isn't like "low is off, high is on" - instead you must pulse it for 2 seconds to turn off/on. The module
comes by default off. Tie this permanently to ground if you never want your micro to turn off the FONA for power
saving
5V - this is the USB 5V from the microUSB connector when its in and powered. Good if you need to know when
the microUSB is plugged in and/or want to recharge the battery from an external plug.
PS - this is the Power Status pin. It is low when the module is off and high when the module has power. If you're
using the Key button or pin, you can monitor this pad to see when the module's booted up. This is tied to the Pwr
LED too.
NS - this is the Network Status pin. It pulses to signal the current status of the module. This is also tied to the Net
LED so for more detail see the LEDs section below.
Reset - this is module hard reset pin. By default it has a high pull-up (module not in reset). If you absolutely got
the module in a bad space, toggle this pin low for 100ms to perform a hard reset.
RX & TX - OK now that I made you read all that you can actually use the UART pins. The module uses UART to
© Adafruit Industries https://learn.adafruit.com/adafruit-fona-808-cellular-plus-gps-breakout Page 14 of 57
send and receive commands and data These pins are autorbaud so whenever baud me you send "AT" after
send and receive commands and data. These pins are auto-baud so whatever baud rate you send "AT" after
reset or boot is the baud rate is used. RX is into the module, TX is out of the module.
RTS - this is the hardware flow control pin. If you turn on flow control on the SIM808 you can use this pin to stop
and start data transfer
from
the SIM808 to your microcontroller
RI - this is the Ring Indicator. It is basically the 'interrupt' out pin from the module. It is by default high and will
pulse low for 120ms when a call is received. It can also be configured to pulse when an SMS is received.
SPK+ and - : This is for connecting an external 32 ohm speaker. This is shared with the headphone jack. The two
pins are differential so they don't have output DC blocking capacitors. You cannot connect this to a stereo,
powered speakers or other non-differential amplifier without adding a 100uF+ blocking cap in series to the + pin
and then not using the - pin. Instead, your amp should use GND for the - reference
MIC + and -: this is for connecting an external electret microphone, it will bias the mic with 2V. Most electrets will
work just fine. No extra circuitry is required for the mic such as a biaser or amplifier, just wire it up directly!
LEDs
PWR - Blue! Lit when the module is booted and running
NET - Red! You can use this for checking the current state without sending an AT command:
64ms on, 800ms off - the module is running but hasn't made connection to the cellular network yet
64ms on, 3 seconds off - the module has made contact with the cellular network and can send/receive voice
and SMS
64ms on, 300ms off - the GPRS data connection you requested is active
By watching the blinks you can get a visual feedback on whats going on.
Charging - Orange! This is next to the microUSB jack. Indicates the onboard lipo charger is charging
Done - Green! This is next to the JST jack. Indicates that the battery charging is done and the battery is full
Other Breakout Pins
We scattered a few other breakouts around the board.
Buzzer and PWM (Top right) - These are tied to the PWM output of the module! The PWM capability is quite nice,
it can set any frequency and duty cycle. The PWM pin is directly output from the module and is 0-2.8Vpp. The
Buzzer output has a NPN drive transistor so it can run a small vibration motor. Bz+ is the VBat voltage, Bz- is
toggled on and off to ground.
ADC (left middle) - the SIM800 has an ADC that can read 0-2.8VDC from this pin, referenced to ground. It also
has an internal battery ADC so you can use this for a sensor or something. You can query the voltage from the
UART. 2.8V max, people!
2.8V test point - We have a test point for the 2.8V internal regulator, its off to the right.
© Adafruit Industries https://learn.adafruit.com/adafruit-fona-808-cellular-plus-gps-breakout Page 15 of 57
nnrm \ WI‘H
Assembly
Attaching Header
Prepare the header strip:
Cut the strip to length if necessary. It will be easier to
solder if you insert it into a breadboard - long pins down
© Adafruit Industries https://learn.adafruit.com/adafruit-fona-808-cellular-plus-gps-breakout Page 16 of 57
Add the breakout board:
Place the breakout board over the pins so that the short
pins poke through the breakout pads
And Solder!
Be sure to solder all pins for reliable electrical contact.
(For tips on soldering, be sure to check out our Guide to
Excellent Soldering
(https://adafru.it/aTk)
).
© Adafruit Industries https://learn.adafruit.com/adafruit-fona-808-cellular-plus-gps-breakout Page 17 of 57
You're done! Check your solder joints visually and
continue onto the next steps
Attaching Antenna & Battery
A battery, GPS antenna and GSM antenna is required! Use any Lipoly or LiIon 3.7V/4.2V battery
© Adafruit Industries https://learn.adafruit.com/adafruit-fona-808-cellular-plus-gps-breakout Page 18 of 57
Check polarity for the battery!
Snap the uFL connector on, it will click when placed properly
SIM Card
You must insert a SIM card to do anything but the most basic tests. GPS does work without a SIM but of course you
cannot send or receive texts, calls, etc!
The SIM card holder is on the back. It holds a very-
standard "Mini SIM"
Micro SIMs will not work! Make sure you get a "Mini
SIM"
© Adafruit Industries https://learn.adafruit.com/adafruit-fona-808-cellular-plus-gps-breakout Page 19 of 57
EQFIR © 3.7m u may». Mn :hqu‘ B
Open by sliding the cover towards the antenna
Insert the SIM with the gold pads facing up and the
notch on the outer corner
Close the hinge down and slide the cover to lock it in
place
© Adafruit Industries https://learn.adafruit.com/adafruit-fona-808-cellular-plus-gps-breakout Page 20 of 57
© Adafruit Industries https://learn.adafruit.com/adafruit-fona-808-cellular-plus-gps-breakout Page 21 of 57
Wiring to USB
If you have a USB console cable you can wire it up directly and send commands using any Terminal software
For Windows, we suggest Putty (https://adafru.it/aUb)- it's free and open source!
Wire it up
In this example, we're using our USB console cable.
You will have to install the PL2303 driver and determine the COM port before you continue.
© Adafruit Industries https://learn.adafruit.com/adafruit-fona-808-cellular-plus-gps-breakout Page 22 of 57
Elk Adin- gim nap fifilfi‘flfi‘fi 4a MICK L. q-‘J Cmnwnn L» U Dam L» “A Display mamas L .3 DVD/cn-koMaim L. a; Human Waubevks L g DEATHATAPIwm-olus L .2. Keyboards L» U “(zinddfllupoimingdlvks L a mum D i‘ mam . '31 Vomtcoualm '? Mninn "Mo K; (comm ‘ W Cnmmunkaficns Pun (com) ‘ V? mm USE—MW Comm nun (com) C L B Plum L. q‘ Sound. video and gain: cumulus H L Q span devius L 5 IhivuszlSaii summons; H I "Marmara-A - mama-mm Mmmmmhmb Suit! mms my": [Mag (11“ Quag- LoadV-leurddugl‘uedw sings—n mmmsm
Connect to that COM port at 8N1 (8-bit, no parity bit, 1 stop bit) at 9600 baud. You can actually use any baud rate and it
will autodetect but 9600 is supported by any terminal program!
© Adafruit Industries https://learn.adafruit.com/adafruit-fona-808-cellular-plus-gps-breakout Page 23 of 57
Q coMlg , omv
Double Check!
1. You have a Lipoly battery plugged in to the FONA JST
2. You have a working 2G SIM installed in the back
3. Connect Black wire to GND
4. Connect White wire to TX
5. Connect Green wire to RX
6. Connect Red wire to Vio
7. You may need to hold down the KEY button for 2 seconds until the PWR LED is lit and the NET LED blinks
Test Commands
The FONA will
echo
characters back so you can see what you're typing - very handy!
Start by initializing the auto-baud'er by sending AT and then return
You may have to try it twice to get it to auto baud. Once it works you should see the AT characters echo and then OK
telling you its OK!
You can then send some commands to query the module and get information about it such as
© Adafruit Industries https://learn.adafruit.com/adafruit-fona-808-cellular-plus-gps-breakout Page 24 of 57
ATI , Get the modu‘e name and revision E? con , PuTTV I:- w E' \
ATI - Get the module name and revision
AT+CMEE=2 - Turn on verbose errors (handy for when you are trying out commands!)
AT+CCID - get the SIM card number - this tests that the SIM card is found OK and you can verify the number is written
on the card
Test Setup
Some tests to verify the setup
AT+COPS? Check that you're connected to the network, in this case T-Mobile
AT+CSQ - Check the 'signal strength' - the first # is dB strength, it should be higher than around 5. Higher is
better. Of course it depends on your antenna and location!
AT+CBC - will return the lipo battery state. The second number is the % full (in this case its 92%) and the third
number is the actual voltage in mV (in this case, 3.877 V)
Test Send SMS
Finally, you can try to text your phone! Sending an SMS is pretty darn easy.
If your SIM card is locked with a PIN code, you will need to enter the pin before you can connect to a network
via the 'AT+CPIN' command. For example if the pin is 1234 you need to enter 'AT+CPIN=1234".
© Adafruit Industries https://learn.adafruit.com/adafruit-fona-808-cellular-plus-gps-breakout Page 25 of 57
o AT+CMGF:1rth\5 wm set it to TEXT mode no‘ PDU (data) mode, Vou mus‘ do this because otherwwse you cannot
AT+CMGF=1 - this will set it to TEXT mode not PDU (data) mode. You must do this because otherwise you cannot
just type out the message.
AT+CMGS="nnnnnn" - send a text message! You will get a '>' prompt for typing. Type out your message and
when you are done send a [Control-Z] on an empty line to send
It may take a few seconds after the Control-Z character for the module to send the SMS (you'll get a +CMGS) and verify
it was sent (OK reply)
Test Call
You can also make a phone call, you must have a headset attached to the 4-pole 3.5mm headset connector, with a
mic!
To call, dial
To call, dial ATDnnnnn; Don't forget the ; at the end!
If they pick up you'll hear it in the headset, if no pickup, you'll get a NO CARRIER return
Once you are chatting, you can hang up by sending ATH
© Adafruit Industries https://learn.adafruit.com/adafruit-fona-808-cellular-plus-gps-breakout Page 26 of 57
g COMIQ , vmv
© Adafruit Industries https://learn.adafruit.com/adafruit-fona-808-cellular-plus-gps-breakout Page 27 of 57
\ may: rug-g . M... n...- _
Wiring to Arduino
Wire up
After soldering headers to the FONA module, plug it into a breadboard. We'll use an UNO, other Arduinos may be
different
Vio connects to 5V (or, with a 3V logic Arduino, 3V)
GND connects to GND
Key connects to GND (always on)
RX connects to digital 2
TX connects to digital 3 (9 on Leo/Micro, 10 on Mega)
RST connects to digital 4
We'll be using software serial to talk to the module. The Mega ('2560 based) can't use Digital 3 for FONA TX, so use
digital 10 instead. The Leonardo and Micro ('32u4 based) can't use digital 3 for FONA TX, so use digital 9 instead. See
this page (https://adafru.it/efC) for other pins you can use for FONA TX (SoftwareSerial Receive) on the Mega,
Leonardo, and Micro.
At this time we don't have support for Hardware Serial to talk to the FONA
© Adafruit Industries https://learn.adafruit.com/adafruit-fona-808-cellular-plus-gps-breakout Page 28 of 57
Arduino Test
Download Adafruit_FONA
To begin reading sensor data, you will need to download Adafruit_FONA Library from our github
repository (https://adafru.it/dDC). You can do that by visiting the github repo and manually downloading or, easier, just
click this button to download the zip
https://adafru.it/dDD
https://adafru.it/dDD
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:
http://learn.adafruit.com/adafruit-all-about-arduino-libraries-install-use (https://adafru.it/aYM)
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:
For Mega, Leonardo, or Micro, change the definition of FONA_TX to the pin you used!
The FONA library is under heavy development! This page may change over time!
// 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);
© Adafruit Industries https://learn.adafruit.com/adafruit-fona-808-cellular-plus-gps-breakout Page 29 of 57
5A Inmates! 1 Ammo 105 AdfiNILBMPOSLUMud » , a ‘ M i \ e in 5mm Tums Hz‘p _ Mi'm'LSWW ’ AdmmLstaLunmm N... cm.N open .. cm~u AszluIL(APllBE » Amnuuam s “WM“ ’ AdaththariuelOLED > . hawk-i ’ Adlhmlflslflolal’xxel » 0°“ cmw Adlhullfmgupnm > L 3M (""5 Ad [flulapxxel > Sm A; .. cm ~ 5mm 5 AdahwthNA ‘ FoNAres‘ Uplm cm v u Adaimfl_FRAM_lZ( ' Upload Usmg Plugummu cmsmw “ammunsm » piglsmp cmsnrmp AdznuILGPSWZ » , fl ‘ m cm ‘ p AdahunLGPS > Adahull_GSll§8x » Pvdulntu cm v :omm Ad;(:u|x_HMC5883_U » ‘ QM ("no : , , Ad-vm«_lmzlo » , ‘ - Adiimnvlmiu v ‘ Admuuume » ‘ ‘ ‘ ‘ ‘ Ad-hunJNA » ‘ Ada(:ull,LSGDZD » .wm. “mu".nm. w. u uunw- ‘ ‘ 5920663856 oo’éé .710er m 9 .‘1 410 - 5.73;“ xzoo—Ah . 3-») 20130426
Make sure you have a charged 3.7/4.2V LiPoly or LiIon battery plugged into the JST and an antenna attached
© Adafruit Industries https://learn.adafruit.com/adafruit-fona-808-cellular-plus-gps-breakout Page 30 of 57
Once uploaded to your Arduino, open up the serial console at 115200 baud speed to begin the tester sketch
© Adafruit Industries https://learn.adafruit.com/adafruit-fona-808-cellular-plus-gps-breakout Page 31 of 57
pm: 1:11): um run me no: (LIV m) mad 0.: [hungry v and nu: ma 0cm mad I551 WE: Newark status :2: mm: Volune 57!: Vol“: ser. lemming mun gar. mm.) Audit: 91“ amino Tune mm in India mm: at: m Pill/Bum: an: nab: phnue 0.11 Hang up um: mm: at SIS: um SIS t km 111 :45 Helen: 5145 6 5m: 545 emu Serial puma: mane)
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
© Adafruit Industries https://learn.adafruit.com/adafruit-fona-808-cellular-plus-gps-breakout Page 32 of 57
. 1: can 'xinq....[lhy mm 3 m) m Prim: uni: menu [A] rem m m: (LIN m) lb] rend ch: unwary v [c] run me an can m and 11551 In! gel: Network nut“: [v] 5:: audio Volta: [V] gel: value [x] m Wang audio [:1 sec mum main [1] play audio Tun: m) C 5114 0cm - aamzsou- a m) ' Elma-ml MIL-m - 1mm-
Hardware Test
Battery voltage
Lets begin by reading the battery voltage. That's the lipoly battery. This is handy if you need to track when the battery
is low! type b into the command window and hit Send
You'll see a print-out of the battery voltage in mV, so in this case its 3.726V
Check SIM CCID
You can verify that the SIM is inserted and correct by reading the CCID, which is the unique identifier printed on it with
C
© Adafruit Industries https://learn.adafruit.com/adafruit-fona-808-cellular-plus-gps-breakout Page 33 of 57
© Adafruit Industries https://learn.adafruit.com/adafruit-fona-808-cellular-plus-gps-breakout Page 34 of 57
ISSI - 1|): >94 an Inn) EVA-m mum um: xequxed (mm) m: mannered (searching) Em: maimxed (seaming) unissued (In-e) W (lull
Network Test
Check RSSI (network signal strength)
You can ask the FONA for the signal strength with the command i. The reply is a number, but you can convert it to
dBm. Try to have the signal strength higher than 5 in order to make calls, SMSs, etc. In this case, I've got a 10
Checking Network Registration
If the FONA has good signal it will immediately try to locate a cell tower and register to it.
You can check the status of the network with n
Once it's Home Registered, give it like 5-10 more seconds before trying to access/send SMS's or phone calls.
© Adafruit Industries https://learn.adafruit.com/adafruit-fona-808-cellular-plus-gps-breakout Page 35 of 57
Audio Settings & Test
Set and Get audio volume
You can set the audio volume with v and retrieve it with V - its in % so ranges from 0 to 100
Setting Headset or External audio
There are two audio paths on the FONA. One is the headset, thru the 3.5mm audio jack. The other is "external" - using
the two speaker and mic pins for wiring up external speaker and mic. FM audio, phone calls, tones, etc can be routed
to one or the other.
To set the audio to headset, use the command H
To set the audio to external, use the command e
Playing Toolkit Tones
You can test the audio path with the toolkit tones. These are tones that mimic what some phone services sound like.
For a full list of tones, you can check the AT+STTONE command in the AT command datasheet. We'll use tone #20
which is the American dial tone.
You can switch to headset mode, play a tone, then try it on the external audio mode. This is a very easy way to try out
both speakers for debugging
Note the FONA 808 only has Headset audio, so setting External audio wont do anything. The Feather FONA
does not have headphone brought out, so use external only!
© Adafruit Industries https://learn.adafruit.com/adafruit-fona-808-cellular-plus-gps-breakout Page 36 of 57
may can: an OK!
© Adafruit Industries https://learn.adafruit.com/adafruit-fona-808-cellular-plus-gps-breakout Page 37 of 57
Pm [11:1, 0 - Off, (1-2000): 1000 n = 01:. (14mm): n
PWM Buzzer
PWM/Buzzer
There is a single PWM output pin that you can use to control a Piezo or a vibrating motor. The datasheet is a little
unclear on how to use it in 'PWM' mode where you have full frequency and duty cycle control. In the mode we're using
it, you can set the frequency from 1-2000 Hz and it will have 50% duty cycle. The PWM pin is the straight-from-the-
module output, 2.8Vpp. The Buzzer pins have a PNP driver, so you can use it with a motor buzzer and power from the
lipoly battery.
PWM Buzzer is available on the FONA800 and 808 Breakouts and Shields
© Adafruit Industries https://learn.adafruit.com/adafruit-fona-808-cellular-plus-gps-breakout Page 38 of 57
Phone Calls
Make Phone Calls
OK now we're onto the good stuff. You can make a phone call with FONA pretty easily. Make sure you have the right
audio interface selected (external or headset!) before you go forward
Make a call with c - the call happens in the 'background'. When you're done then you can hang up with h
© Adafruit Industries https://learn.adafruit.com/adafruit-fona-808-cellular-plus-gps-breakout Page 39 of 57
m1). Send to "0404 m! on: mun: nus-a: (up m2) : my Sent!
SMS
Send and Read SMS
Another easy thing you can do is send and receive SMS messages. Lets start by sending an SMS. We'll use twitter's
40404 short code, which will auto respond, making it easy to verify both sending and receiving
You
can
send multi-line SMS's using the library API but for this example, its easier to parse the data if its a single line!
You can then ask the SIM how many SMS's it has with N and read all of them with R
Note that SMS's are referred to by slots but the number does not include empty slots. We'll show this in detail in a bit
© Adafruit Industries https://learn.adafruit.com/adafruit-fona-808-cellular-plus-gps-breakout Page 40 of 57
mun-q 5145 n um :45 n m) hyte: mu Thank m for choosinv Sinai: mum ‘10-]! while nun-bu i: 1545: W ” I2 um as .2 [155) mn mu m lug/an:- uou Ipply. a“... an. 345 .3 (155. ms nu. Tex: at this name: an men. kply w] mm or.) quit. kph V/ jun LIE mind for MID.
You can read individual SMS's with r
And delete SMS's by slot # with d
© Adafruit Industries https://learn.adafruit.com/adafruit-fona-808-cellular-plus-gps-breakout Page 41 of 57
Note that before I deleted SMS #2, so if I read them again, that SMS # will be an empty slot. SMS number #3 doesn't
"move slots"!
© Adafruit Industries https://learn.adafruit.com/adafruit-fona-808-cellular-plus-gps-breakout Page 42 of 57
masmim mum: o,um.smssmnmmm.“ mammamzmu mm.n.n.uuu.m.uzm may a nun: “Jeanne,nummmmmmmmmx.m:,ammus.m¢.mm momma).unmumo,5m«ms.mmomusmoo,u,n.ms«m,mum“ m Ila-nu The data is in a comma-seperated format:
GPS (FONA808)
GPS Submodule (FONA 808 only)
The FONA 808 has a built in GPS module, you can use it for locating yourself in space! You will need to attach a GPS
antenna to the uFL connector and make sure the GPS antenna is outside and pointing up to towards the sky
You can start out by turning on the GPS module with O (capital-o) and query the status of the 'fix' with x. It will take a
minute or two to get a fix.
On FONA808 v1's the commands follow the AT+CGPSxxx pattern, on the v2's the commands are similar but look like
AT+CGNSxxx
Once you have a fix you can query and get the location/time data with L
The data is in a comma-seperated format:
0,4043.576433,7400.316980,58.647405,20150601201258.000,64,12,0.548363,100.442406
Can be parsed out to:
Make sure to use a PASSIVE GPS antenna!
© Adafruit Industries https://learn.adafruit.com/adafruit-fona-808-cellular-plus-gps-breakout Page 43 of 57
n - this is the mode (will be 0)
0 - this is the mode (will be 0)
4043.576433 - this is the longitude
7400.316980 - this is the latitude
58.647405 - this is the altitude in meters
20150601201258.000 - this is the UTC time in yyymmddHHMMSS.ms format. E.g. this is year 2015, month 06, date
01, 20 hour, 12 minute, 58 seconds. If you are not in UTC timezone you'll have to adjust this for your local time
64 - is the ttff, time to first fix, in seconds
12 - is the # of visible satelites
0.548363 - is the speed (in knots)
100.442406 - this is the best guess for 'course', e.g. which way you are heading, with 0 being 'north' and 180
being 'south' (we think)
Raw NMEA out
If you want to get the 'raw NMEA' data for some reason, you can do that with E
On V1 FONA808's you can send a number from 0-255 indicating which sentences you want emittted.
0 for disable output
+2 for $GPGGA
+4 for $GPGLL
+8 for $GPGSA
+16 for $GPGSV
+32 for $GPRMC
+64 for $GPVTG
+128 for GPZDA
e.g. if you want to see GPRMC and GPGGA, add +32 and +2 = 34 and put in that number. Then you'll see the data
stream out at 1Hz
On V2 FONA's you can only select 'on' or 'off' and get all sentences!
People often get confused because the GPS is working but is "5 miles off" - this is because they are not
parsing the lat/long data correctly. Despite appearances, the geolocation data is NOT in decimal degrees. It
is in degrees and minutes in the following format: Latitude: DDMM.MMMM (The first two characters are the
degrees.) Longitude: DDDMM.MMMM (The first three characters are the degrees.)
© Adafruit Industries https://learn.adafruit.com/adafruit-fona-808-cellular-plus-gps-breakout Page 44 of 57
ran) 1 m in cum: “mum w . on. u . new, 255 - .mzss ---> warm-255 < or="" m»="" 56mflmu9man,ann.57as‘l.07mm29m.n,lm.a.l9,55‘9,m-n.zm,,‘82="" 55m,coitsvusum,mm,zauuosmfiuua‘ow,="" ,r-u="" inm,|,3.n,u.ol,u,l1.15,n1,27,:u.u1...l.u,o.u,u.7u-07="" ssstj,i,12,u7.67,lsn.12,1).55,uml,3n,63,n!,21,a|,sz,u|.zs-71="" ssmsv,:,1,u,xs,«,ola,u,m.u,154.16.23.3t,zse,n,27,15,051,31-71:="" sansv,a,a,u,13,11,115,1i,n,ot,zsllu,1‘,nzlnil..nl,n2,zn:.‘n="" semamus‘aoa="" “cum“.nunmsoswmammmmmus.”no="" ssm,xomo,r,="" mun.="" yd.n00,l(.l'sr="" 1="" :5!an="" zolu!.nca,01,ne,zols.="" no,="" new="" mmnusnmuu,wu.s7u§,l,07|un.29ui,i,l1n,u="" n,ss.s,u,-u.z,n,.'n="" mm.="" cau‘s'msumntau.nanommanusmnno,n.n‘19="" ssm,n,s.u,u,ox.u,11,2-.n¢,21.su,n1="" .mm="" m="" u-w="" “pams.1,12,07j7jn,u,u,u,|u.«,w.6xus.zz,="" ammo-7r="" 59m.s,z,12.u,u,ma.u,ox.u,15:,25,z:,3|,1!mis,21.)s,nsn.32-7n="" may,“="" nummxs="" zi,i1.oa,zsl.2:,ii.nz,nss,,os.nz,zos.~71="" ;am,:ansn.naa.1,nu.="" svnsm,nunmmm,n.ano,m.2a,nmns,”m-="" semgamadj-="" ,o.ann,l,o.nno,k,a-u="" haunt,="" :ausu.noo,o:.ns,zo|s.na,="" na-ss="" wm.2ous:.aco.m:.svos,u,cmn.zsna.i.l1n,o.as,ss.s.u,-u.2,n..'a="" mm.«mlsusumnlamzsnlaim,2nusn.ndn.a,a-7i="" ssm,n,:,u,u,m,u,xxx-mums,“="" ,lxsm‘asmne'nw="" :spesv,:,x.u,n7,cv,m="" 1.1).“,"5.“,30.53,133.23,“,52ahjd‘7i="" mums.z.u,u.u,uu.as,ux,u,mamumaumav.“mum-7c="" ssmsv.:,s,x2,n,:2,us.zc,moa,m,u,xc,oz,an.,os.nz.zos,nn="" 55m,zonsmao,»mas-mm,nuamsoemn.noo,m.zo,oauus,="" «a="" nmc,m.zm,.n,n.nna,="" ,n.noa,x,»as="" sagzuizaugynoa.augmmsme,na-sav="" imam;="" v="" semimancomm:janamummmmnls,x.n-,sm.n,-="" .="" 2mm”="" serum.102929.noo,a,4uu.ssos.n.anomuumo.noo,99.1s,omu§="" ,ms="" samznmn.nan,4nu.s;ax,x,ammmmm“my="" ,x="" 41.1.11,="" .51="" immznmmnnmum="" saoammmmmmmoo,"="" ‘smonsumu="" 55m.152951.nan,wilsmjjamwjdl£1.149.1.m,51.4,k,="">:I,1.Ky ’5: ssmc,za2m.uao, .anu.ssus.u,ammnum,n.aoo,sy.1s,mns ,wn wroawozumwo.wu.sws,l,cuuu.3x91.u,1.s,|470,974.)! -u.2,u. -su smugzuzm.uau.n,mu.san:,n,nunmm,n,u.nun,ss.nsmms ,m: z 5:: Mn cum: “nun“: w - m. u - mm, 255 - um - -> mcsrm-voo :umuua v
When done, you can type in E and 0 instead, which will turn off the output
© Adafruit Industries https://learn.adafruit.com/adafruit-fona-808-cellular-plus-gps-breakout Page 45 of 57
SUI End m1.) WT ’ uiqfiz! 1/0 000000000 00000000 ‘wunnnausars501215 oooooQooo oooooooo NH 868 ghxeld 3.: S 5 oo o ' g FVEEOXECLm ””4"?”er “Hm. MMMEMMHHMHWWWWWW |\\1I|‘\“ \ MinnwHHHHHHHIL‘IdHIHHIHHwhMM LUIHHHHHMHHH’H‘H\UM"\‘MHMHHHHHHI
FONA 808 vs FONA 800
We have two different types of GSM modules & shields under the FONA brand name. The FONA 800 (GSM/GPRS)
and the FONA 808 (GSM/GPRS + GPS too)
© Adafruit Industries https://learn.adafruit.com/adafruit-fona-808-cellular-plus-gps-breakout Page 46 of 57
”Null \IHII \lllllll\|\ l IHII |\|l|1|I\|I||IIIIII\1\ mafia] [/0 099900 500005 In! “:2sz I! 55:; II. ‘lllllllllllfllr 0‘0 0 O I“ 1,. -..0- n _ £ n ‘051 % .fi) w 0(5) gg, ‘0 53 _-=,OI 1'10“) E77 3}. ‘ . IO© U v "fllh‘ uin m: 3 ” ‘ :u-I5UNSL 200000000 0 u 2 [Dr 3v 5v End Um o B Z I , O O (J O O O O O C * -V . " r‘ 7‘ n51 mama In
Here's the key similarities
Both have a 2G GSM/GPRS cellular core
Both can do voice, data, text
Both require a LiPoly battery and GSM antenna
© Adafruit Industries https://learn.adafruit.com/adafruit-fona-808-cellular-plus-gps-breakout Page 47 of 57
o Bom can use a 3 5mm headset -
Both can use a 3.5mm headset
Both recharge over the microUSB jack
Both have a buzzer driver
Here's key differences
Size: the SIM808 based FONA breakout is larger. Shields are the same size
The 808 has a GPS module integrated as well
The 800 has external 8 ohm speaker driver (external audio) whereas the 808 has only headset audio and 32
ohm speaker driver
The 800 has an FM tuner for listening to radio
© Adafruit Industries https://learn.adafruit.com/adafruit-fona-808-cellular-plus-gps-breakout Page 48 of 57
F.A.Q.s
Is a Lipo Battery required? Can I run the FONA off of a power supply or just the microUSB port?
The microUSB (on the shield, in CHARGE mode and powered via USB or DC power) is only used to charge the
battery. Without a battery installed it will flicker on and off so it cannot be used to power a FONA minus battery.
A 1200mAh+ sized Lithium ion/polymer battery is required, nothing else will be able to easily power the FONA and
provide the correct voltage range even during 2 Amp spikes.
I really want to run my FONA without a Lipoly battery!
You can't.
We keep getting people who ask "Hey I know its a requirement but I want to build a buck/boost/linear 3.8V
regulator and it wil be OK because I said so" and then they realize it doesn't work well
The FONA design depends on a Lipoly battery. The battery is not optional. The battery is essential to function. If
you do not want a Lipoly battery you will have to use a different cellular module design. All of our FONAs require,
depend and will not work without a Lipoly battery
You can keep the battery topped up with an external 5V power supply for long term usage but the battery is still
required even if plugged into USB
Ahh! My FONA was working fine then I sent it some command and its not working right anymore?
You can always factory reset the FONA by sending it the
ATZ
command. Say with fona.println("ATZ") or using a USB console cable to send commands. If you set an odd fixed
baud rate (e.g. you cannot even get an OK when you send AT), a USB serial console cable will be helpful it quickly
changing baud rates in your terminal software to get back to a working AT/OK setup!
I'm using FONA as a voice caller and the other person can't hear me!
Note that you do have to use a compatible headset. Not all CTIA headsets will work, the ones we have in the shop
are known to work and so do many other Android but iPhone headsets do not.
You can also use 'external' audio on the FONA (electret mic and speaker soldered to FONA) but you cannot mix
and match. Either you use headset or you use external audio. You cant use external mic and headset speaker.
You also have to tell the FONA which audio you are using, it does not autodetect. You can use our library and
fona.setAudio()
My FONA doesn't work with Arduino Due/ADK/101/Galileo/STM32....
Right now we only know that the FONA library and shields work with Arduino UNO. Any other platforms may require
porting work
Can I charge the battery and use FONA at the same time?
Yes! You can use the Lipoly as sort of a 'backup battery' - keep charging it via MicroUSB (on the shield, in CHARGE
mode and powered via USB or DC power) during use. If the MicroUSB loses power, the FONA will keep going.
© Adafruit Industries https://learn.adafruit.com/adafruit-fona-808-cellular-plus-gps-breakout Page 49 of 57
My FONA won't turn on/respond! Or it acts flakey and autoshuls off sometimes!
My FONA won't turn on/respond! Or it acts flakey and auto-shuts off sometimes!
We've noticed a lot of problems that are 'weird' that are a results of using batteries with the wrong polarity.
All batteries from adafruit have the right wire colors/polarity for the FONA
Batteries not from Adafruit are not guaranteed to have the right pinout! Using the wrong pinout may damage the
FONA and/or make it act 'odd'!
FONA 800/808 requires a 2G SIM, does it work with a dual 2G-3G SIM?
That will work fine, as long as the SIM can register to the 2G network at all, it is acceptable to use
Are you sure I can't use ATT for 2G service? I'm in a T-Mobile cold spot
The AT&T GSM network is going to be live until January 2017. If you're reading this and it's 2017, you're outta luck. If
not, you can try to get an AT&T SIM activated to the 2G GSM network but its not going to do that by default. You'll
have to call up or talk to an AT&T rep and it may not go so well because they really don't want people to use their
GSM network.
You can also call up T-Mobile and say you can't get connected consistently - they may send you a free signal
booster
Check out this handy map to see T-Mobile's coverage map in the USA
How long can FONA last on my battery?
We haven't done extensive testing with FONA but from preliminary reports, the FONA draws about 20-25mA while
running, up to 200mA+ while actually making a call/sending/receiving data, and has very small spikes of up to 2A.
The spikes are short and are absorbed by the onboard capacitors.
A 1200mAh battery can run the FONA on 'standby' for a day or two.
How do I set the Real Time Clock on the FONA SIM?
Please see this forum post!
I'm using a FONA 808 and the GPS commands aren't working
The FONA 808 has two versions, due to a revision of the module itself. Version 1 has two barcodes on the front and
is part #S2-10606-Z1F01. Version 2 has a QR code on the front and is part #S2-10606-Z1F02. V2 has a newer/better
chipset (MT3337 instead of MT3336) but the commandset has changed. Which is annoying but adaptable!
If you are using V1, use this GPS command document for how to interact with the GPS subsystem
If you are using V2, use this GNSS command document instead.
How do I switch between SMS storage on SIM and in internal FLASH?
You can switch between the storage locations by changing the FONA_PREF_SMS_STORAGE definition in the
Adafruit_FONA.h library file. The definition "SM" selects the SIM, and the definition "ME" selects FLASH.
© Adafruit Industries https://learn.adafruit.com/adafruit-fona-808-cellular-plus-gps-breakout Page 50 of 57
Then recompile and upload
I'm trying to reset the FONA with my microcontroller/computer and pulling the RESET pin low via a GPIO isnt
working?
There's a superfluous level shifting diode that we put on the FONA and FONA 808 breakouts - it turns out it isn't
necessary and for microcontrollers with weaker outputs it can keep the FONA from resetting.
You can 'bridge' this diode with a piece of wire, its perfectly safe and may give you a little more headroom. There's
already level shifting inside the modules so there's no risk to this mod.
Simply solder a small wire between the two pads, or remove the diode and replace with a 0 ohm resistor or wire.
See more here: http://forums.adafruit.com/viewtopic.php?f=54&t=77778#p410867
// Set the preferred SMS storage.
// Use "SM" for storage on the SIM.
// Use "ME" for internal storage on the FONA chip
#define FONA_PREF_SMS_STORAGE "\"SM\""
//#define FONA_PREF_SMS_STORAGE "\"ME\""
© Adafruit Industries https://learn.adafruit.com/adafruit-fona-808-cellular-plus-gps-breakout Page 51 of 57
Net 9“? -o. Ilndu© mmm l —'%| ‘C)l l mum SIHSBS 52-19686-21F91 SH MP96151625129BT | 1|||l|‘|lll‘|flllll‘llYIIH I‘l‘llllllll‘l WEI 86586792635697] nmmumn 5‘35" RN T
© Adafruit Industries https://learn.adafruit.com/adafruit-fona-808-cellular-plus-gps-breakout Page 52 of 57
Handy Commands
Here's a quick list of useful commands that may not be directly supported by the library but are handy for many
projects!
RI on SMS receipt
AT+CFGRI=1
The RI pin will pulse low for ~100ms when an SMS is received
Factory Reset
ATZ
will reset the FONA GSM module to its factory default
Bluetooth commands
Here's a thread if you're interested in the BT support in the SIM800H (https://adafru.it/rva) (there's no antenna for BT in
the SIM800 breakout but it is in the FONA feather)
© Adafruit Industries https://learn.adafruit.com/adafruit-fona-808-cellular-plus-gps-breakout Page 53 of 57
Downloads
Datasheets & App Notes:
SIM800 Command Manual (https://adafru.it/tFz) - All the basic commands that the module supports (please note
some are not supported by the FONA 808, such as FM radio, external audio, or bluetooth)
SIM808 Hardware design (https://adafru.it/tFA)
SIM808 Specifications (https://adafru.it/tFB)
SIM808 GSM Location App Note (https://adafru.it/tFC)
SIM808 v1 GPS AT commands (https://adafru.it/fhm)
SIM808 v2 GPS AT commands (https://adafru.it/tdw)
SIM800 TCP/IP App Note (specifics on TCP/IP GPRS) (https://adafru.it/tFD)
SIM800 FM Radio details (https://adafru.it/tFE)
SIM800 IP (FTP & HTTP) support specifics (https://adafru.it/tFF)
SIM800 E-mail support specifics (https://adafru.it/tFG)
SIM800 MMS (multimedia message) support specifics (https://adafru.it/tFH)
SIM800 GNSS App Note (https://adafru.it/tFI)
SIM800 Sleep App Note (https://adafru.it/tFJ)
SIM800 Embedded AT App Note (https://adafru.it/tFK)
SIM800 Compiling Environments (https://adafru.it/tFL)
SIM800 Bluetooth App Note (https://adafru.it/tFM)
SIM800 FS App Note (https://adafru.it/tFN)
SIM800 Multiplexer App Note (https://adafru.it/tFO)
SIM800 NTP App Note (https://adafru.it/tFP)
SIM800 PCM App Note (https://adafru.it/tFQ)
SIM800 Software Upgrade App Note (https://adafru.it/tFR)
SIM800 SSL App Note (https://adafru.it/tFS)
SIM800 STK App Note (https://adafru.it/tFT)
© Adafruit Industries https://learn.adafruit.com/adafruit-fona-808-cellular-plus-gps-breakout Page 54 of 57
Test Reports
SIM808 CE Certificate (https://adafru.it/tFU)
Supplier's Declaration of Conformity (https://adafru.it/tFV)
FCC TCB BT (https://adafru.it/jSb)
R&TTE Statement of Opinion (https://adafru.it/jSc)
FCC Part 15B Test Report (https://adafru.it/jSd)
FCC Part 15C Test Report (https://adafru.it/jSe)
FCC RF Test Report (https://adafru.it/jSf)
FCC TCB (https://adafru.it/jSA)
EMC Test Report (https://adafru.it/kDQ)
GPS Test Report (https://adafru.it/kDR)
RFG Test Report (https://adafru.it/kDS)
SAF Test Report (https://adafru.it/kDT)
SAR Test Report (https://adafru.it/kDU)
Files
EagleCAD PCB Files on GitHub (https://adafru.it/ohB)
Fritzing object in the Adafruit Fritzing Library (https://adafru.it/aP3)
PCB Print
Dimensions are in inches
© Adafruit Industries https://learn.adafruit.com/adafruit-fona-808-cellular-plus-gps-breakout Page 55 of 57
Schematic
Click to embiggen
© Adafruit Industries https://learn.adafruit.com/adafruit-fona-808-cellular-plus-gps-breakout Page 56 of 57
© Adafruit Industries Last Updated: 2018-08-22 03:48:29 PM UTC Page 57 of 57

Products related to this Datasheet

BREAKOUT BOARD GSM/GPS FONA 808