vthh94 / gsm-shield-arduino

Automatically exported from code.google.com/p/gsm-shield-arduino
0 stars 0 forks source link

can't connect #75

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?

1. plug in ext psu
2. download gprslibrary_sms example
3. run serial monitor

What is the expected output? What do you see instead?

expect to see sms sent

What version of the product are you using? On what operating system?

sim900
http://www.open-electronics.org/gsm-gps-shield-for-arduino/

Please provide any additional information below.

debug output:
GSM Shield testing.
ATT: 
OKRIC:  ÿ
ATT: 
OKRIC:  ÿ
ATT: 
OKRIC:  ÿ
ATT: 
OKRIC:  ÿ
ATT: 
OKRIC:  ÿ
DB:ELSE
ATT: 
OKRIC:  ÿ
ATT: 
OKRIC:  ÿ
ATT: 
OKRIC:  ÿ
ATT: 
OKRIC:  ÿ
ATT: 
OKRIC:  ÿ
DB:ELSE
ATT: 
OKRIC:  ÿ
ATT: 
OKRIC:  ÿ
ATT: 
OKRIC:  ÿ
ATT: 
OKRIC:  ÿ
ATT: 
OKRIC:  ÿ
DB:ELSE
ATT: 
OKRIC:  ÿ
ATT: 
OKRIC:  ÿ
ATT: 
OKRIC:  ÿ
ATT: 
OKRIC:  ÿ
ATT: 
OKRIC:  ÿ
ATT: 
OKRIC:  ÿ
ATT: 
OKRIC:  ÿ
ATT: 
OKRIC:  ÿ
ATT: 
OKRIC:  ÿ
ATT: 
OKRIC:  ÿ
DB:DIFF RESP
ATT: 
OKRIC: ÿ
ATT: 
OKRIC: ÿ
ATT: 
OKRIC: ÿ
ATT: 
OKRIC: ÿ
ATT: 
OKRIC: ÿ
DB:NO BR
ATT: 
OKRIC: ü
ATT: 
OKRIC: ü
ATT: 
OKRIC: ü
ATT: 
OKRIC: ü
ATT: 
OKRIC: ü
DB:NO BR
ATT: 
OKRIC: ø
ATT: 
OKRIC: ø
ATT: 
OKRIC: ø
ATT: 
OKRIC: ø
ATT: 
OKRIC: ø
DB:NO BR
ATT: 
OKRIC:  ÿ
ATT: 
OKRIC:  ÿ
ATT: 
OKRIC:  ÿ
ATT: 
OKRIC:  ÿ
ATT: 
OKRIC:  ÿ
DB:NO BR
ATT: 
OKRIC: I    ÿ
ATT: 
OKRIC: I    ÿ
ATT: 
OKRIC: I    ÿ
ATT: 
OKRIC: I    ÿ
ATT: 
OKRIC: I    ÿ
DB:NO BR
ATT: 
OKRIC: I›þ
ATT: 
OKRIC: I›þ
ATT: 
OKRIC: I›þ
ATT: 
OKRIC: I›þ
ATT: 
OKRIC: I›þ
DB:NO BR
ATT: 
OKRIC: )Ò4þ
ATT: 
OKRIC: )Ò4þ
ATT: 
OKRIC: )Ò4þ
ATT: 
OKRIC: )Ò4þ
ATT: 
OKRIC: )Ò4þ
DB:NO BR
ATT: 
OKRIC:  ÿ
ATT: 
OKRIC:  ÿ
ATT: 
OKRIC:  ÿ
ATT: 
OKRIC:  ÿ
ATT: 
OKRIC:  ÿ
DB:NO BR

status=IDLE

Original issue reported on code.google.com by matthewv...@gmail.com on 25 Apr 2013 at 12:45

GoogleCodeExporter commented 8 years ago
5I've now tried removing the atmega328 from the arduino socket, powering up the 
board by momentarily touching 3.3v to pin 8. The led flashes.

Then I ensure my terminal is 8 data bits, no parity, one stop bit, 9600 baud.

I wait for 20 seconds then send

AT\r (carriage return)

And get nothing back.

Original comment by matthewv...@gmail.com on 25 Apr 2013 at 2:47

GoogleCodeExporter commented 8 years ago
ok, forgot to switch pins rx and tx when removal of the atmega. So now have an 
OK after AT.

Original comment by matthewv...@gmail.com on 25 Apr 2013 at 3:13

GoogleCodeExporter commented 8 years ago
ok, forced the sim900 to 4800 baud and now the demo program works. So for some 
reason the autobauding doesn't work or had changed on this module.

Original comment by matthewv...@gmail.com on 25 Apr 2013 at 3:30

GoogleCodeExporter commented 8 years ago
Thanks for your experience!!!
Marco

Original comment by martines...@gmail.com on 27 Apr 2013 at 9:58

GoogleCodeExporter commented 8 years ago
Hi all.
(1) Hardware:
I'm using TiDiGino
http://www.futurashop.it/allegato/7100-FT924M.asp?L2=CONTROLLI%20REMOTI%20GSM&L1
=MODULI%20GSM%20E%20SISTEMI%20GPS&L3=&cd=7100-FT924M&nVt=&d=138,00
received a week ago.

(2) Software:
BETA_GSM_GPRS_GPS_IDE100_v305.zip

using sketch GSM_GPRSLibrary_SMS.ino

and have the same identical problem 
Reported by matthewv...@gmail.com, Apr 25, 2013

  //Serial connection.
  Serial.begin(9600);
  Serial.println("GSM Shield testing.");

  if (gsm.begin(2400)){
     ...

I never reach READY status.

PS where can I found DebugPrint to avoid a series of errors like:
D:\Arduino\arduino-1.5.2\libraries\GSMSHIELD/GSM.cpp:573: undefined reference 
to `GSM::DebugPrint(char const*, unsigned char)'
and understand where is the problem on Hardware or on Software?

Original comment by elleroro...@gmail.com on 16 May 2013 at 5:04

GoogleCodeExporter commented 8 years ago
TiDiGino is not supported yet.
We're going to make this lib compatible with it soon! :)
You can find the debug on GSM.cpp on the first lines.
You should remove first '//' from //define DEBUG_ON
to have define DEBUG_ON
and re-upload the lib.

Original comment by martines...@gmail.com on 16 May 2013 at 5:11

GoogleCodeExporter commented 8 years ago
This is not a good new for me.

Anyway one more question: where can I found DebugPrint?

I have enabled DEBUG_ON but the message: 
D:\Arduino\arduino-1.5.2\libraries\GSMSHIELD/GSM.cpp:573: undefined reference 
to `GSM::DebugPrint(char const*, unsigned char)'
remains.

Where can I found DebugPrint if is not defined in GSM.cpp? 

Thanks in advance.

Original comment by elleroro...@gmail.com on 17 May 2013 at 7:39

GoogleCodeExporter commented 8 years ago
Sorry the right file is GSM.h line 20.
Try to redownload the lib and modify only the 20th line of GSM.h

Marco

Original comment by martines...@gmail.com on 25 May 2013 at 10:21

GoogleCodeExporter commented 8 years ago
This issue section is not longer supported.
Please check the support page www.gsmlib.org 

Original comment by martines...@gmail.com on 6 Jul 2013 at 11:27