Git Product home page Git Product logo

Comments (35)

GoogleCodeExporter avatar GoogleCodeExporter commented on June 25, 2024
Well, you should create a jumper between the pin 4 and 5 of shield and 2 and 3 
of Mega. You have to be sure the pin 4 and 5 of shield are connected only with 
2 and 3 of Mega (for example by cutting the metallic part of these pins). Then 
you modify the library in gsm.cpp and set the pin 2 and 3. Then it should work.

Original comment by [email protected] on 5 Apr 2012 at 3:02

from gsm-shield-arduino.

GoogleCodeExporter avatar GoogleCodeExporter commented on June 25, 2024
did not work.

Original comment by [email protected] on 10 Apr 2012 at 6:55

from gsm-shield-arduino.

GoogleCodeExporter avatar GoogleCodeExporter commented on June 25, 2024
Can you write STEP by STEP what did you do? So we can find the error. Marco

Original comment by [email protected] on 10 Apr 2012 at 9:41

from gsm-shield-arduino.

GoogleCodeExporter avatar GoogleCodeExporter commented on June 25, 2024
I've isolated the pins 4 and 5 do not connect the shield for Arduino.
Then I put two jumps to pins 2 and 3 of the shield for the Arduino.
My gsm.cpp is as follows:
/ / De-comment this two lines below if you have the
/ / second version og GSM GPRS Shield
# define _GSM_TXPIN_ 2
# define _GSM_RXPIN_ 3

get:
DB No response

I'm very preoccupied failing to. because I have little time to complete the 
project.

Original comment by [email protected] on 10 Apr 2012 at 9:53

from gsm-shield-arduino.

GoogleCodeExporter avatar GoogleCodeExporter commented on June 25, 2024

Original comment by [email protected] on 10 Apr 2012 at 10:20

Attachments:

from gsm-shield-arduino.

GoogleCodeExporter avatar GoogleCodeExporter commented on June 25, 2024
Ok man :)... The pin 2 and 3 are of Arduino Mega :P

Original comment by [email protected] on 11 Apr 2012 at 8:44

from gsm-shield-arduino.

GoogleCodeExporter avatar GoogleCodeExporter commented on June 25, 2024
The connections are right?
What can I do?

Original comment by [email protected] on 11 Apr 2012 at 1:34

from gsm-shield-arduino.

GoogleCodeExporter avatar GoogleCodeExporter commented on June 25, 2024
Sorry I did a mistake, SoftwareSerial doesn't work on pin 2 and ...
"on the Mega and Mega 2560, NewSoftSerial will only be able to receive on pins

10, 11, 12, 13,
50, 51, 52, 53,
and 62, 63, 64, 65, 66, 67, 68, 69"

So try with 10,11 (rember to try also 11,10 with the opposite order if you 
aren't sure about RX and TX, it's easy to do mistakes)
or other pairs in the list above...
Otherwise we can use the hardware serial...

Original comment by [email protected] on 11 Apr 2012 at 3:42

from gsm-shield-arduino.

GoogleCodeExporter avatar GoogleCodeExporter commented on June 25, 2024
I use SoftwareSerial.
NewSoftSerial does not work in arudino mega2560

gsm.cpp:

# define _GSM_TXPIN_ 10
# define _GSM_RXPIN_ 11

pin 4 of the shield connected to pin 10 of Arduino pin 5 of the shield 
connected to pin 11 of Arduino, but not works:

DB NO RESPONSE ...

how to use the hardware serial?
I put the key to HW, but still does not work

Original comment by [email protected] on 11 Apr 2012 at 4:01

from gsm-shield-arduino.

GoogleCodeExporter avatar GoogleCodeExporter commented on June 25, 2024
Try this, in GSM.h line 183

  protected:
    //SoftwareSerial _cell;
    Serial1.begin(9600);

and do a "Find & Replace" in all documents (use Notepad++) to substitute _cell 
with Serial1 and connect cables to Serial1 on pins 19 (RX) and 18 (TX)


Original comment by [email protected] on 11 Apr 2012 at 4:38

from gsm-shield-arduino.

GoogleCodeExporter avatar GoogleCodeExporter commented on June 25, 2024
\arduino-1.0\libraries\SIM900IDE100/GSM.h:185: error: expected ';' before '.' 
token...

Original comment by [email protected] on 11 Apr 2012 at 5:27

from gsm-shield-arduino.

GoogleCodeExporter avatar GoogleCodeExporter commented on June 25, 2024

  protected:
    //SoftwareSerial _cell;
    Serial1.begin(9600);
    int isIP(const char* cadena);

  public:

Original comment by [email protected] on 11 Apr 2012 at 5:37

