botletics / SIM7000-LTE-Shield

Botletics SIM7000 LTE CAT-M1/NB-IoT Shield for Arduino
https://www.botletics.com/products/sim7000-shield
GNU General Public License v3.0
482 stars 215 forks source link

couldn't find fona #273

Open decklito opened 3 years ago

decklito commented 3 years ago

FONA basic test Initializing....(May take several seconds) Configuring to 9600 baud Attempting to open comm with ATs ---> AT <--- ---> AT <--- ---> AT <--- ---> AT <--- ---> AT <--- ---> AT <--- ---> AT <--- ---> AT <--- ---> AT <--- ---> AT <--- ---> AT <--- ---> AT <--- ---> AT <--- ---> AT <--- ---> AT <--- ---> AT <--- ---> AT <--- ---> AT <--- ---> AT <--- ---> AT <--- ---> AT <--- ---> AT <--- ---> AT <--- ---> AT <--- ---> AT <--- ---> AT <--- ---> AT <--- ---> AT <--- Timeout: No response to AT... last ditch attempt. ---> AT <--- ---> AT <--- ---> AT <--- ---> ATE0 <--- ---> ATE0 <--- Couldn't find FONA

I have arduino uno, sim7000E, hologram simcard, lipo battery connected on the right way, the green power led lighted up, pin 10 and 11 of sim7000E soldered to pin 10 and 11 of arduino uno. i didn't change the code of LTE Demo. What's the problem? thanks for your project.

willburk97 commented 3 years ago

You probably need the 5v and the Gnd as well...for the logic level changer. (I assume you're turning on the SIM7000 manually since you didn't connect the pwr line?) -Will


From: decklito @.> Sent: Thursday, October 21, 2021 3:34:25 AM To: botletics/SIM7000-LTE-Shield @.> Cc: Subscribed @.***> Subject: [botletics/SIM7000-LTE-Shield] couldn't find fona (Issue #273)

FONA basic test Initializing....(May take several seconds) Configuring to 9600 baud Attempting to open comm with ATs ---> AT <--- ---> AT <--- ---> AT <--- ---> AT <--- ---> AT <--- ---> AT <--- ---> AT <--- ---> AT <--- ---> AT <--- ---> AT <--- ---> AT <--- ---> AT <--- ---> AT <--- ---> AT <--- ---> AT <--- ---> AT <--- ---> AT <--- ---> AT <--- ---> AT <--- ---> AT <--- ---> AT <--- ---> AT <--- ---> AT <--- ---> AT <--- ---> AT <--- ---> AT <--- ---> AT <--- ---> AT <--- Timeout: No response to AT... last ditch attempt. ---> AT <--- ---> AT <--- ---> AT <--- ---> ATE0 <--- ---> ATE0 <--- Couldn't find FONA

I have arduino uno, sim7000E, hologram simcard, lipo battery connected on the right way, the green power led lighted up, pin 10 and 11 of sim7000E soldered to pin 10 and 11 of arduino uno. i didn't change the code of LTE Demo. What's the problem? thanks for your project.

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHubhttps://github.com/botletics/SIM7000-LTE-Shield/issues/273, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AJQ2DES46HMQ5TNCGHMKJNDUH67ADANCNFSM5GNNMH6Q. Triage notifications on the go with GitHub Mobile for iOShttps://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675 or Androidhttps://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub.

decklito commented 3 years ago

i attach a pic to show you my hardware. I have all soldered and i use the cable. IMG

botletics commented 3 years ago

Phase check the physical pin connections for pins 10-11. It may also be that those pins are a bit loose in the Arduino headers.

Jen-n14 commented 1 year ago

Hi! I would like to ask for help about my project. I am making a flood monitoring system with sms notification usinh arduino uno r3, gsm 900a module and water level sensor. Below is the wiring of my system. I tried uploading the code and it was successful yet my serial monitor says couldn't find fona. May I know what can I do to solve the issue?

Your help will be greatly appreciated💗

Code: //Tech Trends Shameer //Flood Alert Call and SMS

include

include "Adafruit_FONA.h"

define FONA_RX 2

define FONA_TX 3

define FONA_RST 4

int resval = 0; // holds the value int respin = A3; // Water Level Sensor Pin

define FONA_RI_INTERRUPT 0

SoftwareSerial fonaSS = SoftwareSerial(FONA_TX, FONA_RX);

Adafruit_FONA fona = Adafruit_FONA(FONA_RST);

char PHONE_1[21] = ""; // Enter your Mobile Number

char tempalert[141]= "Flood Alert" ; void setup() { // pinMode(gas_sensor_pin,INPUT); Serial.begin(115200); // dht.begin(); Serial.println(F("Initializing....(May take 3 seconds)")); delay(5000); fonaSS.begin(9600); // if you're using software serial if (! fona.begin(fonaSS)) { // can also try fona.begin(Serial1) Serial.println(F("Couldn't find FONA")); while (1); }

fona.print ("AT+CSMP=17,167,0,0\r"); Serial.println(F("FONA is OK")); //fona.sendSMS(PHONE_1, welcomemessage); // pinMode(gas_sensor_pin, INPUT);

}

void loop(){

resval = analogRead(respin);

Serial.print("Water Level:"); Serial.println(resval);

if(resval>200 ) { Serial.println("Flood Alert"); make_multi_call(); send_multi_sms(); }

}

void send_multi_sms() { if(PHONE_1 != ""){ Serial.print("Phone 1: "); fona.sendSMS(PHONE_1,tempalert); delay(20000); }

} void make_multi_call() { if(PHONE_1 != ""){ Serial.print("Phone 1: "); make_call(PHONE_1); delay(20000); }

}

void make_call(String phone) { Serial.println("calling...."); fona.println("ATD"+phone+";"); delay(20000); //20 sec delay fona.println("ATH"); delay(1000); //1 sec delay }

Wiring : S -> A3

-> 5v -> GND Rx -> tx of arduino Tx -> rx of arduino VCC -> 5v GND -> GND Untitled21_20230510210554 IMG_20230409_212005 IMG_20230414_124223 IMG_20230414_124232 IMG_20230414_124607_edit_59153718843055 IMG_20230414_132336 IMG_20230414_132344