Arduino and Sim900 Shield

Although my Arduino and GSM shield appears to be compatible with my new Ting SIM card, I have not been able to send and receive texts even with the simplest of sketches. Anyone have ideas that I may be missing?

0

Comments

14 comments
  • You mention sketches, so you must mean MMS, not text messages. Are the MMS APN settings correct?
    See https://help.ting.com/hc/en-us/articles/205421078-Troubleshooting-GSM-Picture-Video-MMS-Messaging

    0
    Comment actions Permalink
  • Bruce, thanks for the quick response. The Arduino tutorial calls the messages SMS. I assume you know I'm referring to a "development" board vs. a phone. The sketch (programming) is very straight forward, and I don't know why it doesn't work with SMS (MMS). I'm guessing that I'm overlooking something simple. Any additional thoughts? Incidentally, I have a very strong (-71dB) signal where I'm located if that is pertinent.

    0
    Comment actions Permalink
  • SMS is text only and fits between voice messages.
    MMS, used for picture messaging, uses data.

    From a cell network perspective, they are two different things.

    0
    Comment actions Permalink
  • Bruce,

    Forgive my inexperience, does this imply that the Ting SIM won't work with SMS? All I need to send and receive is text. Any additional thoughts on a solution to my problem? Thanks in advance for your help.

    0
    Comment actions Permalink
  • I think SMS should work. Here is the link for SMS troubleshooting.
    https://help.ting.com/hc/en-us/articles/205421978-Troubleshooting-GSM-Text-SMS-Messaging

    0
    Comment actions Permalink
  • I did all of the troubleshooting as you suggested with no change. I did find a mention on a site that indicated to make sure that the PIN be unlocked on the SIM card. Is it unlocked by default and if not how do I go about unlocking it. Thanks for your continued help.

    0
    Comment actions Permalink
  • I have no idea whether tie PIN is unlocked. Ting support should have that answer.
    I am just a user like you.

    If Ting support cannot help, I can email a Ting staff member off-list and hopefully get an answer.

    0
    Comment actions Permalink
  • Bruce, I thought you worked for Ting...sorry. I did discover that the LED on the GSM Shield that I thought indicated it was connected really meant that it is NOT connected to the GSM network. So, it appears that this is the root cause. Thanks for all of you help and patience with me.

    0
    Comment actions Permalink
  • No problem.
    The Ting Army is just a group of users that help out Ting wherever we can.
    See https://help.ting.com/hc/communities/public/questions/203798718-Join-the-Ting-Army-?locale=en-us

    Let me know if you need help with SMS. I can email some GSM staff off-list.

    0
    Comment actions Permalink
  • Let me do some more research to see why the GSM Shield is not connecting with the network, and I may ask for additional help if I'm unsuccessful. Thanks again.

    0
    Comment actions Permalink
  • I have a setup using an UNO with adafruit gsm shield. Their library and simple FONAtest sketch seem to work fine for GSM operations.
    My problem is setting up gprs for data ops.

    0
    Comment actions Permalink
  • For anyone venturing down the Arduino path, we do not have any official support for these devices but we love to help as much as we can. Have you tried posting in the hacks forum? There are a lot of very technologically savvy folk in there that may be able to help you with this. Did you eventually get this working?

    0
    Comment actions Permalink
  • Jason,

    Yes, I was able to make my Arduino/GSM shield works but it was with a different brand of SIM card.

    0
    Comment actions Permalink
  • 2016 Feb 21st... just activated my 1st Ting Sim card to use with my Arduino and Sim900 GPRS sheild.  Every thing went flawless!   For other having difficulties or questions.. I hope the following helps.

    I uploaded this sketch:

    (which may or may not display correctly in this forum)
    =========================================================

    #include <SoftwareSerial.h>
     
    SoftwareSerial GPRS(7, 8);
    unsigned char buffer[64]; // buffer array for data recieve over serial port
    int count=0;     // counter for buffer array
    void setup()
    {
      GPRS.begin(19200);               // the GPRS baud rate   
      Serial.begin(19200);             // the Serial port of Arduino baud rate.
     
    }
     
    void loop()
    {
      if (GPRS.available())              // if date is comming from softwareserial port ==> data is comming from gprs shield
      {
        while(GPRS.available())          // reading data into char array
        {
          buffer[count++]=GPRS.read();     // writing data into array
          if(count == 64)break;
      }
        Serial.write(buffer,count);            // if no data transmission ends, write buffer to hardware serial port
        clearBufferArray();              // call clearBufferArray function to clear the storaged data from the array
        count = 0;                       // set counter of while loop to zero
     
     
      }
      if (Serial.available())            // if data is available on hardwareserial port ==> data is comming from PC or notebook
        GPRS.write(Serial.read());       // write it to the GPRS shield
    }
    void clearBufferArray()              // function to clear buffer array
    {
      for (int i=0; i<count;i++)
        { buffer[i]=NULL;}                  // clear all index of array with command NULL
    }

    ========================================================

    -Opened the serial monitor.

    -Made sure my serial monitor was set for 19200 baud

    -Set Serial Monitor button next to baud for "Carriage Return"

    -Then pressed the power button on the GPRS sheild.
        Modems response to power on is:
         RDY
        +CFUN: 1
        +CPIN: READY
        +PACSP: 1
        Call Ready
        *PSUTTZ: 2016, 2, 21, 19, 1, 58, "-20", 1
        DST: 1

    -I glanced at the lil' flashing green LED on the GPRS sheild... if it is blinking briefly once every 3 seconds then you have good signal and a handshake with the cell tower.  If it is blinking once per second then you have no bad signal.

    -Type into the serial monitor:     ATreply from monitor should be        "OK"

    -For time and date from the cell tower
    Type into the serial monitor:     AT+CCLK?
    reply from monitor should be    +CCLK: "16/02/21,14:10:45-20"
                                                  OK

    How many bars you have ie..
    What is your signal strength
    -Type into the serial monitor:     AT=CSQ
    reply from monitor should be    +CSQ: 8,0
                                                  OK
    go to this website to decode your results:http://m2msupport.net/m2msupport/atcsq-signal-quality/

     

    Have fun!
     

     

     

     

    *No worries about needing the call center ph# or needing a 4 digit PIN. 

    1
    Comment actions Permalink

Please sign in to leave a comment.