66
Adafruit FONA Created by lady ada Last updated on 2016-09-28 04:51:44 PM UTC

Last updated on 2016-09-28 04:51:44 PM UTC · 2019. 10. 12. · PWM Buzzer PWM/Buzzer Phone Calls Make Phone Calls SMS Send and Read SMS FM Radio (FONA800) FM Radio (FONA 800 only)

  • Upload
    others

  • View
    2

  • Download
    0

Embed Size (px)

Citation preview

  • Adafruit FONACreated by lady ada

    Last updated on 2016-09-28 04:51:44 PM UTC

  • 2499

    10111213131515161818181819

    2021242426

    272829303232343434

    Guide Contents

    Guide ContentsOverviewPinoutsConnectorsAntenna portSIM Connector (on Back)Bottom BreakoutsLEDsOther Breakout PinsObtaining a SIMT-Mobile & TINGSome suggestions from FONA users!AssemblyAttaching Header

    Prepare the header strip:Add the breakout board:And Solder!

    Attaching Antenna & BatterySIM CardWiring to USBWire it up

    Double Check!

    Test CommandsTest SetupTest Send SMSTest CallArduino WiringWire upArduino TestDownload Adafruit_FONAFONA 3G Baud Adjustment

    © Adafruit Industries https://learn.adafruit.com/adafruit-fona-mini-gsm-gprs-cellular-phone-module

    Page 2 of 66

  • 34384040404242424444444546464747484852525353535454555762666666

    66

    Load DemoUsing the Test SketchHardware TestBattery voltageCheck SIM CCIDNetwork TestCheck RSSI (network signal strength)Checking Network RegistrationAudio Settings & TestSet and Get audio volumeSetting Headset or External audioPlaying Toolkit TonesPWM BuzzerPWM/BuzzerPhone CallsMake Phone CallsSMSSend and Read SMSFM Radio (FONA800)FM Radio (FONA 800 only)DownloadsDatasheets & App notesReports & Certificates:FilesPCB PrintSchematicF.A.Q.sFONA 808 vs FONA 800Handy Commands

    RI on SMS receiptFactory Reset

    Bluetooth commands

    © Adafruit Industries https://learn.adafruit.com/adafruit-fona-mini-gsm-gprs-cellular-phone-module

    Page 3 of 66

  • Overview

    Ring, Ring! Who's that callin'? It's your breadboard! Introducing Adafruit FONA MiniGSM,an adorable all-in-one cellular phone module that lets you add voice, text, SMS and data toyour project in an adorable little package.

    © Adafruit Industries https://learn.adafruit.com/adafruit-fona-mini-gsm-gprs-cellular-phone-module

    Page 4 of 66

  • This module measure only 1.75"x1.25" but packs a surprising amount of technology into it'slittle frame. At the heart is a GSM cellular module (we use the latest SIM800) the size of apostage stamp. This module can do just about everything

    Quad-band 850/900/1800/1900MHz - connect onto any global GSM network with any2G SIM (in the USA, T-Mobile is suggested)Make and receive voice calls using a headset OR an external 8Ω speaker + electretmicrophoneSend and receive SMS messagesSend and receive GPRS data (TCP/IP, HTTP, etc.) Scan and receive FM radio broadcasts (yeah, we don't exactly know why this wasincluded but it works really well)PWM/Buzzer vibrational motor controlAT command interface with "auto baud" detection

    © Adafruit Industries https://learn.adafruit.com/adafruit-fona-mini-gsm-gprs-cellular-phone-module

    Page 5 of 66

  • Sounds delicious, right? So we plated this fine module onto a little breakout with all theextras you need to make your next project shine

    Onboard LiPoly battery charging circuitry so you can take your project on the go. Useany 500mAh+ LiPoly or LiIon battery and recharge over the MicroUSB whennecessary. Two LEDs let you know when its charging and doneStandard 4-pole TRRS headphone jack. Use any 'Android' or 'iPhone'-compatibleheadset with micBreakouts for external 8Ω speaker and electret mic if you don't want to use aheadphoneLevel shifting circuitry so you can run it with 2.8V to 5V logic.Vibrational motor (buzzer) driver so you can have noiseless notificationsuFL or SMA connections for external antennaIndicator LEDs for power and network connectivityStandard SIM slides into the back

    This is our Release Candidate for hackers and advanced makers. We're still addinglibrary support for all the various things the FONA can do but there may be updatesas FONA is used around the world!

    © Adafruit Industries https://learn.adafruit.com/adafruit-fona-mini-gsm-gprs-cellular-phone-module

    Page 6 of 66

  • On its own, this module can't do anything. It requires a microcontroller to drive it! Wesuggest and use an Arduino but any 3-5V microcontroller with a UART can send andreceive commands over the RX/TX pins.

    You will also need some required accessories to make FONA work. These are notincluded!

    SIM Card! A 2G Mini SIM card is required to do anything on the cellular network. USAT&T no longer sells 2G SIMs and will shut off their 2G network, so for Americancustomers we recommend any T-Mobile or reseller (SIMPLE mobile, etc) that usesthe T-Mobile network.Lipoly Battery - 500mAh or larger! This 500mAh (http://adafru.it/drL)battery, or this1200mAh (http://adafru.it/258) will work great.MicroUSB cable for charging the battery.External Antenna - this straight one (http://adafru.it/1859) or this right-angle one willwork well (http://adafru.it/1858).If you have the FONA with uFL connector - a uFL to SMA adaptercable. (http://adafru.it/851)

    © Adafruit Industries https://learn.adafruit.com/adafruit-fona-mini-gsm-gprs-cellular-phone-module

    Page 7 of 66

    https://www.adafruit.com/product/1578https://www.adafruit.com/products/258https://www.adafruit.com/products/1859https://www.adafruit.com/products/1858https://www.adafruit.com/products/851

  • There's also some recommended accessories. They are not required but chances are you'llwant 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 onceare more comfortable and louder but our official iPhone headset mic did not work.External Mic & Speaker - If you want to talk directly to your FONA, an electretmic (http://adafru.it/dDa) and mini 8 ohm speaker (http://adafru.it/dDb) will do quitenicely.Vibrating motor - the FONA can drive this directly, just solder a mini vibrating motordisc in! (http://adafru.it/dDc)USB console cable - the microUSB connector is for charging only, but you can wireup a console cable for direct-connection to the module (http://adafru.it/dDd)if youwant to send commands from a terminal (great for testing and tweaking)

    © Adafruit Industries https://learn.adafruit.com/adafruit-fona-mini-gsm-gprs-cellular-phone-module

    Page 8 of 66

    https://www.adafruit.com/product/1064https://www.adafruit.com/product/1890https://www.adafruit.com/product/1201https://www.adafruit.com/product/954

  • PinoutsThere's a lot packed into the FONA MiniGSM, lets go thru all the pins, buttons andindicators and what they do

    ConnectorsThere's three external connectors along the left side, from the top, a mini JST 2-pin, amicroUSB and a headphone jack.

    JST 2-pin - this is the battery input connector. It works with any of our Lipoly batteriesbut since the charge rate is 500mA (and the cellular module can spike high currentdraw!) we suggest our 500mAh (http://adafru.it/drL) or 1200mAh (http://adafru.it/258)batteries. You can also connect a JST cable here if you have

    © Adafruit Industries https://learn.adafruit.com/adafruit-fona-mini-gsm-gprs-cellular-phone-module

    Page 9 of 66

    https://www.adafruit.com/product/1578https://www.adafruit.com/products/258https://www.adafruit.com/products/261

  • other plans. (http://adafru.it/261)MicroUSB connector - this is the LiPoly/LiIon battery charging port. The SIM800 hasa USB interface but its ONLY for reprogramming the module with an expensive andunavailable IDE. So charge only! The charge rate is 500mA max.Headset jack - this is a 'standard' TRRS 3.5mm phone headset jack with stereoearphone and mono microphone. Any 'iPhone' or 'Android' compatible (but not iPhoneoriginal) should work. (http://adafru.it/fbK) We tried about 10 different ones, andbasically the more expensive once are more comfortable and louder but our officialiPhone headset mic did not work for unknown reasons. Sleeve is Mic+, first ring isground, then the second ring and tip are for stereo audio. The module does not havestereo out so we just tied both together.

    Antenna portUp top is the place where you can plug in your antenna. An antenna is required to usethe module for any kind of voice or data communications as well as some SIM

    © Adafruit Industries https://learn.adafruit.com/adafruit-fona-mini-gsm-gprs-cellular-phone-module

    Page 10 of 66

    https://www.adafruit.com/product/1966

  • commands!

    We have both SMA and uFL versions. You can either use a uFL GSM antenna likethis (http://adafru.it/fbL), or use a uFL to SMA adapter (http://adafru.it/fbM) and then anSMA antenna (http://adafru.it/fbN)

    If you have an SMA version, you can connect an SMA antenna directly (http://adafru.it/fbN).We suggest a quad band GSM/GPRS antenna, but if you're savvy and know whatfrequencies are used in your area you can get a single or dual band antenna that's just foryour required frequency

    SIM Connector (on Back)A 2G Mini SIM card is required to use the module. Nearly any cell phone shop can sell youa SIM card. It must be a 2G GSM card. AT&T in the US does not sell these anymore! Theyare shutting down their GSM network, and only T-mobile sells and supports a GSM

    © Adafruit Industries https://learn.adafruit.com/adafruit-fona-mini-gsm-gprs-cellular-phone-module

    Page 11 of 66

    http://www.adafruit.com/product/1991http://www.adafruit.com/product/851http://www.adafruit.com/product/1859http://www.adafruit.com/product/1859

  • 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 billingsystem and works very well! (http://adafru.it/fbO)

    MicroSIMs won't fit - so make sure its a "Mini" SIM. Mini SIMs are 1" x 0.6" / 25mm x15mm. 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'syou'll need a voice plan. If you want to transmit data like fetching a webpage, you'll need adata plan.

    Bottom BreakoutsThe most important pins are broken out at the bottom of the board. Not all of these arerequired, 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 Viois set to.

    Vio - THIS IS THE MOST IMPORTANT PIN! This is the pin that you MUST drive withan external voltage from 3V-5V to set the logic level converter. The converter alsobuffers the indicator LEDs so NOTHING will appear to work unless this pin ispowered! You should set the voltage to whatever voltage your microcontroller usesfor logic. A 5V micro (like Arduino) should have it be 5V, a 3V logic micro should set itto 3V.Key - This is also a super important pin (but not as important as Vio). This is thepower on/off indicator. Its also tied to the button in the top left. Tie this pin to groundfor 2 seconds to turn the module on or off. It's not a level signal so it isn't like "low isoff, high is on" - instead you must pulse it for 2 seconds to turn off/on. The modulecomes by default off. Tie this permanently to ground if you never want your micro toturn off the FONA for power savingPS - this is the Power Status pin. It is low when the module is off and high when themodule has power. If you're using the Key button or pin, you can monitor this pad tosee 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 themodule. This is also tied to the Net LED so for more detail see the LEDs sectionbelow.Reset - this is module hard reset pin. By default it has a high pull-up (module not inreset). If you absolutely got the module in a bad space, toggle this pin low for 100ms

    © Adafruit Industries https://learn.adafruit.com/adafruit-fona-mini-gsm-gprs-cellular-phone-module

    Page 12 of 66

    https://www.adafruit.com/product/2505

  • 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 send and receive commands and data. These pins areauto-baud so whatever baud rate you send "AT" after reset or boot is the baud rate isused. RX is into the module, TX is out of the module.RI - this is the Ring Indicator. It is basically the 'interrupt' out pin from the module. It isby default high and will pulse low for 120ms when a call is received. It can also beconfigured to pulse when an SMS is received.SPK+ and - : This is for connecting an external 8 ohm speaker, max 1W. You canconfigure the module to route calls and FM radio to the headset or the external audio.The two pins are differential so they don't have output DC blocking capacitors. Youcannot connect this to a stereo, powered speakers or other non-differentialamplifier without adding a 100uF+ blocking cap in series to the + pin and then notusing the - pin. Instead, your amp should use GND for the - referenceMIC + and -: this is for connecting an external electret microphone, it will bias the micwith 2V. Most electrets will work just fine. No extra circuitry is required for the micsuch as a biaser or amplifier, just wire it up directly!

    LEDsPWR - Blue! Lit when the module is booted and runningNET - Red! You can use this for checking the current state without sending an ATcommand:64ms on, 800ms off - the module is running but hasn't made connection to thecellular network yet64ms on, 3 seconds off - the module has made contact with the cellular network andcan send/receive voice and SMS64ms on, 300ms off - the GPRS data connection you requested is activeBy 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 lipocharger is chargingDone - Green! This is next to the JST jack. Indicates that the battery charging is doneand the battery is full

    Other Breakout PinsWe scattered a few other breakouts around the board.

    Buzzer and PWM (Top right) - These are tied to the PWM output of the module! ThePWM capability is quite nice, it can set any frequency and duty cycle. The PWM pin is

    © Adafruit Industries https://learn.adafruit.com/adafruit-fona-mini-gsm-gprs-cellular-phone-module

    Page 13 of 66

  • directly output from the module and is 0-2.8Vpp. The Buzzer output has a NPN drivetransistor so it can run a small vibration motor. Bz+ is the VBat voltage, Bz- is toggledon 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 asensor or something. You can query the voltage from the UART. 2.8V max, people!5V (left middle) - this is the USB 5V from the microUSB connector when its in andpowered. Good if you need to know when the microUSB is plugged in and/or want torecharge the battery from an external plug.2.8V test point - We have a test point for the 2.8V internal regulator, its off to theright.

    © Adafruit Industries https://learn.adafruit.com/adafruit-fona-mini-gsm-gprs-cellular-phone-module

    Page 14 of 66

  • Obtaining a SIMIn order to use the phone parts of FONA you will need a SIM card. Luckily, there's a phonestore in every town in America! You can get a pre-paid or post-paid SIM but we kinda likethe pre-paid kind.

    A 2G Mini SIM card is required to use the module. Nearly any cell phone shop can sell youa SIM card. It must be a 2G GSM card. AT&T in the US does not sell these anymore! Theyare shutting down their GSM network, and only T-mobile sells and supports a GSMnetwork. 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 x15mm. these are by far the most common size.

    The only thing to watch for is you need to have a 2G GSM-compatible SIM

    In the US, AT&T no longer sells 2G SIMs! We suggest T-Mobile or T-Mobile "distributors"If you have an older AT&T SIM it may work. AT&T announced in 2012 that they would shutdown 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 tomigrate from AT&T.

    You can read an interesting whitepaper from Aeris about this below:AT&T 2G GSM Network Sunset Whitepaperhttp://adafru.it/dEh

    T-Mobile & TINGT-Mobile does not have any announcement that they will sunset GSM. We can't speak forthem but we expect at least 5 years warning as well, probably they will never fully sunsetsince there's millions of machines with GSM connectivity.

    © Adafruit Industries https://learn.adafruit.com/adafruit-fona-mini-gsm-gprs-cellular-phone-module

    Page 15 of 66

    https://learn.adafruit.com/system/assets/assets/000/017/834/original/Aeris_1113_whitepaper.pdf?1404356134

  • Adafruit now sells the TING SIM card, a 2G GSM SIM that works great with all FONAs, andhas 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 cageyjust say your apartment has no AT&T coverage.

    You do not need to bring in or show your FONA to the Cell Phone store. Just tell them youneed a Mini SIM for a GSM phone and it's at home.

    Some suggestions from FONA users!I've had good luck using the FONA with a SIM from Walmart. Their 'Walmart FamilyMobile' is a T-mobile reseller and you can pick up the SIM starter in store pretty easily (http://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'sno contract as its all prepaid -tdicola

    © Adafruit Industries https://learn.adafruit.com/adafruit-fona-mini-gsm-gprs-cellular-phone-module

    Page 16 of 66

    http://www.walmart.com/ip/Walmart-Family-Mobile-Starter-Kit/22150963

  • Just want to let the Adafruit team know that it is possible to get pre-paided minutes onT-Mobile and its a pretty good deal. I was paying $100 for 1000 minutes (10c a minute20 a sms) over the course of the year. (http://adafru.it/dEj) For me it in my usagecame out to about $8 a month. Have found this is something that you have to ask forat 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 aprevious GSM project and they worked great. $20 per year, includes 1000 free txtmessages and a bunch of other nice features. (http://adafru.it/dEk)I had a lot moreissues with T-Mobile (Their cards go inactive if not used in a month and you have tocall to reactivate) -Tyler C.I pay 2 EUR (a bit less than $3 USD) for 2 hours, unlimited SMS and 50Mb of Data athttp://mobile.free.fr/ (http://adafru.it/dEr) -KTOWNThere are specialty "machine 2 machine" SIM sellers that have plans that are tunedfor the short bursts of usage used by these kinds of modules. Check out these guys (http://adafru.it/dEA) for example, you can choose data, voice/sms or a combinationfor a pretty low price!Hi, just a update to let you know I have just begun to use the Fona, SIM fromROGERS, which is 2G, 3G, ang 4G. I pulled my sim out of my phone, and it workswell. So if you have Canadians that want to use that product, let them know it workson the west coast ! You can go to Rogers website and see the coverage map andservices. - 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-mini-gsm-gprs-cellular-phone-module

    Page 17 of 66

    http://www.t-mobile.com/promotions/genericregular.aspx?passet=pro_pro_goldrewardshttp://www.telnamobile.com/index.php?include=telnamobile_featureshttp://mobile.free.fr/http://www.embeddedworks.net/wsim686.html?query=10GSM - GPRS/EDGE/HSPA+/LTE

  • Assembly

    Attaching Header

    Prepare the headerstrip:

    Cut the strip to length ifnecessary. It will be easier tosolder if you insert it into abreadboard - long pins down

    Add the breakoutboard:

    Place the breakout board overthe pins so that the short pinspoke through the breakout pads

    © Adafruit Industries https://learn.adafruit.com/adafruit-fona-mini-gsm-gprs-cellular-phone-module

    Page 18 of 66

    https://learn.adafruit.com/assets/17725https://learn.adafruit.com/assets/17726

  • And Solder!

    Be sure to solder all pins forreliable electrical contact.

    (For tips on soldering, be sure tocheck out our Guide to ExcellentSoldering (http://adafru.it/aTk)).

    © Adafruit Industries https://learn.adafruit.com/adafruit-fona-mini-gsm-gprs-cellular-phone-module

    Page 19 of 66

    https://learn.adafruit.com/assets/17727https://learn.adafruit.com/assets/17728https://learn.adafruit.com/assets/17729http://learn.adafruit.com/adafruit-guide-excellent-soldering

  • You're done! Check your solderjoints visually and continue ontothe next steps

    Attaching Antenna & BatteryA battery and antenna is required! If you have a uFL FONA, a uFL->SMA cable may berequired to connect the antenna. Use any Lipoly or LiIon 3.7V/4.2V battery

    © Adafruit Industries https://learn.adafruit.com/adafruit-fona-mini-gsm-gprs-cellular-phone-module

    Page 20 of 66

    https://learn.adafruit.com/assets/17730https://learn.adafruit.com/assets/17731

  • Check polarity for the battery!Snap the uFL connector on, it will click when placed properly

    SIM CardYou must insert a SIM card to do anything but the most basic tests. FM radio does workwithout a SIM but of course you cannot send or receive texts, calls, etc!

    The SIM card holder is on the

    © Adafruit Industries https://learn.adafruit.com/adafruit-fona-mini-gsm-gprs-cellular-phone-module

    Page 21 of 66

  • back. It holds a very-standard"Mini SIM"Micro SIMs will not work! Makesure you get a "Mini SIM"

    Open by sliding the covertowards the antenna

    Insert the SIM with the gold padsfacing up and the notch on theouter corner

    © Adafruit Industries https://learn.adafruit.com/adafruit-fona-mini-gsm-gprs-cellular-phone-module

    Page 22 of 66

    https://learn.adafruit.com/assets/17721https://learn.adafruit.com/assets/17722

  • Close the hinge down and slidethe cover to lock it in place

    © Adafruit Industries https://learn.adafruit.com/adafruit-fona-mini-gsm-gprs-cellular-phone-module

    Page 23 of 66

    https://learn.adafruit.com/assets/17723https://learn.adafruit.com/assets/17724

  • Wiring to USBIf you have a USB console cable you can wire it up directly and send commands using anyTerminal software

    For Windows, we suggest Putty (http://adafru.it/aUb)- it's free and open source!

    Wire it upIn 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-mini-gsm-gprs-cellular-phone-module

    Page 24 of 66

    http://www.putty.org/

  • Connect to that COM port at 8N1 (8-bit, no parity bit, 1 stop bit) at 9600 baud. You canactually use any baud rate and it will autodetect but 9600 is supported by any terminalprogram!

    © Adafruit Industries https://learn.adafruit.com/adafruit-fona-mini-gsm-gprs-cellular-phone-module

    Page 25 of 66

  • Double Check!

    1. You have a Lipoly battery plugged in to the FONA JST2. You have a working 2G SIM installed in the back3. Connect Black wire to GND4. Connect White wire to TX5. Connect Green wire to RX6. Connect Red wire to Vio7. You may need to hold down the KEY button for 2 seconds until the PWR LED is

    lit and the NET LED blinks

    © Adafruit Industries https://learn.adafruit.com/adafruit-fona-mini-gsm-gprs-cellular-phone-module

    Page 26 of 66

  • Test CommandsThe 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 ATcharacters echo and then OK telling you its OK!

    © Adafruit Industries https://learn.adafruit.com/adafruit-fona-mini-gsm-gprs-cellular-phone-module

    Page 27 of 66

  • You can then send some commands to query the module and get information about it suchasATI - Get the module name and revisionAT+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 canverify the number is written on the card

    Test SetupSome tests to verify the setup

    AT+COPS? Check that you're connected to the network, in this case T-MobileAT+CSQ - Check the 'signal strength' - the first # is dB strength, it should be higherthan 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 thiscase its 92%) and the third number is the actual voltage in mV (in this case, 3.877 V)

    If your SIM card is locked with a PIN code, you will need to enter the pin before you canconnect to a network via the 'AT+CPIN' command. For example if the pin is 1234 you needto enter 'AT+CPIN=1234".

    © Adafruit Industries https://learn.adafruit.com/adafruit-fona-mini-gsm-gprs-cellular-phone-module

    Page 28 of 66

  • Test Send SMS

    Finally, you can try to text your phone! Sending an SMS is pretty darn easy.

    AT+CMGF=1 - this will set it to TEXT mode not PDU (data) mode. You must do thisbecause 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 lineto 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)

    © Adafruit Industries https://learn.adafruit.com/adafruit-fona-mini-gsm-gprs-cellular-phone-module

    Page 29 of 66

  • Test CallYou can also make a phone call, you must have a headset attached to the 4-pole 3.5mmheadset 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 CARRIERreturnOnce you are chatting, you can hang up by sending ATH

    © Adafruit Industries https://learn.adafruit.com/adafruit-fona-mini-gsm-gprs-cellular-phone-module

    Page 30 of 66

  • © Adafruit Industries https://learn.adafruit.com/adafruit-fona-mini-gsm-gprs-cellular-phone-module

    Page 31 of 66

  • Arduino Wiring

    Wire upAfter 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 GNDKey connects to GND (always on)RX connects to digital 2TX 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 useDigital 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 thispage (http://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-mini-gsm-gprs-cellular-phone-module

    Page 32 of 66

    http://arduino.cc/en/Reference/SoftwareSerial

  • We forgot to add the #4 to RST wire in this image, you'll want to add it though!

    © Adafruit Industries https://learn.adafruit.com/adafruit-fona-mini-gsm-gprs-cellular-phone-module

    Page 33 of 66

  • Arduino TestThe FONA library is under heavy development! This page may change over time!

    Download Adafruit_FONATo begin reading sensor data, you will need to download Adafruit_FONA Library from ourgithub repository (http://adafru.it/dDC). You can do that by visiting the github repo andmanually downloading or, easier, just click this button to download the zipDownload the Adafruit_FONA Libraryhttp://adafru.it/dDDRename the uncompressed folder Adafruit_FONA and check that the Adafruit_FONAfolder 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 (http://adafru.it/aYM)

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

    Load DemoOpen up File->Examples->Adafruit_FONA->FONAtest and upload to your Arduino wiredup 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 3GAdafruit_FONA_3G fona = Adafruit_FONA_3G(FONA_RST);

    © Adafruit Industries https://learn.adafruit.com/adafruit-fona-mini-gsm-gprs-cellular-phone-module

    Page 34 of 66

    https://github.com/adafruit/Adafruit_FONA_Libraryhttps://github.com/adafruit/Adafruit_FONA_Library/archive/master.ziphttp://learn.adafruit.com/adafruit-all-about-arduino-libraries-install-use

  • 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 anantenna attached

    © Adafruit Industries https://learn.adafruit.com/adafruit-fona-mini-gsm-gprs-cellular-phone-module

    Page 35 of 66

  • © Adafruit Industries https://learn.adafruit.com/adafruit-fona-mini-gsm-gprs-cellular-phone-module

    Page 36 of 66

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

    © Adafruit Industries https://learn.adafruit.com/adafruit-fona-mini-gsm-gprs-cellular-phone-module

    Page 37 of 66

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

    Using the Test SketchThe test sketch has a menu interface so you can test out just about everything the FONAcan 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-mini-gsm-gprs-cellular-phone-module

    Page 38 of 66

  • © Adafruit Industries https://learn.adafruit.com/adafruit-fona-mini-gsm-gprs-cellular-phone-module

    Page 39 of 66

  • Hardware Test

    Battery voltageLets begin by reading the battery voltage. That's the lipoly battery. This is handy if you needto 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

    © Adafruit Industries https://learn.adafruit.com/adafruit-fona-mini-gsm-gprs-cellular-phone-module

    Page 40 of 66

  • You can verify that the SIM is inserted and correct by reading the CCID, which is the uniqueidentifier printed on it with C

    © Adafruit Industries https://learn.adafruit.com/adafruit-fona-mini-gsm-gprs-cellular-phone-module

    Page 41 of 66

  • 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 tomake calls, SMSs, etc. In this case, I've got a 10

    Checking Network RegistrationIf 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 nOnce it's Home Registered, give it like 5-10 more seconds before trying to access/sendSMS's or phone calls.

    © Adafruit Industries https://learn.adafruit.com/adafruit-fona-mini-gsm-gprs-cellular-phone-module

    Page 42 of 66

  • © Adafruit Industries https://learn.adafruit.com/adafruit-fona-mini-gsm-gprs-cellular-phone-module

    Page 43 of 66

  • Audio Settings & Test

    Set and Get audio volumeYou can set the audio volume with v and retrieve it with V - its in % so ranges from 0 to 100

    Setting Headset or External audioThere 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 speakerand mic. FM audio, phone calls, tones, etc can be routed to one or the other.To set the audio to headset, use the command HTo set the audio to external, use the command e

    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-mini-gsm-gprs-cellular-phone-module

    Page 44 of 66

  • Playing Toolkit TonesYou can test the audio path with the toolkit tones. These are tones that mimic what somephone services sound like. For a full list of tones, you can check the AT+STTONEcommand in the AT command datasheet. We'll use tone #20 which is the American dialtone.You can switch to headset mode, play a tone, then try it on the external audio mode. This isa very easy way to try out both speakers for debugging

    © Adafruit Industries https://learn.adafruit.com/adafruit-fona-mini-gsm-gprs-cellular-phone-module

    Page 45 of 66

  • PWM BuzzerPWM Buzzer is available on the FONA800 and 808 Breakouts and Shields

    PWM/BuzzerThere 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 fullfrequency and duty cycle control. In the mode we're using it, you can set the frequencyfrom 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 motorbuzzer and power from the lipoly battery.

    © Adafruit Industries https://learn.adafruit.com/adafruit-fona-mini-gsm-gprs-cellular-phone-module

    Page 46 of 66

  • Phone Calls

    Make Phone CallsOK 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 goforward

    Make a call with c - the call happens in the 'background'. When you're done then you canhang up with h

    © Adafruit Industries https://learn.adafruit.com/adafruit-fona-mini-gsm-gprs-cellular-phone-module

    Page 47 of 66

  • SMS

    Send and Read SMSAnother easy thing you can do is send and receive SMS messages. Lets start by sendingan SMS. We'll use twitter's 40404 short code, which will auto respond, making it easy toverify both sending and receiving

    You can send multi-line SMS's using the library API but for this example, its easier to parsethe 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'llshow this in detail in a bit

    © Adafruit Industries https://learn.adafruit.com/adafruit-fona-mini-gsm-gprs-cellular-phone-module

    Page 48 of 66

  • You can read individual SMS's with r

    © Adafruit Industries https://learn.adafruit.com/adafruit-fona-mini-gsm-gprs-cellular-phone-module

    Page 49 of 66

  • And delete SMS's by slot # with d

    Note that before I deleted SMS #2, so if I read them again, that SMS # will be an emptyslot. SMS number #3 doesn't "move slots"!

    © Adafruit Industries https://learn.adafruit.com/adafruit-fona-mini-gsm-gprs-cellular-phone-module

    Page 50 of 66

  • © Adafruit Industries https://learn.adafruit.com/adafruit-fona-mini-gsm-gprs-cellular-phone-module

    Page 51 of 66

  • FM Radio (FONA800)FM radio tuning/listening is only for FONA 800, the FONA 808 and FONA 3G does notcontain a tuner

    FM Radio (FONA 800 only)The FONA has an FM receive in it. It uses the headset as the 'antenna' but it works prettywell considering! The FM radio goes thru whatever audio path you have set up

    You can open and tune to an FM frequency in units of 100KHz. So if you want to tune to88.1MHz, type in 881. For 102.3, type in 1023.

    Use the f command to open and tune, and F to close it

    © Adafruit Industries https://learn.adafruit.com/adafruit-fona-mini-gsm-gprs-cellular-phone-module

    Page 52 of 66

  • Downloads

    Datasheets & App notesSIM800 Hardware design (http://adafru.it/dBJ) - The 'H differs from the 'L insupporting bluetooth and fax. Otherwise its the same, this is basically the 'datasheet'SIM800HL Schematic and PCB Reference Design (http://adafru.it/pQc)SIM800 Comm (http://adafru.it/pQd)and Manual (http://adafru.it/pQd) - All the basiccommands that the module supports (please note some are not supported by the800L, such as text to speech or bluetooth)SIM800 IP App Note (http://adafru.it/pQe)SIM800 TCPIP App Note (http://adafru.it/pQc)SIM800 FM Radio details (http://adafru.it/dBL)SIM800 IP (FTP & HTTP) support specifics (http://adafru.it/dEw)SIM800 E-mail support specifics (http://adafru.it/dEx)SIM800 MMS (multimedia message) support specifics (http://adafru.it/dEy)SIM800 SSL App Note (http://adafru.it/pQf)SIM800 Software Upgrade App Note (http://adafru.it/pQA)SIM800 Sleep App Note (http://adafru.it/pQB)SIM800 Embedded AT App Note (http://adafru.it/pQC)SIM800 Compiling Environments (http://adafru.it/pQD)SIM800 Bluetooth App Note (http://adafru.it/pQE)SIM800 FS App Note (http://adafru.it/pQF)SIM800 GSM Location App Note (http://adafru.it/pRa)SIM800 Multiplexer App Note (http://adafru.it/pRb)SIM800 NTP App Note (http://adafru.it/pRc)SIM800 PCM App Note (http://adafru.it/pRd)SIM800 STK App Note (http://adafru.it/pRe)

    Reports & Certificates:SIM800H GCF I13GC9551_RSE-E Report (http://adafru.it/pQc)SIM800H CE Certificate (http://adafru.it/pRf)SIM800H CTTL + GCF Test Report (http://adafru.it/pRA)I14Z46950-GPM01 Test Report (http://adafru.it/pRB)SIM800H PTCRB Test Report (http://adafru.it/pRC)SIM800H RoHS Test Report (http://adafru.it/pRD)

    © Adafruit Industries https://learn.adafruit.com/adafruit-fona-mini-gsm-gprs-cellular-phone-module

    Page 53 of 66

    http://www.adafruit.com/datasheets/sim800h_hardware_design_v1.00.pdfhttps://adafruit.com/images/product-files/1946/SIM800 Series_TCPIP_Application Note_V1.01.pdfhttps://adafruit.com/images/product-files/1946/SIM800 Series_AT Command Manual_V1.09.pdfhttps://adafruit.com/images/product-files/1946/SIM800 Series_AT Command Manual_V1.09.pdfhttps://adafruit.com/images/product-files/1946/SIM800 Series_IP_Application Note_V1.02.pdfhttps://adafruit.com/images/product-files/1946/SIM800 Series_TCPIP_Application Note_V1.01.pdfhttp://www.adafruit.com/datasheets/sim800_series_fm_application_note_v1.00.pdfhttp://www.adafruit.com/datasheets/sim800_series_ip_application_note_v1.00.pdfhttp://www.adafruit.com/datasheets/sim800_series_email_application_note_v1.00.pdfhttp://www.adafruit.com/datasheets/sim800_series_mms_application_note_v1.00.pdfhttps://adafruit.com/images/product-files/1946/SIM800 Series_Serial Port_Application Note_V1.01.pdfhttps://adafruit.com/images/product-files/1946/SIM800 Series_Software Upgrade_Application Note_V1.02.pdfhttps://adafruit.com/images/product-files/1946/SIM800 Series Embedded AT Sleep Application Note_V1.01.pdfhttps://adafruit.com/images/product-files/1946/SIM800 Series Embedded AT_Application Note_1.02.pdfhttps://adafruit.com/images/product-files/1946/SIM800 Series Embedded AT_Compiling Environment_V1.01.pdfhttps://adafruit.com/images/product-files/1946/SIM800 Series_Bluetooth_Application_Note_V1.04.pdfhttps://adafruit.com/images/product-files/1946/SIM800 Series_FS_Application Note_V1.01.pdfhttps://adafruit.com/images/product-files/1946/SIM800 Series_GSM Location_Application Note_V1.01.pdfhttps://adafruit.com/images/product-files/1946/SIM800 Series_Multiplexer_Application Note_V1.01.pdfhttps://adafruit.com/images/product-files/1946/SIM800 Series_NTP_Application Note_V1.01.pdfhttps://adafruit.com/images/product-files/1946/SIM800 Series_PCM_Application Note_V1.00.pdfhttps://adafruit.com/images/product-files/1946/SIM800 Series_STK_Application Note_V1.00.pdfhttps://adafruit.com/images/product-files/1946/SIM800 Series_TCPIP_Application Note_V1.01.pdfhttps://adafruit.com/images/product-files/1946/SIM800H CE Certificate.pdfhttps://adafruit.com/images/product-files/1946/CTTL+REPORT+GCF for 800H.pdfhttps://adafruit.com/images/product-files/1946/I14Z46950-GPM01.pdfhttps://adafruit.com/images/product-files/1946/SIM800H Final report-0814.pdfhttps://adafruit.com/images/product-files/1946/SIM800H RoHS Test Report.pdf

  • SIM800H REACH Test Report (http://adafru.it/pRE)SIM800H GCF I13GC9551 Test Report (http://adafru.it/pRF)SIM800H FCC PCB Grant Final (http://adafru.it/pSa)SIM800H FCC DSS Grant Final (http://adafru.it/pSb)SIM800H CE EMC Test Report (http://adafru.it/pSc)SIM800H CE RF-BT Test Report (http://adafru.it/pSd)SIM800H CE RF-GSM Test Report (http://adafru.it/pSe)SIM800H SAFETY Test Report (http://adafru.it/pSf)SIM800H EPL Certificate (http://adafru.it/pSA)FCC TCB BT (http://adafru.it/pSB)R&TTE Statement of Opinion (http://adafru.it/pSC)FCC Part 15B Test Report (http://adafru.it/pSD)FCC Part 15C Test Report (http://adafru.it/pSE)FCC RF Test Report (http://adafru.it/pSF)FCC TCB (http://adafru.it/pTa)

    FilesEagleCAD PCB Files on GitHub (http://adafru.it/ohC)Fritzing object in Adafruit Fritzing library (http://adafru.it/aP3)

    PCB PrintDimensions are in inches

    © Adafruit Industries https://learn.adafruit.com/adafruit-fona-mini-gsm-gprs-cellular-phone-module

    Page 54 of 66

    https://adafruit.com/images/product-files/1946/SIM800H REACH Test Report.pdfhttps://adafruit.com/images/product-files/1946/SIM800H GCF I13GC9551 report.pdfhttps://adafruit.com/images/product-files/1946/SIM800H FCC_UDV-2013072401_PCB_Grant_Final.pdfhttps://adafruit.com/images/product-files/1946/SIM800H FCC_UDV-2013072401_DSS_Grant_Final %281%29.pdfhttps://adafruit.com/images/product-files/1946/SIM800H CE-EMC Test Report.pdfhttps://adafruit.com/images/product-files/1946/SIM800H CE-RF-BT Test Report.pdfhttps://adafruit.com/images/product-files/1946/SIM800H CE-RF-GSM Test Report.pdfhttps://adafruit.com/images/product-files/1946/SIM800H CE-SAFETY Test Report.pdfhttps://adafruit.com/images/product-files/1946/EPL Certificate-SIM800H.pdfhttps://cdn-shop.adafruit.com/datasheets/SIM800_FCC_TCB_BT.pdfhttps://cdn-shop.adafruit.com/datasheets/SIM800_CE.pdfhttps://cdn-shop.adafruit.com/datasheets/SIM800_FCC_Part15.pdfhttps://cdn-shop.adafruit.com/datasheets/SIM800_FCC_Part15_BT.pdfhttps://cdn-shop.adafruit.com/datasheets/SIM800_FCC_Report.pdfhttps://cdn-shop.adafruit.com/datasheets/SIM800_FCC_TCB.pdfhttps://github.com/adafruit/Adafruit-FONA-800-GSM-Breakouthttps://github.com/adafruit/Fritzing-Library

  • Schematic

    © Adafruit Industries https://learn.adafruit.com/adafruit-fona-mini-gsm-gprs-cellular-phone-module

    Page 55 of 66

  • © Adafruit Industries https://learn.adafruit.com/adafruit-fona-mini-gsm-gprs-cellular-phone-module

    Page 56 of 66

  • F.A.Q.sIs a Lipo Battery required? Can I run the FONA off of a power supply or just the microUSBport?

    The microUSB is only used to charge the battery. Without a battery installed it will flicker onand 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 toeasily 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 abuck/boost/linear 3.8V regulator and it wil be OK because I said so" and then they realize itdoesn't work well

    The FONA design depends on a Lipoly battery. The battery is not optional. The batteryis essential to function. If you do not want a Lipoly battery you will have to use adifferent cellular module design. All of our FONAs require, depend and will not workwithout a Lipoly battery

    You can keep the battery topped up with an external 5V power supply for long term usagebut 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 rightanymore?

    You can always factory reset the FONA by sending it the

    ATZ

    command. If you set an odd fixed baud rate (e.g. you cannot even get an OK when yousend AT), a USB serial console cable will be helpful it quickly changing baud rates in yourterminal 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

    © Adafruit Industries https://learn.adafruit.com/adafruit-fona-mini-gsm-gprs-cellular-phone-module

    Page 57 of 66

    https://www.adafruit.com/product/1966

  • ones we have in the shop are known to work (http://adafru.it/fbK) and so do many otherAndroid but iPhone headsets do not.

    You can also use 'external' audio on the FONA (electret mic and speaker soldered toFONA) 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 canuse our library and fona.setAudio() (http://adafru.it/j0e)

    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. Anyother 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 MicroUSBduring use. If the MicroUSB loses power, the FONA will keep going.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 thewrong 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 thewrong 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 acceptableto 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's2017, you're outta luck. If not, you can try to get an AT&T SIM activated to the 2G GSMnetwork but its not going to do that by default. You'll have to call up or talk to an AT&T repand 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 maysend you a free signal booster (http://adafru.it/dHk)

    How long can FONA last on my battery?We haven't done extensive testing with FONA but from preliminary reports, the FONA

    © Adafruit Industries https://learn.adafruit.com/adafruit-fona-mini-gsm-gprs-cellular-phone-module

    Page 58 of 66

    file:///adafruit-fona-mini-gsm-gprs-cellular-phone-module/arduino-test#setting-headset-or-external-audiohttp://support.t-mobile.com/community/coverage/signal-booster

  • draws about 20-25mA while running, up to 200mA+ while actually making acall/sending/receiving data, and has very small spikes of up to 2A. The spikes are short andare 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 (http://adafru.it/aP1)!

    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 twobarcodes on the front and is part #S2-10606-Z1F01. Version 2 has a QR code on the frontand 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 GPSsubsystem (http://adafru.it/fhm)

    If you are using V2, use this GNSS command document instead. (http://adafru.it/fVN)

    On a FONA 3G I cant seem to read the SMS messages

    We're not sure exactly why you need to tell the FONA3G to look on the SIM specifically, butits easy to set up. In Adafruit_FONA.h uncomment

    //#define FONA_PREF_SMS_STORAGE "SM"

    Then recompile and upload

    I'm trying to reset the FONA with my microcontroller/computer and pulling the RESET pinlow via a GPIO isnt working?

    There's a superfluous level shifting diode that we put on the FONA and FONA 808breakouts - it turns out it isn't necessary and for microcontrollers with weaker outputs it cankeep the FONA from resetting.

    You can 'bridge' this diode with a piece of wire, its perfectly safe and may give you a littlemore headroom. There's already level shifting inside the modules so there's no risk to thismod.

    Simply solder a small wire between the two pads, or remove the diode and replace with a 0ohm resistor or wire.

    © Adafruit Industries https://learn.adafruit.com/adafruit-fona-mini-gsm-gprs-cellular-phone-module

    Page 59 of 66

    http://forums.adafruit.com/viewtopic.php?f=19&t=58002&p=294235#p294235http://www.adafruit.com/datasheets/SIM808_GPS_Application_Note_V1.00.pdfhttp://www.adafruit.com/datasheets/SIM800 Series_GNSS_Application Note V1.00.pdf

  • © Adafruit Industries https://learn.adafruit.com/adafruit-fona-mini-gsm-gprs-cellular-phone-module

    Page 60 of 66

  • © Adafruit Industries https://learn.adafruit.com/adafruit-fona-mini-gsm-gprs-cellular-phone-module

    Page 61 of 66

  • FONA 808 vs FONA 800We have two different types of GSM modules & shields under the FONA brand name. TheFONA 800 (GSM/GPRS)

    © Adafruit Industries https://learn.adafruit.com/adafruit-fona-mini-gsm-gprs-cellular-phone-module

    Page 62 of 66

  • and the FONA 808 (GSM/GPRS + GPS too)

    © Adafruit Industries https://learn.adafruit.com/adafruit-fona-mini-gsm-gprs-cellular-phone-module

    Page 63 of 66

  • © Adafruit Industries https://learn.adafruit.com/adafruit-fona-mini-gsm-gprs-cellular-phone-module

    Page 64 of 66

  • Here's the key similarities

    Both have a 2G GSM/GPRS cellular coreBoth can do voice, data, textBoth require a LiPoly battery and GSM antennaBoth can use a 3.5mm headsetBoth recharge over the microUSB jackBoth have a buzzer driver

    Here's key differences

    Size: the SIM808 based FONA breakout is larger. Shields are the same sizeThe 808 has a GPS module integrated as wellThe 800 has external 8 ohm speaker driver (external audio) whereas the 808 has onlyheadset audio and 32 ohm speaker driverThe 800 has an FM tuner for listening to radio

    © Adafruit Industries https://learn.adafruit.com/adafruit-fona-mini-gsm-gprs-cellular-phone-module

    Page 65 of 66

  • Handy CommandsHere's a quick list of useful commands that may not be directly supported by the library butare 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 commandsHere's a thread if you're interested in the BT support in the SIM800H (http://adafru.it/rva)(there's no antenna for BT in the SIM800 breakout but it is in the FONA feather)

    © Adafruit Industries Last Updated: 2016-09-28 04:51:43 PM UTC Page 66 of 66

    https://forums.adafruit.com/viewtopic.php?f=54&t=103353

    Guide ContentsOverviewPinoutsConnectorsAntenna portSIM Connector (on Back)Bottom BreakoutsLEDsOther Breakout PinsObtaining a SIMT-Mobile & TINGSome suggestions from FONA users!AssemblyAttaching HeaderPrepare the header strip:Add the breakout board:And Solder!

    Attaching Antenna & BatterySIM CardWiring to USBWire it upDouble Check!

    Test CommandsTest SetupTest Send SMSTest CallArduino WiringWire upArduino TestDownload Adafruit_FONAFONA 3G Baud AdjustmentLoad DemoUsing the Test SketchHardware TestBattery voltageCheck SIM CCIDNetwork TestCheck RSSI (network signal strength)Checking Network RegistrationAudio Settings & TestSet and Get audio volumeSetting Headset or External audioPlaying Toolkit TonesPWM BuzzerPWM/BuzzerPhone CallsMake Phone CallsSMSSend and Read SMSFM Radio (FONA800)FM Radio (FONA 800 only)DownloadsDatasheets & App notesReports & Certificates:FilesPCB PrintSchematicF.A.Q.sFONA 808 vs FONA 800Handy CommandsRI on SMS receiptFactory Reset

    Bluetooth commands