Gsm - Signal test

Hello,

im using an GSM Modul (http://www.amazon.de/SainSmart-Kompatibel-Drahtlos-Module-SIEMENS/dp/B006CHEUSI/ref=sr_1_2?ie=UTF8&qid=1434885471&sr=8-2&keywords=siemens+gsm) to send an SMS when a magnatic switch turns on.

I need to start the networkscan with a pushbutton but i even found a way to automate that.

I am already able to send SMS's but the problem is that i never get an answear of the Modul(I'm using AT commands). I just set the Serialbegin to 9600 which works fine.

My question now: how can I check if the Modul connected succesful to the network? Is there a pin which turns high or low? or i the onliest way to solve the problem of not getting an aswear of the modul?

Thanks here hope anybody can help me:) :confused:

AT+CSQ - Signal strength report?

Thank you for your fast answear.. and the link to that nice tutorial.

I'm despairing... I dont get an answear of the gsm modul... i followed exactly the steps of the tutorial...

Could it be possible that the Modul hasn't got enough power? but it sends sms so i think it should be enough.. please help me.. I dont know what im doin wrong :frowning:

Could it be possible that the Modul hasn't got enough power?

Possible, all the GSM/GPRS units I know of need up to 2 amp when transmitting, depending on signal quality.

I think we need to see some code now?

void setup() {
  Serial.begin(19200);

}

void loop() {
  Serial.println("AT\r");
 delay(1000); 
}

This is the code ... when i send an "AT" to the GSM i should response an OK. But I get back nothing.

My wiring: rx/tx to rx/tx of the arduino(i know its crossed on the GSM) and gnd to gnd and 5v to to VDD.. shuld be right? :s

Greets Jannes

i should response an OK. But I get back nothing.

How would you know? You haven't got any way of reading the response.

Try the following. Connect your modem to pins 7 & 8. Open the serial monitor and Send the AT command.

#include <SoftwareSerial.h>

SoftwareSerial GPRS(7, 8);

void setup()
{
  GPRS.begin(19200);
  Serial.begin(19200);
}

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

Thy .. But i get no answear and my AT i sended i cant even see in the serial Monitor :frowning:

I connected the rx pin of the modem to pin D7 and the tx pin t D8 that right isnt it? :o

janneswa:
I connected the rx pin of the modem to pin D7 and the tx pin t D8 that right isnt it? :o

If in doubt swap them over... D7 is Rx so connect to modem Tx and D8 to modem Rx.

Already done..no diffrence :frowning:

Unfortunately my German isn't good enough to fully understand the Amazon page but it does look like there are some instructions and example code?

Yeah i got the code for the sms out of that commands ... but i cant find a diffrence to my wiring and code ... i dont find my misstakes ...

and i just wonna check if the gsm connected succesful to the network :frowning:

i know that the modul get my commands.. but i cant recieve the answer .. and when i cant recieve the answear i cant check if the netconnection is true :s