Adafruit Feather 32u4 FONA Manual Download Page 36

Blink

Now you can upload your first blink sketch!

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

Summary of Contents for 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: ...e In Place Flip Tack Solder And Solder Power Management Battery USB Power Power supplies Measuring Battery ENable pin Alternative Power Options Cellular Power Usage Turning on the FONA Feather Sending...

Page 3: ...stration Audio Settings Test Set and Get audio volume Setting Headset or External audio Playing Toolkit Tones Phone Calls Make Phone Calls SMS Send and Read SMS FM Radio FONA800 FM Radio FONA 800 only...

Page 4: ...Adafruit Industries Page 4 of 58...

Page 5: ...FONA800 module http adafru it 1946 ready to rock We have other boards and accessories in the Feather family check em out here https adafru it l7B At the Feather 32u4 s heart is at ATmega32u4 clocked a...

Page 6: ...equired for use it keeps the cellular module happy during the high current spikes Plug the Feather into microUSB to charge at 500mA Here s some handy specs Like all Feather 32u4 s you get Measures 2 4...

Page 7: ...et or make phone calls with our trusted and tested FONA module At the heart is a GSM cellular module we use the latest SIM800 the size of a postage stamp This module can do just about everything Quad...

Page 8: ...oly Battery 500mAh or larger This 500mAh https adafru it drL battery or this 1200mAh http adafru it 258 will work great MicroUSB cable http adafru it 592 for charging the battery External Antenna We l...

Page 9: ...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: ...e positive voltage to from the micro USB jack if connected EN this is the 3 3V regulator s enable pin It s pulled up so connect to ground to disable the 3 3V regulator Note that the cellular module is...

Page 11: ...also do PWM output Also connected to the FONA s DTR pin if you want to use it for powersaving functionality which is not enabled by default 6 GPIO 6 can also do PWM output and analog input A7 Also con...

Page 12: ...ailable on the breakout and is also connected to the FONA s DTR pin if you want to use it for powersaving functionality which is not enabled by default 6 This pin is available on the breakout and is c...

Page 13: ...t is the bluetooth antenna small white rectangle with red marking At the bottom are the two cell status LEDs The middle PWR LED will light up green whenever the cellular module is active and has good...

Page 14: ...ly labeled Mic Speaker pads At the very bottom is the jumper for the KEY pad cut this to let you control the module s on off key manually By default KEY is tied to ground so the module is always power...

Page 15: ...his lets you plug in the 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 feathe...

Page 16: ...horter and give a more compact shape 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 featherw...

Page 17: ...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: ...ins 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 Solder...

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 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 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 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: ...You re done Check your solder joints visually and continue onto the next steps Power Management Adafruit Industries Page 23 of 58...

Page 24: ...board will reset 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 above shows the Micro USB jack left Lipoly JST jack...

Page 25: ...y chances are you wanna know what the voltage is at That way you can tell when the battery needs recharging Lipoly batteries are maxed out at 4 2V and stick around 3 7V for much of the battery life th...

Page 26: ...ut https adafru it DHu Here s what you cannot do Do not use alkaline or NiMH batteries and connect to the battery port this will destroy the LiPoly charger and there s no way to disable the charger Do...

Page 27: ...aw you ll need to manage with a cellular module 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 s...

Page 28: ...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: ...PRS about 4 seconds 120uAh 480mW 113 mA avg 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 recei...

Page 30: ...thing you will need to do is to download the latest release of the Arduino IDE You will need to be using version 1 8 or higher for this guide Arduino IDE Download https adafru it f1P After you have d...

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...

Page 32: ...available in the Board Manager when you add the URL Adafruit AVR Boards Includes support for Flora Gemma Feather 32u4 ItsyBitsy 32u4 Trinket Trinket Pro Adafruit SAMD Boards Includes support for Feath...

Page 33: ...s Manager by navigating to the Tools Board menu Once the Board Manager opens click on the category drop down menu on the top left hand side of the window and select Contributed You will then be able t...

Page 34: ...d 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 i...

Page 35: ...staller 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...

Page 36: ...e 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...

Page 37: ...nge as you adapt the delay calls Manually bootloading If you ever get in a weird spot with the bootloader or you have uploaded code that crashes and doesn t auto reboot into the bootloader double clic...

Page 38: ...sor 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 gre...

Page 39: ...Open up File Examples Adafruit_FONA FONAtest You ll need to make a simple change to the sketch At the top find these lines include Adafruit_FONA h Don t upload the sketch yet Adafruit Industries Page...

Page 40: ...e FONA_RST 4 and change them to define FONA_RX 9 define FONA_TX 8 define FONA_RST 4 define FONA_RI 7 Once uploaded to your Arduino open up the serial console at 115200 baud speed to begin the tester s...

Page 41: ...an 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 Hardware Test Battery voltage...

Page 42: ...nted on it with C 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 si...

Page 43: ...l 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...

Page 44: ...ck 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...

Page 45: ...sheet 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...

Page 46: ...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 libra...

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: ...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 to 88 1MHz type in 881 For 102 3 type in 1023 Use the f command to open...

Page 50: ...nt to set the audio volume to 0 if you re not using audio output We think it s the ringtone signal coupling in and resetting the SIM card My Feather FONA resets during use There s a few things that se...

Page 51: ...ty delete or comment out that line My Feather never shows up as a COM or Serial port in the Arduino IDE A vast number of Itsy Feather failures are due to charge only USB cables We get upwards of 5 com...

Page 52: ...up the Blink example Examples Basics Blink Select the correct board in the Tools menu e g Feather 32u4 Feather M0 Itsy 32u4 or M0 physically check your board to make sure you have the right one select...

Page 53: ...u have Make sure you select Feather 32u4 for ATMega32u4 based boards Do not use anything else do not use the 32u4 breakout board line If you have a Feather M0 look on the board to read what it is you...

Page 54: ...e COM port disappears this does not happen on my Arduino UNO UNO type Arduinos have a seperate serial port chip aka FTDI chip or Prolific PL2303 etc etc which handles all serial port capability sepera...

Page 55: ...ry is plugged in why is that The charge LED is automatically driven by the Lipoly charger circuit It will try to detect a battery and is expecting one to be attached If there isn t one it may flicker...

Page 56: ...Arduino 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...

Page 57: ...atasheets 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...

Page 58: ...https adafru it vUC SIM800H CE Certificate https adafru it vUD SIM800H CTTL GCF Test Report https adafru it vUE I14Z46950 GPM01 Test Report https adafru it kEi SIM800H PTCRB Test Report https adafru...

Page 59: ...Mouser Electronics Authorized Distributor Click to View Pricing Inventory Delivery Lifecycle Information Adafruit 3027...

Reviews: