Go Down

Topic: MKR 1400 modem died? (Read 542 times) previous topic - next topic

elisedd

Hi,

after a further debuging session yesterday trying to figure out how to get the SIM enabeld again ( see thread https://forum.arduino.cc/index.php?topic=593726.0) I had some new "insides" with the AT+USIMSTAT command... It reports 0 (no SIM present) but I logged in before with AT+CPIN. After the +USIMSTAT I was - how ever able to login to the network with a AT+COPS=0.

I was happy to find the error - but unfortunatly not very long. After a reset of the modem it seems that the modem died. Even with the passthrue  programm I'm now not able to access the modem anymore. After a couple of AT's it just sends back an returned qustionmark.

For me it looks like a bit that somthing screwed up the bautrate settings of the Modem. How ever changing that on adruino site doesn't help.

Does anyone have an Idea?

smgs

Hi Elisedd, are you using the included examples for the MKR GSM 1400, pretty positive there is a sketch in there to reset the BAUD rate.

What happens if you load a different example like blink, can you make the onboard LED flash?

Cheers

elisedd

#2
Feb 05, 2019, 01:39 pm Last Edit: Feb 05, 2019, 03:16 pm by elisedd
Yes I used a couple of the included examples - none of them are working anymore... And as I said - with the passthrue example I only get this "¿" back after some AT's... The other stall normaly after "MODEM.begin()"

lavignema

Try this sketch. It allows you to pass modem commands directly from the serial interface. Be sure to set the serial interface to terminate with carriage return and newline or the AT commands will not be interpreted by the modem.

Code: [Select]

unsigned long baud = 9600;

void setup() {
  // reset the ublox module
  pinMode(GSM_RESETN, OUTPUT);
  digitalWrite(GSM_RESETN, HIGH);
  delay(100);
  digitalWrite(GSM_RESETN, LOW);

  Serial.begin(baud);
  SerialGSM.begin(baud);

}

void loop() {
  if (Serial.available()) {
    SerialGSM.write(Serial.read());
  }

  if (SerialGSM.available()) {
    Serial.write(SerialGSM.read());
  }
}

Go Up