Adafruit Feather 32u4 FONA Manual
Hide thumbs Also See for Feather 32u4 FONA:

Advertisement

Quick Links

Adafruit Feather 32u4 FONA
Created by lady ada
https://learn.adafruit.com/adafruit-feather-32u4-fona
Last updated on 2021-11-15 06:38:53 PM EST
©Adafruit Industries
Page 1 of 58

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the Feather 32u4 FONA and is the answer not in the manual?

Questions and answers

Summary of Contents for Adafruit Feather 32u4 FONA

  • Page 1 Adafruit Feather 32u4 FONA Created by lady ada https://learn.adafruit.com/adafruit-feather-32u4-fona Last updated on 2021-11-15 06:38:53 PM EST ©Adafruit Industries Page 1 of 58...
  • Page 2: Table Of Contents

    Manually bootloading • Ubuntu & Linux Issue Fix FONA Test • Download Adafruit_FONA • Wire up and Power! • Load Demo • Using the Test Sketch Hardware Test • Battery voltage • Check SIM CCID ©Adafruit Industries Page 2 of 58...
  • Page 3 Make Phone Calls • Send and Read SMS FM Radio (FONA800) • FM Radio (FONA 800 only) Feather FONA FAQ Feather HELP! Downloads • Datasheets & Files • Schematic • Fabrication Print • Datasheets: ©Adafruit Industries Page 3 of 58...
  • Page 4 ©Adafruit Industries Page 4 of 58...
  • Page 5: Overview

    Overview Feather is the new development board from Adafruit, and like its namesake it is thin, light, and lets you fly! We designed Feather to be a new standard for portable microcontroller cores. This is the Adafruit Feather 32u4 FONA - our take on an 'all-in-one' Arduino- compatible + audio/sms/data capable cellular with built in USB and battery charging.
  • Page 6 Here's some handy specs! Like all Feather 32u4's you get: • Measures 2.4" x 0.9" x 0.28" (51mm x 23mm x 8mm) without headers soldered in • Light as a (large?) feather - 8.2 grams • ATmega32u4 @ 8MHz with 3.3V logic/power ©Adafruit Industries Page 6 of 58...
  • Page 7 Send and receive GPRS data (TCP/IP, HTTP, etc.) • Scan and receive FM radio broadcasts (yeah, we don't exactly know why this was included but it works really well) • AT command interface with "auto baud" detection ©Adafruit Industries Page 7 of 58...
  • Page 8 SMA adapter cable (http://adafru.it/851) so you can connect to your SMA antenna • External Mic & Speaker - If you want to make phone calls, you'll also need this electret mic (https://adafru.it/dDa) mini 8 ohm speaker (https://adafru.it/dDb) ©Adafruit Industries Page 8 of 58...
  • Page 9: Pinouts

    Pinouts The Feather 32u4 FONA is chock-full of microcontroller goodness. There's also a lot of pins and ports. We'll take you a tour of them now! ©Adafruit Industries Page 9 of 58...
  • Page 10: Power Pins

    3.3V regulator. Note that the cellular module is powed by VBAT so this will only disable the microcontroller • 3V - this is the output from the 3.3V regulator, it can supply 500mA peak ©Adafruit Industries Page 10 of 58...
  • Page 11: Logic Pins

    A0 thru A5 - These are each analog input as well as digital I/O pins. • SCK/MOSI/MISO - These are the hardware SPI pins. Also used to reprogram the chip with an AVR programmer if you need. Cellular Module ©Adafruit Industries Page 11 of 58...
  • Page 12: Other Pins

    Key - this is by default tied to ground, cut the trace on the bottom and wire to a microcontroller pin to manually turn the module on and off. (Pulse low for a few ©Adafruit Industries Page 12 of 58...
  • Page 13: Fona Connections & Leds

    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 ©Adafruit Industries Page 13 of 58...
  • Page 14: Assembly

    We ship Feathers fully tested but without headers attached - this gives you the most flexibility on choosing how to use and configure your Feather Header Options! Before you go gung-ho on soldering, there's a few options to consider! ©Adafruit Industries Page 14 of 58...
  • Page 15 Feather into a solderless breadboard Another option is to go with socket female headers. This won't let you plug the Feather into a breadboard but it will let you attach featherwings very easily ©Adafruit Industries Page 15 of 58...
  • Page 16 Finally, there's the "Stacking Header" option. This one is sort of the best-of- both-worlds. You get the ability to plug into a solderless breadboard and plug a featherwing on top. But its a little bulky ©Adafruit Industries Page 16 of 58...
  • Page 17: Soldering In Plain Headers

    Soldering in Plain Headers 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 Page 17 of 58...
  • Page 18: Add The Breakout Board

    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 Page 18 of 58...
  • Page 19 Solder the other strip as well. You're done! Check your solder joints visually and continue onto the next steps ©Adafruit Industries Page 19 of 58...
  • Page 20: Soldering On Female Header

    Soldering on Female Header Tape In Place For sockets you'll want to tape them in place so when you flip over the board they don't fall out ©Adafruit Industries Page 20 of 58...
  • Page 21: Flip & Tack Solder

    Flip & Tack Solder After flipping over, solder one or two points on each strip, to 'tack' the header in place ©Adafruit Industries Page 21 of 58...
  • Page 22: And Solder

    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 Page 22 of 58...
  • Page 23: Power Management

    You're done! Check your solder joints visually and continue onto the next steps Power Management ©Adafruit Industries Page 23 of 58...
  • Page 24: Battery + Usb Power

    So, yeah. Use a battery! It will keep topped up when using USB, and allow the cellular module to draw current spikes without issue The JST connector polarity is matched to Adafruit LiPoly batteries. Using wrong polarity batteries can destroy your Feather The above shows the Micro USB jack (left), Lipoly JST jack (top left), as well as the 3.3V regulator and changeover diode (just to the right of the JST jack) and the Lipoly...
  • Page 25: Power Supplies

    If you'd like to turn off the 3.3V regulator, you can do that with the EN(able) pin. Simply tie this pin to Ground and it will disable the 3V regulator. The BAT and USB pins will still be powered ©Adafruit Industries Page 25 of 58...
  • Page 26: Alternative Power Options

    Connect an external 5V power supply to the USB and GND pins. Not recommended, this may cause unexpected behavior when plugging in the USB port because you will be back-powering the USB port, which could confuse or damage your computer. ©Adafruit Industries Page 26 of 58...
  • Page 27: Cellular Power Usage

    Here's some power traces for common events with a cellular module: Turning on the FONA Feather Booting cell module + connecting to network Sending an SMS send SMS: 6.5s, 150uAh, 300mW, 52mA recv sms: 6.5s, 140uAh, 330mW, 78mA ©Adafruit Industries Page 27 of 58...
  • Page 28: Enabling Gprs

    Enabling GPRS enabling GPRS: about 8 seconds, 850uAh, 300mW, 70mA avg TCPIP connection grab mini webpage: 4.5 sec, 203uAh, 650mW, 150mA avg ©Adafruit Industries Page 28 of 58...
  • Page 29: Sending An Mqtt Packet (About 200 Bytes)

    You can put the FONA into sleep mode (with the AT+CSCLK command) which will drop the current draw but keep the cellular connection open so you can still receive an SMS and/or wakeup quickly. ©Adafruit Industries Page 29 of 58...
  • Page 30: Arduino Ide Setup

    After you have downloaded and installed the latest version of Arduino IDE, you will need to start the IDE and navigate to the Preferences menu. You can access it from the File menu in Windows or Linux, or the Arduino menu on OS X. ©Adafruit Industries Page 30 of 58...
  • Page 31 URLs is comma separated, and you will only have to add each URL once. New Adafruit boards and updates to existing boards will automatically be picked up by the Board Manager each time it is opened. The URLs point to index files that the Board Manager uses to build the list of available &...
  • Page 32 Manager URLs option in the Arduino IDE preferences. https://adafruit.github.io/arduino-board-index/ package_adafruit_index.json Here's a short description of each of the Adafruit supplied packages that will be available in the Board Manager when you add the URL: • Adafruit AVR Boards - Includes support for Flora, Gemma, Feather 32u4, ItsyBitsy 32u4, Trinket, &...
  • Page 33: Using With Arduino Ide

    Contributed. You will then be able to select and install the boards supplied by the URLs added to the prefrences. In the example below, we are installing support for Adafruit AVR Boards, but the same applies to all boards installed with the Board Manager.
  • Page 34: Install Drivers (Windows 7 Only)

    When you plug in the Feather, you'll need to possibly install a driver Windows 10 folks can skip this, the drivers now come built into Windows 10! Click below to download our Driver Installer Download Adafruit Drivers Installer https://adafru.it/AB0 Download and run the installer ©Adafruit Industries...
  • Page 35 Run the installer! Since we bundle the SiLabs and FTDI drivers as well, you'll need to click through the license Select which drivers you want to install: Click Install to do the installin' ©Adafruit Industries Page 35 of 58...
  • Page 36: Blink

    Plug in the Feather 32u4 and wait for it to be recognized by the OS (just takes a few seconds). It will create a serial/COM port, you can now select it from the dropdown, it'll even be 'indicated' as Feather 32u4! Now load up the Blink example ©Adafruit Industries Page 36 of 58...
  • Page 37: Manually Bootloading

    Yellow Arrow lit and the Uploadin g... text in the status bar. Don't click the reset button before uploading, unlike other bootloaders you want this one to run at the time Arduino is trying to upload ©Adafruit Industries Page 37 of 58...
  • Page 38: Ubuntu & Linux Issue Fix

    To begin reading sensor data, you will need to download the Adafruit_FONA Library from the Arduino library manager. Open up the Arduino library manager: Search for the Adafruit FONA library and install it We also have a great tutorial on Arduino library installation at: http://learn.adafruit.com/adafruit-all-about-arduino-libraries-install-use (https:// adafru.it/aYM)
  • Page 39: Load Demo

    Load Demo Open up File->Examples->Adafruit_FONA->FONAtest Don't upload the sketch yet! You'll need to make a simple change to the sketch. At the top find these lines: #include "Adafruit_FONA.h" ©Adafruit Industries Page 39 of 58...
  • Page 40 #define FONA_RST 4 and change them to: #define FONA_RX #define FONA_TX #define FONA_RST 4 #define FONA_RI Once uploaded to your Arduino, open up the serial console at 115200 baud speed to begin the tester sketch ©Adafruit Industries Page 40 of 58...
  • Page 41: Using The Test Sketch

    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 ©Adafruit Industries Page 41 of 58...
  • Page 42: Check Sim Ccid

    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 ©Adafruit Industries Page 42 of 58...
  • Page 43: 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 Page 43 of 58...
  • Page 44: Audio Settings & Test

    To 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 Page 44 of 58...
  • Page 45: Playing Toolkit Tones

    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!) ©Adafruit Industries Page 45 of 58...
  • Page 46: Sms

    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 ©Adafruit Industries Page 46 of 58...
  • Page 47 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 You can read individual SMS's with r ©Adafruit Industries Page 47 of 58...
  • Page 48 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 empty slot. SMS number #3 doesn't "move slots"! ©Adafruit Industries Page 48 of 58...
  • Page 49: Fm Radio (Fona800)

    You can open and tune to an FM frequency in units of 100KHz. So if you want to tune to 88.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 Page 49 of 58...
  • Page 50: Feather Fona Faq

    Keep it charged, it acts as the main power source for the cell module Antenna is too close to the Feather. The antenna is a radiator of massive amounts of RF keep its as far away as possible from the Feather itself. If you ©Adafruit Industries Page 50 of 58...
  • Page 51: Feather Help

    They tend to be low quality in general, and will only confuse you and others later, just get a good data+charge USB cable. A quality USB port is critical. Avoid plugging into USB keyboards and when possible use a USB-2 HUB to avoid USB3 issues.  ©Adafruit Industries Page 51 of 58...
  • Page 52 LED that tells you its now in bootloading mode The board will show up as the Bootloader COM/Serial port The IDE should see the bootloader COM/Serial port and upload properly ©Adafruit Industries Page 52 of 58...
  • Page 53 Feather M0 - do not use 32u4 or Arduino Zero If you have a ItsyBitsy M0 (look on the board to read what it is you have) Make sure you select ItsyBitsy M0 - do not use 32u4 or Arduino Zero ©Adafruit Industries Page 53 of 58...
  • Page 54 This is likely because the bootloader is not kicking in and you are accidentally trying to upload to the wrong COM port The best solution is what is detailed above: manually upload Blink or a similar working sketch by hand by manually launching the bootloader ©Adafruit Industries Page 54 of 58...
  • Page 55 Do the reset button double-press right as the Arduino IDE says its attempting to upload the sketch, when you see the Yellow Arrow lit and the Uploadin g... text in the status bar. ©Adafruit Industries Page 55 of 58...
  • Page 56: Downloads

    Library (https://adafru.it/ncj) • Adafruit Feather 32u4 PCB files (https://adafru.it/nck) • Fritzing object available in the Adafruit Fritzing Library (https://adafru.it/aP3) The huge number of relevant app notes and datasheets for the SIM800H cellular module are over here in the FONA 800 tutorial (https://adafru.it/qpf) Feather 32u4 FONA Pinout Diagram https://adafru.it/z3B...
  • Page 57: Schematic

    Click to enlarge Fabrication Print Dimensions in Inches Datasheets: • SIM800 Command Manual (https://adafru.it/vTb) - All the basic commands that the module supports • SIM800 Hardware Design (https://adafru.it/kDW) • SIM800 Sleep App Note (https://adafru.it/vTc) • SIM800 Embedded AT App Note (https://adafru.it/vTd) ©Adafruit Industries Page 57 of 58...
  • Page 58 SIM800H SAFETY Test Report (https://adafru.it/vVC) • SIM800H EPL Certificate (https://adafru.it/vVD) • 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) • TCB (https://adafru.it/jSA) ©Adafruit Industries Page 58 of 58...
  • Page 59 Mouser Electronics Authorized Distributor Click to View Pricing, Inventory, Delivery & Lifecycle Information: Adafruit 3027...

Table of Contents