from gsm-shield-arduino.

GoogleCodeExporter avatar GoogleCodeExporter commented on June 25, 2024
I'm going to check it on the weekend ;)

Original comment by [email protected] on 11 Apr 2012 at 9:59

from gsm-shield-arduino.

GoogleCodeExporter avatar GoogleCodeExporter commented on June 25, 2024
Arduino Duemilanove is compatible with this shield ?

Original comment by [email protected] on 11 Apr 2012 at 10:03

from gsm-shield-arduino.

GoogleCodeExporter avatar GoogleCodeExporter commented on June 25, 2024
Yes

Original comment by [email protected] on 11 Apr 2012 at 10:06

from gsm-shield-arduino.

GoogleCodeExporter avatar GoogleCodeExporter commented on June 25, 2024
It is easier to use the Arduino Duemilanove than mega?
And buying arduino uno? Just connect it work?

Original comment by [email protected] on 12 Apr 2012 at 11:06

from gsm-shield-arduino.

GoogleCodeExporter avatar GoogleCodeExporter commented on June 25, 2024
Yes just connecting

Original comment by [email protected] on 14 Apr 2012 at 3:57

from gsm-shield-arduino.

GoogleCodeExporter avatar GoogleCodeExporter commented on June 25, 2024
Hi,
I'm having the same problem as reported here:
GSM Shield testing.
DB:NO RESP
DB:NO RESP
DB:NO RESP
ERROR: SIM900 doesn't answer. Check power and serial pins in GSM.cpp

status=IDLE

The only difference is I'm using an Arduino Uno board with iComSat SIM900 with 
GSM/GPRS. The library I'm using is GSM_GPRS_IDE100_v309


Based on the email thread here, I'm not able to figure out what exactly should 
I try to resolve this problem. Can you please help?

Greatly appreciate you'll providing this library and the help!

Thanks,
RS

Original comment by RSutaria on 27 Apr 2012 at 7:20

from gsm-shield-arduino.

GoogleCodeExporter avatar GoogleCodeExporter commented on June 25, 2024
This library is developed for GSM Shield of Futura. I never used IComSat so I 
don't know how it works. 
However you should connect the Serial of SIM900 to the pins 4 and 5...

Original comment by [email protected] on 27 Apr 2012 at 9:52

from gsm-shield-arduino.

GoogleCodeExporter avatar GoogleCodeExporter commented on June 25, 2024
Thanks for your prompt reply. When you say "connect the Serial of SIM900 to the 
pins 4 and 5" - can you please elaborate a bit? Sorry, I'm not from an 
electronics background but from a computer science background. Hence, I'm not 
fully aware how to connect the serial of SIM900 to pins 4 and 5. 
Do you mean, I should change GSM.cpp as follows?
# define _GSM_TXPIN_ 4
# define _GSM_RXPIN_ 5

Thanks

Original comment by RSutaria on 27 Apr 2012 at 10:18

from gsm-shield-arduino.

GoogleCodeExporter avatar GoogleCodeExporter commented on June 25, 2024
I mean the physical connection (with the cables). I don't know which pins 
IComSat uses for communicate, but that pins have to be connected to the 4 and 5 
of Arduino Uno.

Original comment by [email protected] on 27 Apr 2012 at 10:26

from gsm-shield-arduino.

GoogleCodeExporter avatar GoogleCodeExporter commented on June 25, 2024
I see what you mean. The IComSat spec sheet is here:
http://iteadstudio.com/store/images/produce/Shield/IComSat/icomsat_DS1.2.pdf
on page 5 they same to be giving some pin options for Tx and Rx. In Fig 6 they 
have said pins 4 and 6 are for software-serial connection.

The IComSat has some jumpers to change the UART connection settings. Can I not 
just change the jumper settings or do I have to actually do some cable 
soldering, etc to make this library work for sending an SMS?

Original comment by RSutaria on 27 Apr 2012 at 10:32

from gsm-shield-arduino.

GoogleCodeExporter avatar GoogleCodeExporter commented on June 25, 2024
Perfect, configure it to use TX with pin number 4 and RX with pin number 5 (or 
vice versa).

Original comment by [email protected] on 27 Apr 2012 at 10:36

from gsm-shield-arduino.

GoogleCodeExporter avatar GoogleCodeExporter commented on June 25, 2024
Thanks. I set the two jumpers such that Tx is on 4 and Rx on 5. The GSM.cpp 
code also now has
# define _GSM_TXPIN_ 4
# define _GSM_RXPIN_ 5

But I still get DB:NO RESP. Anything else that I can try?

Original comment by RSutaria on 27 Apr 2012 at 11:09

