0

Problem with feather fona
Moderators: adafruit_support_bill, adafruit

Please be positive and constructive with your questions and comments.

Problem with feather fona

by ecabanas on Tue Feb 02, 2021 3:42 pm

Hi all

I just received my feather fona, and I made a test from testfona library. I changed

#define FONA_RX 9
#define FONA_TX 8
#define FONA_RST 4
#define FONA_RI 7

but the feather after loads the code, did not response, I input the letter but nothing happens.

I setup the serial as 115200baud, and NL & CR
I'm using a Spanish sim but works around the world.
This is the response:
20:30:37.819 -> FONA basic test
20:30:37.819 -> Initializing....(May take 3 seconds)
20:30:37.960 -> Attempting to open comm with ATs
20:30:38.007 -> ---> AT
20:30:38.523 -> <---
20:30:38.570 -> ---> AT
20:30:39.088 -> <---
20:30:39.653 -> ---> AT
20:30:39.981 -> <--- AT
20:30:40.028 -> ---> AT
20:30:40.028 -> <--- AT
20:30:40.075 -> ---> ATE0
20:30:40.123 -> <--- ATE0
20:30:40.262 -> ---> ATE0
20:30:40.309 -> <--- OK
20:30:40.356 -> ---> AT+CVHU=0
20:30:40.403 -> <--- OK
20:30:40.545 -> ---> ATI
20:30:41.155 -> <--- SIM800 R13.08
20:30:41.155 ->
20:30:41.155 -> OK
20:30:41.155 ->
20:30:41.155 -> RDY
20:30:41.155 ->
20:30:41.155 -> +CFUN: 1
20:30:41.155 ->
20:30:41.155 -> ---> AT+GMM
20:30:41.766 -> <--- SIMCOM_SIM800H
20:30:41.766 ->
20:30:41.766 -> OK
20:30:41.766 ->
20:30:41.766 -> +CPIN: READY
20:30:41.766 ->
20:30:41.766 -> ---> AT+CPMS="SM","SM","SM"
20:30:41.860 -> <--- ERROR
20:30:41.860 -> FONA is OK
20:30:41.860 -> Found FONA 800H
20:30:41.908 -> ---> AT+GSN
20:30:42.000 -> <--- 860041044183658
20:30:42.000 -> Module I*******************
20:30:42.000 -> -------------------------------------
20:30:42.000 -> [?] Print this menu
20:30:42.000 -> [a] read the ADC 2.8V max (FONA800 & 808)
20:30:42.000 -> [b] read the Battery V and % charged
20:30:42.000 -> [C] read the SIM CCID
20:30:42.000 -> [U] Unlock SIM with PIN code
20:30:42.000 -> [i] read RSSI
20:30:42.000 -> [n] get Network status
20:30:42.000 -> [v] set audio Volume
20:30:42.000 -> [V] get Volume
20:30:42.000 -> [H] set Headphone audio (FONA800 & 808)
20:30:42.000 -> [e] set External audio (FONA800 & 808)
20:30:42.000 -> [T] play audio Tone
20:30:42.000 -> [P] PWM/Buzzer out (FONA800 & 808)
20:30:42.000 -> [f] tune FM radio (FONA800)
20:30:42.000 -> [F] turn off FM (FONA800)
20:30:42.000 -> [m] set FM volume (FONA800)
20:30:42.000 -> [M] get FM volume (FONA800)
20:30:42.000 -> [q] get FM station signal level (FONA800)
20:30:42.000 -> [c] make phone Call
20:30:42.000 -> [A] get call status
20:30:42.000 -> [h] Hang up phone
20:30:42.000 -> [p] Pick up phone
20:30:42.000 -> [N] Number of SMSs
20:30:42.000 -> [r] Read SMS #
20:30:42.000 -> [R] Read All SMS
20:30:42.000 -> [d] Delete SMS #
20:30:42.000 -> [s] Send SMS
20:30:42.000 -> [u] Send USSD
20:30:42.000 -> [y] Enable network time sync (FONA 800 & 808)
20:30:42.000 -> [Y] Enable NTP time sync (GPRS FONA 800 & 808)
20:30:42.000 -> [t] Get network time
20:30:42.000 -> [G] Enable GPRS
20:30:42.000 -> [g] Disable GPRS
20:30:42.000 -> [l] Query GSMLOC (GPRS)
20:30:42.000 -> [w] Read webpage (GPRS)
20:30:42.000 -> [W] Post to website (GPRS)
20:30:42.000 -> [S] create Serial passthru tunnel
20:30:42.000 -> -------------------------------------
20:30:42.000 ->
20:30:42.000 -> FONA>
20:30:42.326 -> Call Ready
20:30:42.983 ->
20:30:42.983 -> SMS Ready

thanks for your help guys

Eduard

ecabanas
 
Posts: 3
Joined: Fri Dec 29, 2017 7:57 am

Re: Problem with feather fona

by adafruit_support_mike on Thu Feb 04, 2021 1:36 am

If you're using the Feather FONA, use the hardware Serial pins instead of pins 8 and 9.

The ATmega32u4 on the Feather FONA handles USB internally, so the hardware Serial pins are free for other uses as interface Serial1. When possible, it's always better to use harware Serial than the SoftwareSerial library.

adafruit_support_mike
 
Posts: 63053
Joined: Thu Feb 11, 2010 2:51 pm

Re: Problem with feather fona

by ecabanas on Thu Feb 04, 2021 7:44 am

Hi @adafruit_support_mike

Please could you explain to me a little bit? I'm new on this matters and I have no idea what are you telling me ;)
Another thing that I detect is, If the battery plugs off sometimes the program works, but If I plug in the batt, the system freezes.

Thanks for your patience

Eduard

ecabanas
 
Posts: 3
Joined: Fri Dec 29, 2017 7:57 am

Please be positive and constructive with your questions and comments.