SM5100 boot problem ...

HI all,

I just got my SM5100 module and tried it with this script:

/* SparkFun Cellular Shield - Pass-Through Sample Sketch
SparkFun Electronics Written by Ryan Owens CC by v3.0 3/8/10
Thanks to Ryan Owens and Sparkfun for sketch */
#include <NewSoftSerial.h>  //Include the NewSoftSerial library to send serial commands to the cellular module.
#include <string.h>         //Used for string manipulations
char incoming_char=0;      //Will hold the incoming character from the Serial Port.
NewSoftSerial cell(2,3);  //Create a 'fake' serial port. Pin 2 is the Rx pin, pin 3 is the Tx pin.
void setup()
{
  //Initialize serial ports for communication.
Serial.begin(9600);
cell.begin(9600);
Serial.println("Starting SM5100B Communication...");
}
void loop()
{
//If a character comes in from the cellular module...
if(cell.available() >0)
{
incoming_char=cell.read();    //Get the character from the cellular serial port.
Serial.print(incoming_char);  //Print the incoming character to the terminal.
}
//If a character is coming from the terminal to the Arduino...
if(Serial.available() >0)
{
incoming_char=Serial.read();  //Get the character coming from the terminal
cell.print(incoming_char);    //Send the character to the cellular module.
}
}

At first it didn’t work… i had to set the baudrate to 9600 (AT+IPR=9600)

After that it worked nice and i got the right output.

Except that I got +SIND: 7 (only emergency calls).

So i started to change the band with AT+SBAND=[0-10]…

But i didn’t get a +SIND: 8 or 11 , just 7.

After that i checked out some commands to see if i could get a connection.

Now if i reset the device and arduino , i see the following:

Starting SM5100B Communication...

!*!*!*!*

+STIN:0

And nothing happens…

PLEASE Help !!!

Got it working again …

i had to manualy connect to my network … after that it worked again …

AT+COPS=1,2,20416

AT+SLOG=1

Hi Bitwise,

I tried to change the AT+SBIND=7 and when i tried to excute the command… i get no indications that it works.

Just repeats:

Starting SM5100B Communication…

+SIND: 1

+SIND: 10,“SM”,1,“FD”,1,“LD”,1,“MC”,1,“RC”,1,“ME”,1

+SIND: 3

+SIND: 8

+SIND: 4

Any ideas on why this might be happening?

Thanks

Tony

I am using the same sample code and I am having a similar problem except that i dont get anything after it says

“Starting SM5100B Communication…”

How did you change the baud rate? I have been reading and searching for hours and I cant figure out how to do this.

Please help me out

Thanks,

Tom

tspedaliere, I got it figured out last night. I noticed in your code you wrote “AT+BIND=7” Change that to AT+BAND=7 and you should be good.