from gsm-shield-arduino.

GoogleCodeExporter avatar GoogleCodeExporter commented on June 25, 2024
Did you try to change Tx on 5 and Rx on 4?

Original comment by [email protected] on 27 Apr 2012 at 11:11

from gsm-shield-arduino.

GoogleCodeExporter avatar GoogleCodeExporter commented on June 25, 2024
Yes. That also didn't work. I just realized that I'm running the Arduino+SIM900 
shield on the USB connected to a laptop. I just read over here:
http://arduino.cc/forum/index.php?action=printpage;topic=102239.0
that the current needed can be upto 2A which the USB cannot provide. 

Can that be the reason that the code is not working? I'm trying to find a DC 
power adapter which gives 9V - 2A power supply (don't have one handy right 
now). Will try out the code again after connecting to an external power supply 
too.

Original comment by RSutaria on 27 Apr 2012 at 11:55

from gsm-shield-arduino.

GoogleCodeExporter avatar GoogleCodeExporter commented on June 25, 2024
Oh yes, It can be! Without external source it doesn't work.

Original comment by [email protected] on 27 Apr 2012 at 12:00

from gsm-shield-arduino.

GoogleCodeExporter avatar GoogleCodeExporter commented on June 25, 2024
A quick update on this- this library (v GSM_GPRS_IDE100_v309) is working fine 
with the IComSat SIM 900. It was a naive mistake on my part as I had not 
connected the correct power supply for the shield. I got a 9V/2A DC power 
supply and now the library is working perfectly well. Thanks martines... for 
all your timely assistance!
It seems someone else on the arduino.cc forum was also facing a similar problem:
http://arduino.cc/forum/index.php/topic,102785.0.html

Have replied there too with a few more details.

Original comment by RSutaria on 29 Apr 2012 at 7:26

from gsm-shield-arduino.

GoogleCodeExporter avatar GoogleCodeExporter commented on June 25, 2024
Thank you! For update e for good feedback :)
Great job for Arduino's forum. It's important the help of yours :)
For other problems, I'm here.

Original comment by [email protected] on 30 Apr 2012 at 2:22

from gsm-shield-arduino.

GoogleCodeExporter avatar GoogleCodeExporter commented on June 25, 2024
The change for this is done now.

Original comment by [email protected] on 5 May 2012 at 7:20

  • Changed state: Fixed

from gsm-shield-arduino.

GoogleCodeExporter avatar GoogleCodeExporter commented on June 25, 2024
hi am using Arduino duemolenove and SIM900, but i still have problem , i 
followed some of the posts such as:"A quick update on this- this library (v 
GSM_GPRS_IDE100_v309) is working fine with the IComSat SIM 900. It was a naive 
mistake on my part as I had not connected the correct power supply for the 
shield. I got a 9V/2A DC power supply and now the library is working perfectly 
well." i am using arduino1.0 version. but when i appload GSM.cpp, i cant 
compile it gives me ERROR "class GSM does not have any feild named"_cell" so 
pls help. and i am running out of time. thanks

Original comment by [email protected] on 25 May 2012 at 8:04

from gsm-shield-arduino.

GoogleCodeExporter avatar GoogleCodeExporter commented on June 25, 2024
I need more information. Please open a new issue and follow the step to report 
a problem, so I can hekp you.
Marco

Original comment by [email protected] on 25 May 2012 at 9:13

from gsm-shield-arduino.

GoogleCodeExporter avatar GoogleCodeExporter commented on June 25, 2024
ok,first i am using arduino duemolenovo and SIM900 GSM sheil with 
arduino_0023,and library (GSM_GPRS_IDE100_v309)my aim is to send sms from 
cellphone and controll stepper motor and give a feedback response. to do that i 
am testing some of the library code such as GSM.cpp , i give the baord 9v 
DC,follwing some of these installation 
http://iteadstudio.com/store/images/produce/Shield/IComSat/icomsat_DS1.2.pdf
so the prblem is when ever i run the code it gives me an error which says 
"class GSM does not have any feild named"_cell" so how to solve this.thanks

Original comment by [email protected] on 27 May 2012 at 3:12

from gsm-shield-arduino.

GoogleCodeExporter avatar GoogleCodeExporter commented on June 25, 2024
Please open a new issue. It's important to keep in order.

Original comment by [email protected] on 27 May 2012 at 11:51

from gsm-shield-arduino.

GoogleCodeExporter avatar GoogleCodeExporter commented on June 25, 2024
This issue section is not longer supported.
Please check the support page www.gsmlib.org 

Original comment by [email protected] on 6 Jul 2013 at 11:27

from gsm-shield-arduino.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.