Pages: [1]   Go Down
Author Topic: Need some help working with a SM5100b shield  (Read 576 times)
0 Members and 1 Guest are viewing this topic.
Offline Offline
Newbie
*
Karma: 0
Posts: 40
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

I am trying to connect a SM5100b cellular shield from sparkfun with my Mega 2560.

I have followed John Boxall's tutorial. Here is my set-up and issues, any advice is greatly appreciated:

Shield D2 to Mega 19
Shield D3 to Mega 18.

Arduino and Shield powered via a 5V 2A rail.

When I load the pass-through sketch I get:

Starting SM5100b Communication...
Then a bunch of small boxes (empty characters)

I tried both 9600 and 115200 for the Serial1.begin rate.

Can anyone think of something else I can do, or notice anything funny in my setup? Any way to test if the module is bad? I tested each header pin on the shield and they're all good.
« Last Edit: March 13, 2012, 01:54:08 pm by rturk3 » Logged

Maitland, Australia
Offline Offline
Jr. Member
**
Karma: 1
Posts: 88
View Profile
WWW
 Bigger Bigger  Smaller Smaller  Reset Reset

Did you get the issue resolved? I'm at the same point today.

Thanks.
Logged

There are 3 kinds of people in the world. Those who are good at maths, and those who aren't.

Offline Offline
Newbie
*
Karma: 0
Posts: 11
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

It sounds like your sm5100b is configured for 115200 baud which SoftwareSerial doesnt handle.  I had the same issue.  To resolve you need to load a blank sketch onto your arduino (define empty setup() and loop() functions).  And run a jumper from pin 2-3 and 1-4.  then use a terminal application (hyper terminal on win/ screen on mac) and connect to the usb serial device at 115200 baud.

Then send the following command:

AT+IPR=9600

and restart, then you can talk to it at 9600 baud
Logged

Maitland, Australia
Offline Offline
Jr. Member
**
Karma: 1
Posts: 88
View Profile
WWW
 Bigger Bigger  Smaller Smaller  Reset Reset

That was it. Thanks.
Logged

There are 3 kinds of people in the world. Those who are good at maths, and those who aren't.

0
Offline Offline
Full Member
***
Karma: 0
Posts: 205
Arduino rocks
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Hello

I'm getting problems ~ similar to yours.
Please take a look

http://arduino.cc/forum/index.php/topic,52771.msg936520.html#msg936520

Thanks on advance
Pedro Ferrer
Logged

Pages: [1]   Go Up
Jump to: