lingeshbarani / gsm-shield-arduino

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

GSM module does not turning ON #14

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1.
2.
3.

What is the expected output? 
GSM Shield testing.
DB:NO RESP
DB:ELSE
DB:ELSE
DB:CORRECT BR

GPS module has to become power on by GSM_ON pin if NO RESP

What do you see instead?
GSM Shield testing.
DB:NO RESP
DB:NO RESP
DB:NO RESP
...

What version of the product are you using? On what operating system?
#define GSM_LIB_VERSION 308

Please provide any additional information below.
There in no pins initialisation at int GSM::begin(long baud_rate)
pinMode(GSM_ON, OUTPUT);               
pinMode(GSM_RESET, OUTPUT);            

Original issue reported on code.google.com by far...@gmail.com on 17 Mar 2012 at 8:14

GoogleCodeExporter commented 8 years ago
The pins' initialization is in the GSM.cpp
Decomment the appropriate lines if you're using pin 4 and 5 (standard version) 
or 2 and 3 (new upcoming version)
Let me know.

Marco

Original comment by martines...@gmail.com on 18 Mar 2012 at 1:20

GoogleCodeExporter commented 8 years ago

Original comment by dmg...@gmail.com on 18 Mar 2012 at 2:46

GoogleCodeExporter commented 8 years ago
> pinMode(GSM_ON, OUTPUT);               
> pinMode(GSM_RESET, OUTPUT);

He right, I wrote you email in Jan, that you add this lines in project...

Original comment by dmg...@gmail.com on 18 Mar 2012 at 3:07

GoogleCodeExporter commented 8 years ago
Ok, I missed it and the email. Thank you. I've added these lines right now. But 
I never had problems for this issue.

Original comment by martines...@gmail.com on 18 Mar 2012 at 8:51

GoogleCodeExporter commented 8 years ago
In some variants it is may work not properly.
For example, set GSM_ON on pin 13 (with LED), and see result with and without 
this command.

Original comment by dmg...@gmail.com on 19 Mar 2012 at 6:06

GoogleCodeExporter commented 8 years ago
int softpowerbutton = 6;  // elec freaks shield's soft power button attached to 
digital 6 pin

void setup()
{
  pinMode(softpowerbutton, OUTPUT);
}

void loop()
{
  digitalWrite(ledPin, HIGH);   // push to button
  delay(1000);
  digitalWrite(ledPin, LOW);
}

Original comment by taylanek...@gmail.com on 22 Sep 2012 at 9:48

GoogleCodeExporter commented 8 years ago
also soft reset button attached to the digital pin5

Original comment by taylanek...@gmail.com on 22 Sep 2012 at 9:49

GoogleCodeExporter commented 8 years ago

Original comment by martines...@gmail.com on 11 Dec 2012 at 5:01

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